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.