MiniCode
About
MiniCode exists to be read: it reproduces the Claude Code interaction model — terminal session, tool calls, review-before-write edits, persistent sessions — in a codebase small enough to study and modify, and then makes the architecture portable by maintaining equivalent implementations in Rust, Python, Go, and Java alongside the TypeScript original. The agent loop supports multiple tool calls per turn, and up to three concurrent read-only subagents explore while the root agent retains sole ownership of writes. Tool results that would bloat context are offloaded to disk with a preview left in place, and context auto-compacts as sessions grow. MCP servers attach over stdio or HTTP, and skills are discovered from SKILL.md files for local capability extension. Configuration runs through Anthropic-compatible environment variables, so any Anthropic-API-compatible backend — including local proxies — works, with a mock mode for offline development. Developers use it as a reference implementation, a hackable base for custom tooling, and a compact daily-driver alternative.