Listed from the MCP registry; nobody on Odel publishes it.

MCP server: One MCP server.

KeepState

@keepstateRun by its publisher: served from their own domain, namespace checked by the registry.MCP server · External

Durable agent sessions: start, watch, message and pause KeepState agents; approvals ask a person.

Freeno charge per call

Runs on your machine from its package; the steps are below.

What it does

  1. Reads
  2. Writes
  3. High impact

At most: moves money, runs code or commands, deletes data, or sends messages for you.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

npm@keepstateai/cliv0.1.51

Run

npx -y @keepstateai/cli

MCP client config

{
  "mcpServers": {
    "keepstate": {
      "command": "npx",
      "args": [
        "-y",
        "@keepstateai/cli"
      ]
    }
  }
}
README5 min read

ks — the KeepState CLI

Durable agent sessions: run an AI agent in a microVM, checkpoint it, kill it, wake it — and it resumes mid-sentence, files, memory, and running processes intact.

This is the thin client. Every verb terminates at the KeepState control plane; the client is a key, the building is keepstate.ai.

Install (any one of three)

sh
curl -fsSL https://keepstate.ai/install.sh | sh
sh
brew install keepstateai/tap/ks
sh
npm install -g @keepstateai/cli

Every path downloads the same public-CI-built binary and verifies its SHA256 against the release's SHA256SUMS before installing. Releases carry GitHub build-provenance attestations.

Three commands to a session

sh
ks login          # browser device flow
ks run            # a durable session on the fleet
ks checkpoint <id> --stop && ks wake <id>   # the plug-pull, survived

ks doctor checks connectivity, token, and version. ks update self-updates (checksum-verified; a mismatch is refused).

Cruise

A Cruise job is a goal, a check and a ladder of models. The fleet runs one attempt per rung from an exact save point, verifies the candidate in a verifier the agent cannot reach, and accepts only when the check passes. A failed rung escalates to the next one; after the last rung the job waits in your review queue. Nothing is accepted on a model's word.

sh
ks cruise init --goal "make the inventory tests pass"   # drafts .keepstate/cruise.json
ks cruise approve                                       # locks it: .keepstate/cruise.lock
ks cruise run                                           # uploads the workspace, starts the job
ks cruise status                                        # rung, attempts, save points, spend, verdict
ks cruise artifact <job>                                # the accepted tarball, sha256-verified
ks cruise receipt <job>                                 # the signed receipt, exactly as sealed
ks cruise verify receipt.json                           # the receipt's signature, checked offline

init reads the repository: the check is the test command it finds (pytest, npm test, go test) or the one you name with --tests. A goal with no check is not a job; init stops and says so. It makes no request and never calls a model. approve records the manifest's digest; run refuses a draft that is not approved, a test or workspace changed since approve, and a workspace over 50 MiB (.git and .keepstate excluded). Defaults: 1800 s per attempt and a $2 spend ceiling (--spend); the ladder comes from the model table (ks cruise models, --ladder family:model,...). ks cruise logs, cancel and resume complete the set. Every --help makes no request.

ks cruise verify RECEIPT checks a receipt's Ed25519 signature against the public key list KeepState publishes (--keys-url, or a saved copy with --keys-file, which makes no request at all), with no sign-in and no service key; the receipt is never sent anywhere. Exit 0: verified under a key that was valid at the receipt's time. Exit 1: not verified (altered, another key, key unknown, outside its window or revoked; --trust-before-revocation accepts a receipt made before its key was revoked). Exit 3: the receipt has no Ed25519 signature, so only the service can check it. Exit 2: unreadable inputs.

Bring a conversation in

A Claude Code or Codex CLI session on your machine can continue as a new KeepState agent session, with the same conversation; a Cursor chat comes in as a written summary.

sh
ks import list                                   # the sessions on this machine: id, project, date, size, messages
ks import                                        # at a terminal: pick a session, review the plan, import
ks import claude-code --latest                   # shows the plan, asks, then imports it
ks import claude-code --latest --yes             # the same without the question
ks import claude-code --latest --plan            # what would go up, and a digest; nothing is created
ks import claude-code --latest --execute <digest>   # exactly that plan
ks import codex --session 01a1c2d3 --with-files --plan
ks import cursor --latest --plan                 # a written summary, never a transcript

The session file is read on your machine. What must not travel is taken out (the old machine's system prompt and tool list, account ids, permission modes, signed thinking, encrypted reasoning), the old project paths are said as the new workspace's, and anything shaped like a secret (API keys, tokens, private keys, connection strings) is replaced before anything is sent; the plan counts the replacements by kind and never shows a secret. The plan is shown first. At a terminal you are guided and asked before anything is created (pick, files or not, review); --yes skips the question, and without a terminal (or with --no-input) the command stops after the plan and names the command to run. --plan creates nothing and prints a digest, and --execute names it (a conversation that changed since is refused). A conversation over 120 MB (120,000,000 bytes, what a session can resume) is trimmed to what the harness sends the model, from its last compaction on, with the summary; if it is still over, or holds no compaction, it is refused: compact it in the tool first, or import a written summary with --brief. A session that was written in the last two minutes is open somewhere: the plan says that what you say after it stays behind. A conversation goes into its own tool only; into the other one (--harness) it goes across as a summary. --with-files brings the git repository at the session's folder under the upload policy: .env files, credential-named files, node_modules and what .gitignore lists stay home. The repository's history (.git) counts toward the same 1 GB limit as any file: --with-git brings files and history, --without-git the files only, and --with-files the history too when the whole fits. At a terminal a repository is asked about with the size of each choice (with the history, files only, the conversation only, cancel), and a choice that is over the limit is shown and cannot be taken; without a terminal the part that fits goes, or the refusal names the flag that works. The first reply re-reads the whole conversation, so it costs more than a short message. Cursor's chat store is not documented: reading it is best effort, from a copy, and nothing in it is changed. The same import is the MCP tool ks_import_session, which plans first and acts only on a confirm value.

Uninstall (one line)

sh
rm -f $(command -v ks) && rm -rf ~/.config/keepstate

MIT licensed.

Similar modules

Browse AI agent governance