# MiniCode

A lightweight, Claude Code-like terminal coding assistant built for learning and experimentation, implementing a compact agent loop, tool calling and a terminal interface.

MiniCode is a terminal-first coding assistant built around a practical agent loop: it accepts a user request, inspects the workspace, calls tools when needed, reviews file changes before writing them, and returns a final response in the same terminal session. The project keeps its control flow, tool model and terminal-interface behavior intentionally compact so they stay easy to read and extend, which the maintainers frame as being useful for learning and for building custom tooling rather than for large-scale production use.

It supports up to three concurrent read-only sub-agents while the root agent retains sole ownership of code changes, and keeps an in-memory todo plan shared across turns of a session, along with a long-session context system that handles usage accounting, automatic compaction and context collapse.

The project is implemented in TypeScript, with additional Rust, Python, Go and Java ports maintained by different contributors, and is released under the MIT license.

Website: https://liumengxuan04.github.io/MiniCode/
