Every step, remembered.
An append-only event log keeps the session on disk, beyond the life of a process.
A durable core for TypeScript agents.
Built to pause, crash, and pick up exactly
where you left off.
npm i @vincemakes/kiso-coreThe part you have to trust should be small enough to read. Kiso keeps its core deliberately tiny, with durable sessions at the center and everything else in packages.
Lines in the core. A limit enforced by CI.
When a feature needs more room, it becomes a package.
An append-only event log keeps the session on disk, beyond the life of a process.
Pending approvals survive interruptions. Resuming does not mean starting over.
Read the runtime. Follow the decisions. Build on the parts you need.
A coding agent with a memory that outlives its process. Same session. Same pending approval. Right where you left it.
npm i -g @vincemakes/kiso-code❯ kiso
Working on src/billing.ts
412 events written to disk
write to src/billing.ts
Waiting for your approval [y/n]
Interactive illustration of the durability cycle.
kiso is an open source TypeScript runtime for AI agents that change things outside the chat: edit files, run commands, call APIs. A model can propose an action, but only the runtime records whether it actually happened. Everything is written to an append-only log on disk before the next step runs.
Every event is written to a JSONL session file before it is yielded to your program. A session is a file you can open and read.
After a crash, a kill or a closed terminal, a session continues from the committed prefix. Generation that was still streaming is regenerated.
If a side effect started and its outcome is unknown, kiso asks instead of repeating it. Approvals persist across processes.
The kernel is capped at 2,200 lines, checked in CI. Every design decision is recorded as an ADR with its reasoning.
Define tools, point a session at an append-only store, and iterate the events. The same runtime powers kiso code. Models are plugged in through provider adapters for Anthropic and OpenAI-compatible endpoints.
npm i @vincemakes/kiso-runtimeimport { defineTool } from "@vincemakes/kiso-core";
import { createAgent, SessionStore } from "@vincemakes/kiso-runtime";
const agent = createAgent({
model: "claude-sonnet-5",
tools: [addTool],
store: new SessionStore("./sessions"),
adapter,
});
const session = await agent.session({ id: "demo" });
for await (const ev of session.run("What is 2+3?")) {
if (ev.type === "text_delta") process.stdout.write(ev.text);
}An open source, MIT licensed TypeScript runtime for building agents that survive crashes, plus kiso code, a terminal coding agent built on it.
Most agent loops live in memory. If the process dies mid-task you lose the state, and you may not know whether a command ran. kiso keeps a durable record so work resumes exactly where it stopped.
DeepSeek, Claude, GPT, a ChatGPT subscription, and any OpenAI-compatible endpoint or gateway. Keys never go in the config file.
Install kiso code with npm install -g @vincemakes/kiso-code and run kiso. The first run plays a scripted demo turn and needs no key.
Yes. Source, docs and design records are on GitHub.
The same durable foundation, with room for more than code. Conversations, artifacts, skills and plugins, brought together in a macOS-first desktop app.
New chat
Scheduled
Plugins
Projects
Podcast
Three clips from episode 42
Six sizes of the cover
Recents
Site rewrite
Cut three short clips from episode 42 and tell me which of them stand on their own.
Three of them stand on their own: the turn at 9:52, the cold open at 12:04, and 18:40, though that one needs its run-up kept. Timecodes are from the master.
Describe the work, or drop a file in.
Episode 42, three shorts
Clip 03 is the weakest of the three. Cut it before trimming it.
We will write when there is something real to try.