by gi-dellav
Lightweight coding agent written in Rust, optimized for memory footprint and performance
# Add to your Claude Code skills
git clone https://github.com/gi-dellav/zerostackGuides for using ai agents skills like zerostack.
Last scanned: 6/1/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-06-01T09:25:57.044Z",
"npmAuditRan": true,
"pipAuditRan": true
}
Minimal coding agent written in Rust, inspired by pi and opencode.
blogposts: what we built in 2 weeks memory design subagents design xavier's memory analysis
note: Want to support? Consider donating here; if you are a company interested in sponsoring zerostack, contact me here.
code, plan, review, debug, etc.) to tailor the agent's behavior to the task without having to manage Skills./worktree to move the agent from one worktree to another.settings.json schema largely compatible with Claude Code hooksNOTE: Windows support is not tested is any way, but feel free to try and open an issue if you encounter any bugs!
zerostack is one of the smallest and most performant coding agents on the market.
You can now read a complete Get Started guide for zerostack here!
curl -fsSL https://raw.githubusercontent.com/gi-dellav/zerostack/main/install.sh | bash
Or pick a tarball manually from GitHub Releases.
# Default: loop, git-worktree, mcp, subagents, archmd, status-signals, multithread
cargo install zerostack
# With all features
cargo install zerostack --all-features
# With specific features
cargo install zerostack --features acp,memory,hooks,advisor
brew tap gi-dellav/tap
brew trust gi-dellav/tap # required for Homebrew 6.0.0+
brew install zerostack
# brew install multistack # Run this to also install multistack (parallel agent manager)
Run directly with nix-run:
$ nix-run https://github.com/gi-dellav/zerostack/archive/refs/heads/main.tar.gz
Add to profile:
$ nix profile add --file https://github.com/gi-dellav/zerostack/archive/refs/heads/main.tar.gz
Add as an overlay to your system/project:
let
pkgs = import nixpkgs {
overlays = [
# src thru input pinning mechanism, or use builtins.fetchTarball
(import "${zerostack-src}/nix/overlay")
];
};
in
pkgs.zerostack
Once installed, run /prompt autoconfig inside zerostack to explore the documentation and configure the tool interactively.
note: If you have questions or you want to collaborate on the project, please join the dedicated Matrix chatroom.
If you want to orchestrate multiple zerostack agents from the terminal, also install multistack.
Install bubblewrap for --sandbox,
which runs every bash command inside an isolated environment to protect your
system from accidental or malicious damage:
# Debian/Ubuntu
apt install bubblewrap
# Fedora
dnf install bubblewrap
# Arch
pacman -S bubblewrap
There is also support for zerobox as an alternative sandbox backend.
# Set your API key (OpenRouter is default)
export OPENROUTER_API_KEY="[api_key]"
# Interactive session (default prompt: code)
zerostack
# Monochrome TUI
zerostack --no-color
# One-shot mode
zerostack -p "Explain this project"
# Continue last session
zerostack -c
# Explicit provider/model
zerostack --provider openrouter --model deepseek/deepseek-v4-flash
See docs/CONFIG.md for config file location, accepted keys, provider aliases, permission rules, and MCP server configuration.
You can run /prompt autoconfig in order to use a specialized agent that allows to navigate the documentation and customize your zerostack setup.
zerostack includes a set of built-in system prompts that change the agent's behavior and tone.
The idea is to build a complete suite of prompts that can fully substitute skills like superpower or the Claude's official skills.
You can switch between different prompts or list all registered prompts using /prompt.
Built-in prompts:
| Prompt | Description |
|---|---|
code (default) |
Coding mode with full file and bash tool access, TDD workflow |
plan |
Planning-only mode — explores and produces a plan without writing code |
review |
Code review mode — reviews for correctness, design, testing, and impact |
debug |
Debug mode — finds root cause before proposing fixes |
ask |
Read-only mode — only read/grep/find_files permitted, no writes or bash |
brainstorm |
Design-only mode — explores ideas and presents designs without code |
frontend-design |
Frontend design mode — distinctive, production-grade UI |
review-security |
Security review mode — finds exploitable vulnerabilities |
simplify |
Code simplification mode — refines for clarity without changing behavior |
write-prompt |
Prompt writing mode — creates and optimizes agent prompts |
refactor |
Refactoring mode — restructures code for design and maintainability while preserving behavior |
autoconfig |
Configuration mode — reads docs and edits your config/prompts, writes no code |
orchestrator |
Orchestration mode — combines direct tool use with parallel zerostack subprocess invocations for heavier work |
write-text |
Prose-writing mode — drafts and reviews non-code writing (docs, posts, emails) |
You can also create custom prompts by placing markdown files in
$XDG_CONFIG_HOME/zerostack/prompts/ and referencing them by name.
Additionally, the agent automatically loads AGENTS.md or CLAUDE.md from the
project root or any ancestor directory, injecting their contents into the
system prompt. When enabled (feature archmd), ARCHITECTURE.md is also loaded
the same way, providing high-level design context to speed up exploration.
Use -n / --no-context-files to disable all context file loading.
When brainstorm, plan, or code finishes, zerosta
zerostack is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by gi-dellav. Lightweight coding agent written in Rust, optimized for memory footprint and performance. It has 1,466 GitHub stars.
Yes. zerostack passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/gi-dellav/zerostack" and add it to your Claude Code skills directory (see the Installation section above).
zerostack is primarily written in Rust. It is open-source under gi-dellav on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh zerostack against similar tools.
No comments yet. Be the first to share your thoughts!