Who it is forA developer new to agents who finds big frameworks too opaque to learn from.
The problemLarge agent frameworks hide the core loop under layers of abstraction.
The outcomeA working mental model of runtime, tools, policy and audit state.
What you need first
- Python 3.11
- Ollama (README example pulls qwen3.5:9b) or a Chat Completions-compatible API
Steps
- Clone the repo and install it in a venv
- Run the demo with
python examples/web_demo.py - Read the runtime, tools and policy modules
- Change a budget in agent.toml and rerun to see the effect
Prompt for your agent
Clone MuzeAnisichael/minimal-local-agent, run `python examples/web_demo.py`, and explain the loop from host to runtime to tools to SQLite state. Verify your explanation against the source files you cite.
Caveat. The web UI is currently in Chinese.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for MuzeAnisichael/minimal-local-agent and "Learn how an agent loop works from a small codebase"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer