rasbt/mini-coding-agent
A minimal Python implementation of a coding agent harness demonstrating six core components: workspace context, prompt caching, structured tools, context management, memory, and bounded delegation.

This repository provides a readable, standalone coding agent implementation designed to illustrate the fundamental building blocks of agent systems. It implements a local agent loop with workspace snapshot collection, stable prompt management with cache reuse, and structured tools with input validation and approval gates for risky operations. The agent maintains both a durable transcript and a smaller working memory to support session resumption, and uses bounded delegation to control task decomposition. The model backend currently runs on Ollama.
Frequently asked
- What is rasbt/mini-coding-agent?
- A minimal Python implementation of a coding agent harness demonstrating six core components: workspace context, prompt caching, structured tools, context management, memory, and bounded delegation.
- Is mini-coding-agent open source?
- Yes — rasbt/mini-coding-agent is open source, released under the Apache-2.0 license.
- What language is mini-coding-agent written in?
- rasbt/mini-coding-agent is primarily written in Python.
- How popular is mini-coding-agent?
- rasbt/mini-coding-agent has 1k stars on GitHub.
- Where can I find mini-coding-agent?
- rasbt/mini-coding-agent is on GitHub at https://github.com/rasbt/mini-coding-agent.