Zap
About
Zap is a Rust, terminal-first coding agent distributed as a single statically-linked binary with a millisecond cold start and roughly 20 MB idle memory, designed around eliminating prompt bloat. Startup builds a tree-sitter-plus-SQLite symbol index that powers code_map, find_definition, find_references, ripple_analysis, and LSP-backed diagnostics across Rust, Python, TypeScript, JavaScript, Go, and Java, with ripgrep as fallback. Its prompt architecture is skill-first: 23 built-in markdown skills inject only on keyword triggers, compatible with the SKILL.md standard and importable from Claude Code, Cursor, and Kiro. MCP servers load lazily via mcp_connect() so unused tool schemas cost zero tokens, and per-task model routing can split coding and review across different models. Security features include permission modes, Docker/Podman shell sandboxing, a 25-pattern secret scanner, full audit logging, and per-edit undo.