SPAVN v0.2.34 · 5.2 MiB Rust Binary (2.4 MiB .tar.gz) · Zero Async Runtime · 3 Direct Crates

Autonomous Terminal Engineering.
Sub-Millisecond Rust Precision.

SPAVN ships as one 5.2 MiB native Rust binary (2.4 MiB compressed archive) with no async runtime and only three direct dependencies (serde, serde_json, ureq + rustls). Run sovereign local GPUs (llama-swap, llama.cpp, Ollama) or 30 BYOK cloud providers—backed by 6 deterministic harness gates, session-scoped model persistence, headless JSON scripting (-q / -j), and a flicker-free TUI.

macOS · Linux · Windows
$curl -fsSL https://spavn.dev/install.sh | sh
5.2MiB
Single Rust Binary (2.4 MiB .tar.gz Download)
~3.5ms
Cold Process Exec (vs ~480ms Node CLI)
3crates
serde · serde_json · ureq (Zero Async)
381tests
Unit + Integration + 26-Task spavn-eval Suite
spavn v0.2.34 — real terminal PTY capture
REAL IN-APP GIF
SPAVN Live In-App Autonomous Coding Session

Real captured terminal session: SPAVN inspects retry.py, renders an inline word-level diff via edit, runs unittest verification, and keeps the bottom status dock anchored throughout streaming.

Watch the Engine Work in Real Time.

Both captures below are recorded directly from the compiled spavn binary—showing autonomous tool cards, inline word-level diffs, unit-test verification gates, and instant keyboard-first menus.

spavn — ~/demo/payments (main)
LIVE LOOP
SPAVN autonomous bugfix turn: read, inline word-diff edit, and unit test verification

Autonomous Inspect → Surgical Edit → Test Gate

Instead of dumping opaque wall-of-text diffs, SPAVN collapses tool calls into compact timing cards, highlights exact character changes inline, and verifies behavior with real test execution before finishing.

01 Read Span 02 Word-Level Diff 03 Unittest Gate 04 Pinned HUD Dock
spavn — / palette · /model · /diff
37 COMMANDS
SPAVN interactive slash command palette, session-scoped /model switcher, and inline /diff viewer

Instant / Palette, Session-Scoped /model & /diff

Type / for live fuzzy command filtering across 37 built-in commands. Model switches stay isolated per terminal session while atomic 0600 lockfile writes protect multi-terminal workflows.

01 Fuzzy / Menu 02 Per-Session /model 03 Inline /diff 04 Atomic 0600 Config

Three Direct Dependencies. Zero Async Runtime.

No Tokio, no Electron, no Node plugin tree. Blocking OS threads + ureq + rustls produce a self-contained 5.2 MiB binary (2.4–2.7 MiB compressed across macOS, Linux, and Windows), scriptable headlessly via spavn -q -j and benchmarked end-to-end by spavn-eval across 26 real repository tasks.

[dependencies]
serde      = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
ureq       = { version = "3", default-features = false, features = ["rustls"] }

Unified /provider Hub & Frontier Model Catalog.

Type-to-filter across every menu, auto-scan local inference servers on localhost, enter masked BYOK keys (••••), and query live /v1/models endpoints without leaving the TUI.

spavn v0.2.34 — /provider & /model
╭─ 🔌 Select Model Provider (/provider)
│ 🔍 Filter: 5.5█ (Esc clears · ↑/↓ navigate)
├──────────────────────────────────────────────────
│ ❯ Anthropic Claude [✓ Ready] Sonnet 5.5 · Opus 5.5 · Fable 5.1
│ OpenAI [✓ Ready] GPT-6.1 Sol · GPT-6 Astra · 5.5
│ Local GPU Scan [4 Ports] :8000 MLX · :11434 Ollama · :1234
├──────────────────────────────────────────────────
│ 🔑 API Key: •••••••••••••••••••••••••••• (0600 secrets.env)
│ ✔ Live /v1/models probed: 14 models merged & persisted
╰──────────────────────────────────────────────────
/provider · /login · /byok ● Instant Hot-Swap (No Restart)
Anthropic Claude 1.0M CTX · 128K OUT

Native Anthropic Messages SSE protocol with extended thinking & prompt caching.

claude-sonnet-5-5 claude-opus-5-5 claude-fable-5-1 claude-haiku-5-5
OpenAI Frontier 1.05M CTX · 128K OUT

Direct Chat & Responses streaming with reasoning effort control (low/medium/high).

gpt-6.1-sol gpt-6-astra gpt-6.1-terra gpt-6-luna gpt-5.6-sol gpt-5.5
Google Gemini 1.0M CTX · AGENT SWE

Next-gen Gemini 4 & 3.8 long-horizon software engineering and multimodal models.

gemini-4-argon gemini-3.8-flash gemini-3.6-flash gemini-3.5-flash-lite
DeepSeek · GLM · Groq · Local UP TO 1.0M CTX

Open-weight frontier MoEs via API, Groq LPU, OpenRouter, or local Apple Silicon / CUDA.

deepseek-v4-pro deepseek-flash (V4.1) glm-5.3 qwen3.8-27b llama-swap / Ollama

Engineered to Outperform Every Scripting Harness.

Every subsystem in SPAVN is written from scratch in Rust—eliminating garbage collection pauses, terminal scrollback corruption, and vendor lock-in.

Synchronized Pinned Dock & Atomic Vision Pills

Wrapped in DEC ?2026h synchronized frame batches. Drop any screenshot into your terminal: SPAVN renders an inline iTerm2 preview (OSC 1337) and collapses the path into an atomic [🖼️ arch.png (184KB)] token that skips or deletes with a single Backspace.

╭─ 🔥 SOVEREIGN · 💻 CODE · 🟢 qwen3.6-35b-a3b-mtp │ ⠹ Thinking (1.8s)
│ 📥 #1: Queued · run cargo clippy and push to main [↑: Edit · Ctrl+X: Cancel]
│ ❯ [🖼️ Screenshot.png (235KB)] fix layout shift█

Local GPU (llama-swap) + Live /provider Hub

Zero subscriptions or middleman markup. Auto-scans local ports (11434, 1234, 8080, 8000), queries live /v1/models endpoints, and supports masked BYOK key entry (Claude 5.5 / Fable 5.1, GPT-6.1 / 5.5, Gemini 4 Argon / 3.8, DeepSeek V4, GLM-5.3) right inside /provider and /model.

🟢 qwen3.6-35b-a3b-mtp 58.4 tok/s · Local M3 Max
🟢 deepseek-r1-distill 74.1 tok/s · Local GPU Node
🔑 custom-byok-gateway 1M+ ctx · Direct Wire SSE

Verbatim /compact & 50% Local Window

Preserves every user directive verbatim across compactions so late constraints never vanish, scales local model retention to 50% of window, and replaces duplicate file reads with [superseded by later read].

╭─ 🗜️ Budget-Relative Compactor
148.2k → 11.4k tok · supersede_prune

Zero-Stop Compiler & Claim Gate

Runs cargo check / tsc --noEmit / py_compile / go vet after edits, tracks verification depth (None < Compile < Test < Runtime) before allowing success claims, and injects live project signatures.

⚡ Zero-Stop Gate + Live Signatures:
✔ cargo check · arity_map · 0 errors

Fuzzy Self-Heal edit & Stale Guard

Recovers from whitespace/indentation drift, auto-expands off-by-N line ranges (±25 lines), enforces FS_STALE_VERSION mtime checks on disk, and snapshots every write for instant /undo [N] rollback.

✔ fuzzy_self_heal · FS_STALE_VERSION · /undo

Canonical Repeat-Tool Breaker

Recursively canonicalizes JSON tool arguments (regardless of key ordering) and injects a transparent [SPAVN REPEAT-TOOL BREAKER] intervention after 2 identical calls to eliminate infinite loops.

⚡ Repeat-Tool Breaker:
canonical_args · turn_schema_trim

Real LSP Client, Worktree Sub-Agents & --rpc

Std-only LSP client (rust-analyzer, tsserver, pyright, gopls, clangd), up to 8 concurrent git worktree worker sub-agents, keyless web search fallback chain, and headless JSON-RPC 2.0 (--rpc).

{"jsonrpc":"2.0","method":"prompt"}
→ event: text_delta · tool_end · done

Symmetric SSH Fleet Radar

Prefix any file path or shell command with host:/path (e.g., m3:/opt/app or prod:/etc/nginx). SPAVN edits, searches, and verifies remote servers over SSH Multiplexing (ControlMaster) with zero agent installation.

● local · ● m3-gpu · ● telya-prod

Every Action Mapped to One Intuitive Key.

Identical behavior whether the agent is idle or actively streaming code (Queue / Steer intervention bar).

Visual Text Selection
Highlight & delete any span with Backspace
Shift + ← / →
Instant Clear Input
Wipe long multiline input in one keystroke
Esc
Delete Word / Image Pill
Atomically remove words or [🖼️ ...] pills
⌥ Option + Backspace
Edit Queued Message
Pop last queued prompt back into editor
↑ Up Arrow
Toggle Steer vs. Queue
Switch live interrupt vs. next-turn queue
Tab
Cycle Sovereignty Mode
Switch SAFE → AUTO → 🔥 SOVEREIGN
Shift + Tab

How SPAVN Compares to the Field.

Honest engineering comparison against leading terminal coding harnesses.

Capability ⚡ SPAVN v0.2.34 Oh-My-Pi (OMP) Claude Code OpenAI Codex CLI
Runtime & Footprint Native Rust (5.2 MiB / 2.4 MiB .tar.gz) Node.js / TS (~85 MB) Node.js Bundle (~110 MB) Rust / Hybrid
Cold Startup Latency ~3.5 ms ~320 ms ~480 ms ~15 ms
Local GPU (llama-swap / GGUF) ✔ First-Class + Auto-Retry ✔ Custom Providers ✖ Anthropic Cloud Only ◑ Basic OSS Flag
Inline Queued Message Preview & Edit ✔ Live #1 Row + ↑ Edit ✔ Steer / Follow-up ◑ Queue Only ✖ Blocking Input
Visual Text Selection (Shift+←/→) ✔ Idle & Busy Parity ✔ TUI Editor ✖ Basic Readline ✖ Basic Readline
Symmetric Remote SSH (host:/path) ✔ Native Multiplexed Fleet ✖ Local Shell Only ✖ Local Shell Only ✖ Local Shell Only
Context Compaction (/compact) ✔ Budget-Relative + Supersede Prune ✔ LLM Summarization ✔ LLM Summarization ◑ Truncation
Zero-Stop Compiler Gate & Stale-File Guard ✔ Built-in (FS_STALE_VERSION + Arity Map) ◑ Optional Hook ◑ Basic Read Check ✖ None
Fuzzy Self-Heal edit & Multi-Step /undo ✔ Whitespace Heal + ±25L Expand + /undo [N] ◑ Exact Match ◑ Exact Match ◑ Patch Only
Canonical Repeat-Tool Loop Breaker ✔ Sorted-JSON Detection + Auto-Hint ✖ None ✖ None ✖ None
Headless Scripting & Resumable JSONL ✔ -q / -j + spavn-eval (26 Tasks) ✔ RPC Mode ◑ SDK / Print ◑ Exec Mode

Method. SPAVN binary size (5.2 MiB / 5,413,888 B) and cold-start latency (~3.5 ms median) are measured on Apple M3 (macOS 15). The built-in spavn-eval suite (26 deterministic tasks across Python, Rust, and JS, including 6 hard mutant/perf/spec tasks) passes 26/26 on claude-sonnet-5-5-medium. Competitor figures are published package sizes and indicative runs. Measure your own stack before switching.