zerostack is a minimal AI coding agent written in Rust, designed for low resource usage (~8MB RAM, 8.9MB binary). It supports multiple LLM providers (OpenRouter, OpenAI, Anthropic, Gemini, Ollama), file and bash tools with a granular permission system, session management with auto-compaction, a crossterm-based terminal UI, MCP server support, and an experimental iterative loop system for long-horizon tasks. It also integrates git worktrees for branch-per-task workflows and includes built-in system prompt modes (code, plan, review, debug, etc.) switchable at runtime.

6m read timeFrom crates.io
Post cover image
Table of contents
FeaturesPerformanceInstallationQuick startPrompts systemPermission systemSlash commandsSession managementLoop systemGit worktrees integrationSupported providersLicense
206 Impressions