0xku/kon
Kon is a minimal coding agent (and also a highly opinionated one)
What it solves
Kon is a minimal coding agent harness designed to provide a lightweight, transparent alternative to bloated agent frameworks. It allows developers to use LLMs for coding tasks without inheriting a massive system prompt or a complex, rigid framework, keeping the context window efficient and the behavior predictable.
How it works
Kon operates as a terminal-based agent with a tiny core system prompt (under 270 tokens) and a small set of built-in tools. It layers project-specific context through external files like AGENTS.md or CLAUDE.md and reusable "skills" (instruction packs) stored in .agents/skills/. It supports a wide range of LLM providers (including GitHub Copilot, OpenAI, DeepSeek, and xAI) and local models via OpenAI-compatible APIs.
Who it’s for
It is built for developers who want a coding agent they can easily read, understand, and adapt, and who prefer a terminal-centric workflow with direct shell access and session management.
Highlights
- Minimalist Core: Fixed harness stays around 1,000 tokens, reducing prompt bloat.
- Interactive TUI: Features a terminal UI with fuzzy file searching (
@), path completion, and slash commands. - Direct Shell Integration: Run shell commands directly (
!) or pipe their output to the LLM for analysis (!!). - Flexible Context: Loads project guidance from
AGENTS.mdand supports modular, reusable skills. - Session Management: Supports resuming sessions from JSONL files, session compaction to save tokens, and focused handoffs to new sessions.
- Broad Provider Support: Integrated OAuth and API key support for multiple major AI providers and local model compatibility.
Related
- Project
- Project
- Project
- Project
- Project