Motivation
Why Knot exists
Running AI locally is the right trade on security and cost: your code and prompts never leave the machine, and there is no per-token bill. The catch is hardware — home machines are far from the GPU clusters behind the frontier services, so inference is slow, and on a large project an interactive chat loop spends your waiting time inside single turns, for a session that ends when you close the laptop and leaves nothing you can review, resume, or build on. But slower inference is not a reason to go back to the cloud — it just means the same outcomes take longer wall-clock, and longer runs don't fit "developer supervises one prompt at a time". So run it overnight. Knot makes that the normal mode: it orchestrates your agent CLI into durable, file-triggered workflows that run long-horizon — decomposed into small goal-seeking knots, grounded in your project's specifications and git history, working unattended for hours while you sleep, and leaving an append-only record of every turn to review over coffee. Knot's aim is to be the number-one orchestrator for local-AI-based projects: the layer that turns slow, private, cheap local inference into steady overnight productivity.
Why it's built this way
The design follows from that goal with one test applied to every decision: keep things as simple as possible for local AI inference. Hence file-first — the rig, the workflow definitions, the triggers, the event queue, the state, and the output logs are all plain files living next to the project (even the HTTP control surface was removed; the file system is the entire interface).
Files keep the workflow close to the project — versioned with it, diffable in review, readable by any agent without an API — and they make the workflow as reusable as possible: looms, knots, and profiles are plain markdown you copy between projects and share with others; the rig itself is your eval (copy it, swap a profile, rerun, compare); nothing runs only in one machine's memory. There is no database, no daemon protocol, no framework to learn — the simplest interface a local agent can read, write, and reason about is the file system, so the file system is the entire interface.
Who it's for
You're a developer who already runs an agent CLI (such as pi) and
keeps hitting the same ceiling: the agent is great inside a session
and invisible outside it. You'd like your overnight hours — and your
local model's patient, private, unglamorous throughput — to actually
count on a large project. If that's you, start with
Getting Started and build the mental model with
Concepts.