# Minimal Agent Framework

> Federico Jan’s small open-source Python agent framework (MAF).

- Canonical: https://starkslab.com/tools/minimal-agent-framework
- Kind: Agent framework
- Notes: 3 (2 tested) · Updated: 2026-11-24

## Guides

- [How an AI Agent’s Basic Control Loop Runs in Python](https://starkslab.com/notes/ai-agent-basic-control-loop-python-source-trace.md): Inspect one execution of Federico Jan's Minimal Agent Framework at a pinned commit. Follow a local file read/write task from scripted model actions through tool validation, dispatch, state updates and final output; use trace events, deliberate halts and replay to build a worksheet readers can apply to another agent repository. (Guide; tested; 2026-10-14)
- [The AI Developer Tools I Built and Open Sourced](https://starkslab.com/notes/ai-developer-tools-i-built-open-sourced.md): A map of the small AI developer tools I built and open sourced (x-scheduler, minimal-agent-framework, datafast-cli, trustmrr-cli), the adjacent tools that are not official core, and what they have in common. (Guide; 2026-05-09)
- [Build an AI Agent Framework in Python: MAF Loop, Tools, Traces](https://starkslab.com/notes/build-lightweight-ai-agent-framework-python.md): Build an AI agent framework in Python with MAF's one-loop runtime, typed tool schemas, JSONL traces, real API battle tests, and honest failure modes. (Guide; tested; 2026-03-08)

## Concepts in these notes

- [Build an AI agent](https://starkslab.com/learn/build-an-ai-agent.md)
- [Agent frameworks and SDKs](https://starkslab.com/learn/agent-frameworks.md)
- [Agent tracing and observability](https://starkslab.com/learn/agent-observability.md)
- [Reading an agent’s source](https://starkslab.com/learn/reading-agent-source.md)
- [CLI tools for agents](https://starkslab.com/learn/cli-tools-for-agents.md)

---

Starkslab index for agents: https://starkslab.com/llms.txt lists every page with its Markdown link.
