Metadata-Version: 2.4
Name: mk-agentkit
Version: 0.1.0
Summary: The agent reliability stack in one install: agentfit + agentguard + agentsnap + agentvet + agentcast (Python ports).
Project-URL: Homepage, https://github.com/MukundaKatta/agentkit-py
Project-URL: Issues, https://github.com/MukundaKatta/agentkit-py/issues
Project-URL: Source, https://github.com/MukundaKatta/agentkit-py
Project-URL: JS sibling, https://github.com/MukundaKatta/agentkit
Author-email: Mukunda Katta <mukunda.vjcs6@gmail.com>
License: MIT
License-File: LICENSE
Keywords: agent,agentcast,agentfit,agentguard,agentkit,agentsnap,agentvet,llm,reliability
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: agentcast-py>=0.1.0
Requires-Dist: agentfit-py>=0.1.0
Requires-Dist: agentguard-firewall>=0.1.0
Requires-Dist: agentsnap-py>=0.1.0
Requires-Dist: agentvet-py>=0.1.0
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == 'dev'
Description-Content-Type: text/markdown

# mk-agentkit

**The agent reliability stack in one install** — Python.

```bash
pip install mk-agentkit
```

```python
from agentkit import fit, policy, check, record, vet, cast
```

## What's in the box

| Symbol | From | What it does |
|---|---|---|
| `fit`, `count`, `OverBudgetError` | [`agentfit-py`](https://pypi.org/project/agentfit-py/) | Fit messages into a token budget |
| `policy`, `check`, `PolicyViolation` | [`agentguard-firewall`](https://pypi.org/project/agentguard-firewall/) | Network-egress firewall for tools |
| `record`, `trace_tool`, `expect_snapshot`, `diff` | [`agentsnap-py`](https://pypi.org/project/agentsnap-py/) | Snapshot tests for tool-call traces |
| `vet`, `validate`, `vet_adapters`, `ToolArgError` | [`agentvet-py`](https://pypi.org/project/agentvet-py/) | Validate tool args before execution |
| `cast`, `extract_json`, `cast_adapters`, `CastError` | [`agentcast-py`](https://pypi.org/project/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`](https://github.com/MukundaKatta/agentkit).

## License

MIT
