Mlx-code maps agent reasoning directly onto Git primitives
mlx-code `v0.0.27` (alpha) is a coding agent that uses Git commits, branches, and worktrees as its native state machine, storing full conversation and execution history inside the commit graph.
Score breakdown
By storing the complete agent state history inside the Git commit graph, mlx-code makes agent sessions inspectable and resumable with standard Git tooling instead of a proprietary database.
- 01Current version is `v0.0.27`, status is ALPHA.
- 02Git commits store file changes together with the conversation and execution history that produced them.
- 03Parallel Git worktrees host multiple isolated agents concurrently, each as a separate TUI tab.
mlx-code `v0.0.27` is an alpha coding agent built around the idea that Git is a state machine, not merely a backup tool. Rather than storing agent state in an opaque database, the tool maps each execution step to a Git commit that bundles file changes together with the conversation history that produced them. This means the full agent session history is inspectable with standard Git tooling — `git diff` shows what changed at each step, and `mlc --resume abc1234` rewinds the agent to any prior snapshot cleanly.
The architecture uses Git worktrees to run multiple isolated agents concurrently, each represented as a tab in a TUI interface backed by its own branch.
The architecture uses Git worktrees to run multiple isolated agents concurrently, each represented as a tab in a TUI interface backed by its own branch. The `/branch --rev N` command forks a new tab from any checkpoint into a fresh worktree, allowing divergent code designs to be explored without disturbing the active checkout. Agents can also spawn sub-agents recursively, and mid-session hot-swaps of agent configuration (e.g., `/clear --config reviewer.yaml`) are supported without losing active context. A library API is also provided, allowing programmatic construction of custom agent pipelines. Supported model backends include local `mlx-lm`, Gemini, Claude, Codex, and DeepSeek. The project is licensed under Apache 2.0.
Key facts
- 01Current version is `v0.0.27`, status is ALPHA.
- 02Git commits store file changes together with the conversation and execution history that produced them.
- 03Parallel Git worktrees host multiple isolated agents concurrently, each as a separate TUI tab.
- 04Agents can spawn sub-agents recursively.
- 05`mlc --resume abc1234` rewinds the agent to any prior snapshot state.
- 06Mid-session config swaps between roles (e.g., planner, coder, reviewer) are supported via `/clear --config`.
- 07Supported model backends include local `mlx-lm`, Gemini, Claude, Codex, and DeepSeek.
Topics
Summary and scoring are generated automatically from the original article. We always link back to the publisher and never republish images or paywalled content. Last processed Jun 17, 2026 · 10:39 UTC. How this works →