The agent reliability stack in one install: agentfit + agentguard + agentsnap + agentvet + agentcast (Python ports).
Project description
mk-agentkit
The agent reliability stack in one install — Python.
pip install mk-agentkit
from agentkit import fit, policy, check, record, vet, cast
What's in the box
| Symbol | From | What it does |
|---|---|---|
fit, count, OverBudgetError |
agentfit-py |
Fit messages into a token budget |
policy, check, PolicyViolation |
agentguard-firewall |
Network-egress firewall for tools |
record, trace_tool, expect_snapshot, diff |
agentsnap-py |
Snapshot tests for tool-call traces |
vet, validate, vet_adapters, ToolArgError |
agentvet-py |
Validate tool args before execution |
cast, extract_json, cast_adapters, CastError |
agentcast-py |
Structured-output enforcer |
adapters from agentvet and agentcast are exposed as vet_adapters and cast_adapters to avoid the name collision.
Pipeline
The libraries compose into a natural agent reliability pipeline — fit → guard → snap → vet → cast:
fit messages → fit a chat history into the model's budget
firewall fetches → block tool fetches outside the allowlist
expect_snapshot → diff this run's tool calls against a baseline
vet args → validate args before each tool runs
cast output → validate the model's structured response
You don't have to use all five — pick the ones you need.
Sibling
JS / TypeScript users: @mukundakatta/agentkit.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mk_agentkit-0.1.0.tar.gz.
File metadata
- Download URL: mk_agentkit-0.1.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed7937974abfdf2e4102ffe99b111d271120f81170838d517abc3f05bf1cf6a0
|
|
| MD5 |
6c20cf2cc1301b5445535324ccf112d8
|
|
| BLAKE2b-256 |
fdad4c596933ec7551eb64f002831808d34d28d59c38536d810e3b2adbe8be65
|
File details
Details for the file mk_agentkit-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mk_agentkit-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5e58de7ccfa95d3bbad4d88d2bdff8e0a706e19f674939afd2099f85519be854
|
|
| MD5 |
f67d06a7d8c452c494088204372eea33
|
|
| BLAKE2b-256 |
af31bfb2e49a350223faea24976af51d399a9133cae4615a54e07273100d246e
|