Minimal and readable coding agent harness implementation in Python to explain the core components of coding agents.
About mini-coding-agent
mini-coding-agent is a minimal, readable coding agent harness in Python by Sebastian Raschka, written to explain the core components of coding agents. It uses only the standard library, according to one curated listing.
His article Components of A Coding Agent frames the model as the engine and the harness as the software around it, and lists the parts: live repository context such as branch and status, prompt shape and cache reuse, tool access and use, minimising context bloat, structured session memory and delegation to bounded subagents. In the harness the model emits a structured action, which the harness validates, checks paths for, asks approval for when needed, runs and feeds back.
It runs with uv or directly with Python, and saves sessions in the workspace. It is a teaching tool rather than a replacement for tools such as Claude Code or Codex.
Key features
- Minimal Python coding agent harness
- Standard library only
- Explains live context, tools and memory
- Validated tool actions with approvals
- Bounded subagents
- Saves sessions in the workspace
Links
All content and agents from mini-coding-agent
Frequently asked questions about mini-coding-agent
- What is mini-coding-agent?
- Minimal and readable coding agent harness implementation in Python to explain the core components of coding agents. It is listed on botshub under coding agents.
- Is mini-coding-agent free or open source?
- mini-coding-agent is tagged as open source on botshub. Check the official site for current terms.
- What can mini-coding-agent do?
- Key features include minimal Python coding agent harness, standard library only, explains live context, tools and memory, validated tool actions with approvals and bounded subagents.
- What are alternatives to mini-coding-agent?
- Other coding agents on botshub include Grok Build, ZCode, Agent QA and agent-manager. See all alternatives to mini-coding-agent.
