Skip to main content

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

Metadata

Release files for mk-agentkit 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mk-agentkit 0.1.0
File Size Uploaded Provenance Actions
mk_agentkit-0.1.0.tar.gz 3.5 kB Without provenance Details for mk_agentkit-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mk-agentkit 0.1.0
File Interpreter ABI Platform Actions
mk_agentkit-0.1.0-py3-none-any.whl Python 3 none any Details for mk_agentkit-0.1.0-py3-none-any.whl

Total release size: 7.0 kB

Release files / mk_agentkit-0.1.0.tar.gz

Download URL mk_agentkit-0.1.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ed7937974abfdf2e4102ffe99b111d271120f81170838d517abc3f05bf1cf6a0
BLAKE2b-256 checksum
How to use checksums
fdad4c596933ec7551eb64f002831808d34d28d59c38536d810e3b2adbe8be65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / mk_agentkit-0.1.0-py3-none-any.whl

Download URL mk_agentkit-0.1.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e58de7ccfa95d3bbad4d88d2bdff8e0a706e19f674939afd2099f85519be854
BLAKE2b-256 checksum
How to use checksums
af31bfb2e49a350223faea24976af51d399a9133cae4615a54e07273100d246e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for mk-agentkit 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page