← all repositories

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.

911 stars Python AgentsCoding Assistants
mini-coding-agent
Velocity · 7d
+14
★ / day
Trend
steady
star history

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.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.