Mini Coding Agent
- Source
- magazine.sebastianraschka.com
- Publisher
- Sebastian Raschka
- Author
- Sebastian Raschka, PhD
- Date

Context
A becomes useful by connecting a model's suggestions to actions and feedback. Sebastian Raschka's Mini Coding Agent explanation describes the surrounding software, often called a harness, that supplies project and executes tools.
The model requests an action in a defined format. The harness checks the request, handles any required approval, runs the tool and returns the result to the model. That loop lets a coding session inspect files, make changes and respond to test errors. It explains why the surrounding application matters: access to the repository and the consequences of previous actions shape what the model can do next.
- The vocabulary matters. The agent is the decision loop of observe, inspect, choose, act; the harness is the software scaffold around it that assembles prompts, exposes tools, tracks file state, and manages permissions.
- Before doing anything the agent builds a small workspace summary of repo root, branch, status, and files like or README, because 'fix the tests' is not self-contained until you know which test command this project uses.
- Rebuilding the whole prompt every turn throws away the provider's prompt cache. Split it into a stable prefix of rules, tool descriptions, and workspace facts, then append only the changing transcript and request.
- Raschka's bet: drop a strong open-weight model like GLM-5 into a Codex-quality harness and it would land near GPT-5.4, because vanilla model capabilities have converged and the scaffold now carries most of the difference.
- Delegation is its own building block. Bounded subagents take a scoped task and return just the result, which keeps the main loop's context from filling with the details of a side errand.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
- Git and version control — A system for recording and comparing changes to a codebase.
- Repository instructions — Versioned guidance that tells agents how a repository is structured and verified.
“the LLM is the engine, a reasoning model is a beefed-up engine (more powerful, but more expensive to use), and an agent harness helps us the model.”
“So the tricky design problem is not just how to spawn a subagent but also how to bind one :).”





