mini-coding-agent — Summary
mini-coding-agent is a minimal, zero-dependency Python coding agent by Sebastian Raschka (rasbt) designed explicitly as an educational reference implementation for understanding the six core components of coding agents. The entire agent lives in a single 400-line Python file (mini_coding_agent.py) with no external Python runtime dependencies beyond the standard library — it talks to Ollama's /api/generate endpoint directly. The six components are: (1) live repo context collection, (2) stable prompt shape with cache reuse, (3) structured tools with validation and approval gates, (4) context reduction and output management, (5) transcript/memory persistence with session resumption, and (6) delegation to bounded subagents. The agent ships a mini-coding-agent CLI entry point (via uv run), an interactive REPL with slash commands, approval modes (ask/auto/never), and session persistence under .mini-coding-agent/sessions/. The companion Substack tutorial "Components of a Coding Agent" is the primary documentation.
differs_from_seeds: mini-coding-agent is closest to agent-os in its minimalism (zero dependencies, markdown-first documentation) but is a fully runnable Python agent rather than a bash install script. Unlike every seed that targets Claude Code or another commercial AI tool, mini-coding-agent targets Ollama local models exclusively. The zero-dependency design (standard library only), single-file implementation, and explicit educational framing make it unique in the corpus — it is the only framework designed to be read cover-to-cover as a learning artifact, not just used as a tool.