Open Source · Built in Rust

Skill-first AI coding agent
built in Rust

Injects only the context your task needs. No prompt bloat. Single binary, no runtime.

Install cargo install zap-coding-agent

The Problem Every AI Coding Agent Has

Open any popular agent and inspect the raw request. You'll find the same wall of tokens sent on every turn — whether you're writing Java or React, fixing a typo or designing an architecture.

Gemini CLI OpenCode zap
Spring Boot request 4,096 tokens 2,003 tokens 1,889 tokens
React request 4,096 tokens 2,003 tokens 1,661 tokens
Prompts identical? ✅ Yes — same bytes ✅ Yes — same bytes ❌ No — different skill
Java conventions in prompt? ❌ None ❌ None ✅ 650 tokens
React conventions in prompt? ❌ None ❌ None ✅ 422 tokens

Gemini CLI sends the same 4,096-token prompt for both tasks. The word "java" does not appear anywhere in its 68,410-character prompt file.

Everything you need. Nothing you don't.

Six interlocking systems — each designed so every token in the context window earns its place.

🎯

Skill-First Context

Skills are markdown files injected surgically only when your message triggers them. A Rust question gets the Rust skill. A greeting costs 31 tokens, not 2,000.

Learn more →
🗂️

AST Code Index

Built with tree-sitter + SQLite. The model knows what already exists before deciding what to create — no duplicate files, no invented patterns.

Learn more →
🔍

Context Visibility

See exactly what's in the context window. Remove stale messages with /context drop — without starting a new session.

Learn more →

Single Binary

Written in Rust. No Python venv, no Node.js, no Docker. Cold start in milliseconds. Drop it on your PATH and it works.

Learn more →
🔌

Dynamic MCP Loading

MCP servers stay pending at startup. Tool schemas only enter context when explicitly needed — not 10,000 tokens dumped on every turn.

Learn more →
🌐

Multi-Provider

Works with Claude, Gemini, OpenAI, DeepSeek, and local models via LM Studio or Ollama. Switch providers mid-session with /provider.

Learn more →

Get Started in 60 Seconds

Pick your platform. No runtime dependencies — just a single binary.

1

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Restart your terminal, or run source ~/.cargo/env.

2

Install zap

cargo install zap-coding-agent
3

Set your API key

# Add to ~/.zshrc export ANTHROPIC_API_KEY=sk-ant-...

Or configure Gemini, OpenAI, or a local model in ~/.agent.toml.

4

Run

cd your-project && zap

Type /init on first use to let zap learn your codebase.

Prefer a pre-built binary? Download from releases ↗

1

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source ~/.cargo/env
2

Install zap

cargo install zap-coding-agent
3

Set your API key

# Add to ~/.bashrc or ~/.zshrc export ANTHROPIC_API_KEY=sk-ant-...
4

Run

cd your-project && zap

Pre-built binary available on the releases page ↗

1

One-line install (PowerShell)

irm https://raw.githubusercontent.com/zap-coding-agent/zap-coding-agent/main/install.ps1 | iex

Downloads and installs the pre-built binary. No Rust required.

2

Set your API key

# PowerShell — add to $PROFILE for persistence $env:ANTHROPIC_API_KEY = "sk-ant-..."
3

Run

cd your-project; zap

Prefer Rust? cargo install zap-coding-agent works too — get Rust here ↗

Works with Claude Gemini OpenAI DeepSeek LM Studio Ollama

Ready to try it?

Open source, MIT licensed. Zero telemetry.