OPEN SOURCE / TYPESCRIPT AGENTSA SMALL CORE. A LONG MEMORY.

kiso Good work.
Uninterrupted. a durable core for TypeScript agents

A durable core for TypeScript agents.
Built to pause, crash, and pick up exactly
where you left off.

$npm i @vincemakes/kiso-core
++
FIG. 01 / CONTINUITY
STATE PERSISTS. WORK CONTINUES.SCROLL TO EXPLORE ↓

Less to trust.
More to build on.

The 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.

CORE SIZE / v0.31.0
2,139 / 2,200

Lines in the core. A limit enforced by CI.
When a feature needs more room, it becomes a package.

15packages
2,792tests
39decision records
01

Every step, remembered.

An append-only event log keeps the session on disk, beyond the life of a process.

02

Permission stays yours.

Pending approvals survive interruptions. Resuming does not mean starting over.

03

Open all the way down.

Read the runtime. Follow the decisions. Build on the parts you need.

Close the terminal.
Keep the thread.

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
Explore kiso code ↗
SESSION / 8f2aRUNNING

❯ kiso

Working on src/billing.ts

412 events written to disk

write to src/billing.ts

Waiting for your approval [y/n]

TRY AN INTERRUPTION

Interactive illustration of the durability cycle.

What kiso is,
and what it is for.

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.

01

Persist first.

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.

02

Crash, then resume.

After a crash, a kill or a closed terminal, a session continues from the committed prefix. Generation that was still streaming is regenerated.

03

Unknown effects go to a human.

If a side effect started and its outcome is unknown, kiso asks instead of repeating it. Approvals persist across processes.

04

A kernel you can read.

The kernel is capped at 2,200 lines, checked in CI. Every design decision is recorded as an ADR with its reasoning.

A durable agent
in a few lines.

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-runtime
Full example on GitHub ↗
import { 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);
}

What is kiso?

An open source, MIT licensed TypeScript runtime for building agents that survive crashes, plus kiso code, a terminal coding agent built on it.

What problem does it solve?

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.

Which models can it use?

DeepSeek, Claude, GPT, a ChatGPT subscription, and any OpenAI-compatible endpoint or gateway. Keys never go in the config file.

How do I try it?

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.

Is it open source?

Yes. Source, docs and design records are on GitHub.

One place.
For the whole work.

The same durable foundation, with room for more than code. Conversations, artifacts, skills and plugins, brought together in a macOS-first desktop app.

DESIGN PREVIEW / NOT A SHIPPED BUILDCHAT · ARTIFACTS · CANVAS