ansi: a sandboxed terminal coding agent where spawning sub-agents is just writing to a file
remilouf · x · 2026-12-06
remilouf open-sourced ansi, a sandboxed terminal coding agent and durable session runtime written in Rust (Apache-2.0, 20 stars). Core idea: an agent is a session.
- No special spawnagent/waitagent tools needed: the agent writes a line to /agents/new to start a child session, then reads turns/1/answer until the answer is committed — all via bash
- Works interactively or in Unix pipelines (e.g. cargo test 2>&1 | ansi 'Fix the failing parser tests'), runs in the background, lets you step into its Linux shell, and inspect or fork any past conversation
- Can also run Claude Code and Codex inside its sandboxed micro-VM (ansi run claude) with host-managed credentials and shared tools
Related event: ansi open-sources coding agents as persistent, pipeable sessions(3 posts)→
More from coding & agent
- AI Agents Are Breaking Access Control Without Breaking Any Rules — DavidLinthicum · 2026-12-06
- LangChain's hwchase17 amplifies: well-written tickets are the key to effective coding agents — hwchase17 · 2026-12-06
- Openbar Puts Claude Code and Codex Sessions in the Mac Notch, Hooks Plus Session Files — Significant-Sea-7238 · 2026-12-06
- dhh trains Omarchy's voice mode with adversarial questions — and the results are hilarious — alexcovo_eth · 2026-12-06
- Mistral Vibe, rebranded from Le Chat, launches as coding agent for large codebases on macOS — petrusenko_max · 2026-12-06
- 31-minute documentary: rebuilding to $100K+/month with 1 employee after firing everyone — aryanXmahajan · 2026-12-06