Knolo KIP-0022: The Host Runs the Model, Knolo Keeps the Run
Knolo KIP-0022 splits agent execution: the host runs models and tools, Knolo keeps verifiable, journaled run state. What the spec covers and leaves out.
Knolo is the open-source, local-first Knowledge Image runtime and format from Hive AI, released under Apache-2.0 as @knolo/core on npm. Knolo specifications are written as KIPs in the Knolo core repository on GitHub. This note looks at one of them, KIP-0022, "Host-controlled agent execution v1", because it draws a line that every agent integration depends on: who runs what.
The Knolo KIP-0022 boundary in one sentence
In the words of the spec: "Knolo supplies verifiable run state; the host supplies model inference and external tool execution."
That is the whole design. Knolo does not pick a model, run a tool or hold a credential. It keeps a run's state verifiable, so the host can be any agent framework that implements the step and tool adapters.
How a Knolo run moves
executeKnowledgeAgentRunV1 takes a durable run (pending, running or paused), the original input, and an executeStep function that the host injects. Before anything runs, the input is re-hashed with the run-input domain and must equal the run's input root. A pending run is started, a paused run is resumed, and a completed or failed run cannot be resumed.
Each step the host returns is one of three kinds:
- tool: the host executes a validated tool call and returns a tool result.
- checkpoint: state is journaled and execution returns paused.
- complete: the result state is journaled and execution returns completed.
Where Knolo says no
The KIP is strict about failure. Tool call IDs must be unique within an execution. When an agent definition is supplied, its allow and deny tool policy is enforced before the host executor is ever called. A missing executor, a malformed or mismatched tool result, a rejected tool or an executor error fails the run through the durable run journal, so the failure is recorded instead of lost.
Execution is bounded by maxSteps, 64 by default and 1000 at most. The clock is injectable so tests stay deterministic. An optional persist callback fires after start, resume, checkpoint, completion and failure, and can hand off to the durable run store for atomic disk writes.
Why Knolo keeps tool output out of canonical state
One choice is easy to miss. Tool calls and results come back in the execution report for host tracing, but they are not placed into the canonical run state on their own. The spec gives the reason: tool outputs may contain non-CBOR values or external side effects. A host that needs durable tool evidence encodes a bounded version into a checkpoint on purpose.
That keeps the verifiable part of a Knolo run small and canonical, and leaves messy, side-effecting work where it happened: in the host.
What KIP-0022 leaves out
The scope section lists what this KIP does not do: select a model, execute tools, manage credentials, schedule agents, provide leases or decide authority. Networked execution, signed run authority and Studio management are listed as later features, with signed run authority taken up in KIP-0024. The spec file gives its own status as "foundation implementation". Following the knolo.org rule that unpublished is better than invented, this note does not call it an accepted standard.
The same line in shipped Knolo tools
The published Knolo MCP server follows the same split. Its host guides say plainly that Knolo does not call a model and does not read an API key: the host owns the model. Whether the host is an IDE agent or an agent SDK, Knolo's job is the pinned, verifiable knowledge and run state underneath.
Read more about Knolo
knolo · kip · specifications · agents · open-technology
