Skip to content
One file is all you need.Loqira Labs · agentkot.ai

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.

It does not ask for permission, does not perform concern, and does not adapt to a broken process. It is a tool. Treat it as a tool.
I/O BUS / 01I-01I-02I-03I-04MUXOUT / EXEC
$kot web --workspace ~/projects/my-app
provider anthropic · claude-opus-5
search deepseek · deepseek-v4-flash
workspace ~/projects/my-app
→ http://127.0.0.1:8080
Package
One executable, web UI embedded
Platforms
Linux · macOS · Windows
Requires
rg + git on PATH
Providers
16, local models included
I/O BUS / 01I-01I-02I-03I-04MUXOUT / EXEC
Live signal route
01Position

What KOT deliberately does not do

Four decisions that make the agent finish the job instead of performing a process.

01No built-in security
Isolation is a property of the environment

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.

02No skills
The agent already reads documents

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.

03No MCP
The tools are built in

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.

04No adaptation
State the task. Check the result.

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.

02The core strength

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:

RoleExample providerWhy
Lead agentanthropicholds the whole task, writes code, makes decisions
Architect, revieweropenaian independent view from another school on plans and diffs
Researchers, code reconnaissancedeepseekdozens of parallel reads on a light model
Security review, a second pair of eyeszaione more independent pass on a separate quota
Semantic search inside Search{smart}any light providersearch 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.
Current model identifiers of every provider are read by the agent itself through Agent{list_models}, and they are visible in the web interface when picking a model. The result: a parallel team where the strongest model does what actually requires it, while routine work and reconnaissance run on light ones.
MUX / 02A-1A-2A-3A-4KOT
03Agent tools

Everything an agent needs, built in

No plugins, no external protocol: ten tools cover the working loop.

P01
Agent

spawning sub-agents, hiring teammates, mail between agents, durable pipelines, choosing the child's provider and model

P02
Shell

commands in the host shell, background tasks with monitors, persistent interactive shell sessions

P03
Search

file search by pattern, content search by regular expression, semantic search

P04
Files

reading and editing files through a private virtual layer, structural code reads, directories, notebooks and images

P05
Plan

the session checklist, a durable task graph with owners and dependencies, planning mode

P06
Memory

durable notes with scopes, search and automatic prefetch at session start

P07
History

reading the recorded history, recovering past results, a history slice for launching a child, context compaction

P08
Media

image, video, music and speech generation through the configured models

P09
Tools

managing the agent's own tool set: add, remove, search, invoke

P10
cli-wrapper

turning any CLI script into a typed agent tool, including one backed by a resident process

04Orchestration

Work distributed across agents

The agent splits the work and drives other agents to the result:

spawn
Synchronous sub-agent

starts, does the job and returns its report within the same turn.

delegate
Delegate

works in the background and reports completion with a notification; you can message it and stop it; the hard lifetime limit is 12 hours.

hire
Teammate

a permanent participant woken by mail and alive until it is stopped explicitly; teammates of one team share a task board.

until
Completion gate

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.

workflow
Pipeline

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.

05Memory, history and context

It remembers what matters

Sessions survive restarts, notes survive sessions, and long work fits the context window.

CTX / R/W / 05M-01H-02C-03V-04
Memory

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.

History

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.

Context compaction

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.

Virtual files layer

The agent's edits accumulate separately from disk and reach it on sync. The layer is restored from the transcript after a restart.

06Web interface

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.
07FAQ

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.