agent
active
clio
CLI
About
Clio's value is architectural: it demonstrates that a complete agentic coding assistant - 21 tools, three permission modes, subagents, hooks, sessions, and MCP discovery - fits in roughly 9,200 lines of TypeScript with essentially no runtime dependencies beyond fast-glob. Prompt caching is applied at section level across system prompt, tools, and message history, cutting input token cost around 90 percent, with model-aware context limits and auto-compaction at 85 percent. Tools are tiered safe/write/dangerous and gated by default, auto, and plan modes with glob rules. It targets the Anthropic API and OpenAI-compatible endpoints, and remains a young project with a small commit history and no packaged releases.