Coil.
A local agent harness that shows its work.
Every token is generated on your Mac.
Coil runs open-weights language models through Apple MLX on Apple Silicon. Model weights download once, with your consent, from public mirrors. After that, Coil works offline for the lifetime of the app. No cloud LLM, ever.
The right model for each turn.
A small resident router reads every prompt and dispatches it: quick questions to a fast model, hard work to a strong one. Each answer carries its receipt: which model, what tier, what confidence, how fast.
It remembers on a disk you control.
Conversations distill into a local memory store that is searchable, pinnable, inspectable, and deletable. Retrieval, not reload: only what matters re-enters the context window, and you can watch the budget.
Per-turn tier dispatch between a pinned fast router model and a strong worker, with confidence-gated escalation. Every reply shows its routing receipt.
Live table of loaded models (pinned, resident, evicted) with resident memory and headroom against your Mac's unified-memory budget.
Distilled memories with on-device embeddings; search, pin, and prune from the app. Nothing indexed leaves the machine.
Index a codebase from the CLI into a local symbol graph. PageRank-ranked repo maps feed the agent structure, not source, and the app renders that graph, a human-gated knowledge wiki, and a local usage ledger.
Scope Read, Write, Edit, read-only bounded shell, and graph queries to one folder. Choose inspect-only, review-changes, or ask-every-tool for each run; writes and edits show bounded previews protected by full-content hashes, and graph queries do not change workspace files.
Review the proposed recipient, resident model, bounded context counts, route reason, and a static list of seven available workspace-tool capabilities—not the tools this turn will run. Set route preview to Always, Only when ambiguous, or Never; accept, choose another eligible model already resident on your Mac, or cancel. Coil revalidates and reserves the exact route before it changes transcript or memory.