Engineered for autonomy
Crayon isn't just an autocomplete tool. It is a fully autonomous agent that understands architecture, writes tests, and ships features.
The loop
It doesn't just autocomplete. It finishes the job.
Understand
Crayon indexes your repo with tree-sitter and a local SQLite graph, then pulls only the handful of files a task actually needs — not your whole codebase into the prompt.
Plan
It drafts an explicit, step-by-step plan before touching anything. In plan mode you review and approve it — nothing runs until you say so.
Execute
It runs commands, writes surgical diffs, and edits files under the permission mode you set — Ask, Auto-Edit, or full Auto. You stay in control of the blast radius.
Self-heal
When a test breaks or a build fails, Crayon reads the error, patches its own work, and re-runs — looping until the task is verified done, not just attempted.
Capabilities
Everything an agent needs to ship real work.
Context Engine
A local tree-sitter + SQLite index resolves the exact files a task needs. Semantic search and dependency graphs — not your whole repo stuffed into the prompt.
Five model providers
Hot-swap between Anthropic, OpenAI, Google, OpenRouter, and local Ollama mid-chat — without leaving your flow.
Runs fully offline
Point Crayon at a local Ollama server for zero-cost, private runs. No API key, no data leaving your machine.
Permission modes
Ask, Auto-Edit, or Auto. Fine-grained control with guards against path traversal, oversized reads, and destructive commands.
Self-healing loop
Intercepts failing tests and broken builds, patches its own work, and re-runs until the task is verified done.
MCP extensible
Connect any Model Context Protocol server to give the agent new tools and integrations.
VS Code, too
A transparency-first panel with live reasoning, tool cards, and click-to-source path:line citations.
Auto-compaction
Intelligent history compaction keeps token burn low, with real-time cost tracking per session.