File size: 1,802 Bytes
3f2e104
505a9a4
 
 
 
3f2e104
924651d
548bc85
3f2e104
 
505a9a4
 
 
 
 
 
 
 
 
3f2e104
 
505a9a4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
title: The Agent Reliability Stack
emoji: πŸͺ‘
colorFrom: yellow
colorTo: gray
sdk: gradio
sdk_version: "5.49.1"
python_version: "3.12"
app_file: app.py
pinned: false
license: mit
short_description: "Live demo of fit, guard, snap, vet, cast β€” five small libs."
tags:
  - llm
  - agent
  - reliability
  - tool-use
  - structured-output
  - prompt-injection
---

# The Agent Reliability Stack β€” Live Demo

Five small, focused libraries that fix the boring problems every long-running AI agent eventually hits. Pure Python, zero runtime dependencies. BYO LLM.

Pick a tab to see what each library does against your own input β€” no install needed.

## What you can try

- **πŸͺŸ fit** β€” fit a chat history into a token budget (drop-oldest / drop-middle / priority)
- **πŸ›‘οΈ guard** β€” check URLs against a network-egress allowlist before any tool fetch
- **πŸ“Έ snap** β€” diff two tool-call traces, catch silent regressions
- **βœ… vet** β€” validate tool-call args before execution; LLM-friendly retry hints
- **🎯 cast** β€” extract JSON from messy LLM text and validate it against a shape

## Install

Pick the language you live in:

```bash
# Python
pip install mk-agentkit         # all five
pip install agentfit-py         # individual

# JavaScript / TypeScript
npm install @mukundakatta/agentkit   # all five
npm install @mukundakatta/agentfit   # individual
```

Or run them as MCP servers inside Claude Desktop / Cursor / Cline / Windsurf / Zed:

```bash
npx -y @mukundakatta/agentfit-mcp
```

## Links

- 🌐 Landing: <https://mukundakatta.github.io/agent-stack/>
- πŸ“¦ PyPI: [mukundakatta](https://pypi.org/user/mukundakatta/)
- πŸ“¦ npm: [@mukundakatta](https://www.npmjs.com/~mukundakatta)
- πŸ’» GitHub: [MukundaKatta](https://github.com/MukundaKatta)

## License

MIT.