KOT — simply the best AI harness
The best working agent you can install on your own machine. One executable: it reads code and documents, searches the project, edits files, runs commands and long-lived processes, keeps a plan and a task board, remembers what matters between sessions, hires other agents and splits the work between them — across several providers at once.
- Package
- One executable, web UI embedded
- Platforms
- Linux · macOS · Windows
- Requires
- rg + git on PATH
- Providers
- 16, local models included
What KOT deliberately does not do
Four decisions that make the agent finish the job instead of performing a process.
There is no security, and there will not be. The agent runs commands and edits files with the rights of the user who started it — no sandbox, no allow/deny/ask rules, no confirmation on every step. An agent that asks for permission every other step does not finish the job; it burns the session on a conversation about intentions. If you need isolation, take a ready-made one — a container, a virtual machine, a separate user account — and run KOT inside it.
A skill is a text with instructions that someone wrapped into a separate mechanism with a registry, an installer and versions. You have an agent that reads files and follows instructions. Want to work by a skill — give the agent the document and tell it to follow it. A separate subsystem for reading text will not appear here.
MCP is a transport for tools an agent does not have. Here they are built in: shell, files, search, memory, history, media generation, orchestration. Need an external service once — tell the agent to call it with a command. Need it permanently — wrap its CLI into a dynamic tool through Tools{add: "cli-wrapper"}, and the agent gets typed operations with parameter validation, without an intermediate protocol, an extra process and its protocol limits.
KOT will not adapt to your process. State the task, give context, check the result. If you want an agent that politely agrees with a badly stated task and adapts to a broken pipeline — take Claude Code, Codex and the rest.
A team across providers
One agent on one model is either slow, or shallow, or a bottleneck. Here roles are spread across providers, and every participant runs on the model that fits its job. The set of providers and models is yours to choose, by your tasks and available subscriptions:
| Role | Example provider | Why |
|---|---|---|
| Lead agent | anthropic | holds the whole task, writes code, makes decisions |
| Architect, reviewer | openai | an independent view from another school on plans and diffs |
| Researchers, code reconnaissance | deepseek | dozens of parallel reads on a light model |
| Security review, a second pair of eyes | zai | one more independent pass on a separate quota |
| Semantic search inside Search{smart} | any light provider | search must not occupy the main model |
How it is enabled
- every key in providers.json automatically becomes an available launch target — no separate setup;
- Agent{spawn|delegate|hire, provider, model, effort} — the child starts on the chosen provider, and the parent's model never leaks across providers;
- Agent{set_model} — switches a live teammate to another provider and model between turns;
- a pipeline step and a team-step member carry their own provider and model;
- kot web --search-provider … --search-model … — semantic search moves to a separate, light provider.
Everything an agent needs, built in
No plugins, no external protocol: ten tools cover the working loop.
spawning sub-agents, hiring teammates, mail between agents, durable pipelines, choosing the child's provider and model
commands in the host shell, background tasks with monitors, persistent interactive shell sessions
file search by pattern, content search by regular expression, semantic search
reading and editing files through a private virtual layer, structural code reads, directories, notebooks and images
the session checklist, a durable task graph with owners and dependencies, planning mode
durable notes with scopes, search and automatic prefetch at session start
reading the recorded history, recovering past results, a history slice for launching a child, context compaction
image, video, music and speech generation through the configured models
managing the agent's own tool set: add, remove, search, invoke
turning any CLI script into a typed agent tool, including one backed by a resident process
Work distributed across agents
The agent splits the work and drives other agents to the result:
starts, does the job and returns its report within the same turn.
works in the background and reports completion with a notification; you can message it and stop it; the hard lifetime limit is 12 hours.
a permanent participant woken by mail and alive until it is stopped explicitly; teammates of one team share a task board.
a delegate repeats its turn until the given check command exits with zero; a supervisor agent can accept the result, send it back for rework, or stop the loop.
a TOML-declared graph of steps with dependencies, team steps, nested pipelines and questions to the owner; a run survives a restart and resumes.
A child gets an isolated session and its own virtual files layer; when needed, a separate working directory or a temporary git worktree. The child's provider, model and reasoning effort are either inherited or set explicitly, including a different provider.
It remembers what matters
Sessions survive restarts, notes survive sessions, and long work fits the context window.
Curated notes in three scopes: project (shared through version control), user (shared across all projects on the machine), local (this project on this machine). At the start of every session the notes are supplied to the agent automatically.
A full transcript of every session on disk. The agent recovers past results from it, lists them, and carries a history slice into a new child session.
The older prefix is folded into a summary while the most recent messages stay verbatim. Before folding, the full history is written to an archive next to the session, and the transcript itself stays untruncated. For sub-agents automatic compaction is on; for the main session it is off and runs on demand.
The agent's edits accumulate separately from disk and reach it on sync. The layer is restored from the transcript after a restart.
Drive it from the browser
kot web starts a local HTTP server with the full control surface:
- The list of projects and sessions: create, resume, rewind to an earlier message, close and delete a session.
- Choice of working directory, provider, model and reasoning effort — both when creating a session and on a live one.
- Real-time answer streaming, a live card of the running tool, a message queue with editing and removal before delivery.
- Hard turn interruption and a revocable soft interruption.
- Background task panel: output, monitors, stop.
- Sub-agent and teammate panel: the child's work history, mail to it, stop, restoring teammates after a restart.
- The list of the agent's unsynced files and writing them to disk with one button.
- Token accounting per session: input, cache write, cache read, output, and the reasoning sub-count.
Frequently asked questions
Is it safe to run an agent without confirmations?
KOT runs commands and edits files with the rights of the user who started it — this is a deliberate decision. If you need isolation, run it inside a container, a virtual machine or a separate user account: isolation is a property of the environment, not of the agent.
How do I add a tool the agent does not have?
For a one-off need, tell the agent to call the external service with a command. For a permanent one, wrap the service's CLI into a dynamic tool through Tools{add: "cli-wrapper"} — the agent gets typed operations with parameter validation, with no intermediate protocol and no extra process.
Which subscriptions and keys work?
Claude Pro/Max over OAuth (provider anthropic-oauth), ChatGPT Plus/Pro over OAuth (openai-codex), and API keys for the rest: anthropic, openai, gemini, deepseek, grok, openrouter, zai, moonshotai, together, fireworks. LM Studio and Ollama run locally without a key.
Where does KOT keep its data?
Everything lives in ~/.kot on your machine: settings, API keys, subscription tokens, notes, and per-project session transcripts. Nothing leaves the machine except the requests to the providers you configured.
One file is all you need
Download the binary for your platform, install ripgrep and git, run kot doctor — and put the agent to work.
