KeepState

ai.keepstate由 keepstate.ai 发布v0.1.38更新于 Nov 7, 2026

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

发布方自己的服务:Keep

概览

AI 生成的概览

KeepState 让助手启动、监视、发消息并暂停运行在 microVM 中的持久化 AI 代理会话,检查点后可继续运行。

可以做什么
  • 启动、监视、发消息并暂停 KeepState 持久化代理会话
  • 对会话做检查点、终止与唤醒,文件、记忆和运行中的进程原样恢复
  • 运行 Cruise 任务:起草目标与检查项清单、批准、运行,并查看状态、日志、花费与结论
  • 取回已完成任务被接受的产物
  • 检查连通性、令牌与版本,并自更新客户端
适用场景
适合让助手驱动需要经受中断的长时间编码代理,或针对代码仓库运行带可验证检查项和模型阶梯的目标任务,并在接受结果前由人批准。
运行要求
需在本地安装进程(npm 的 npx @keepstateai/cli、Homebrew 或安装脚本),仅限桌面端。需要 KeepState 账号并通过浏览器设备流程登录(ks login),以及访问 KeepState 控制平面的网络。未声明环境变量或请求头。
安装前请注意
会话与 Cruise 任务在 KeepState 的远程集群上运行,工作区内容会上传给第三方。Cruise 任务会花钱:默认每次任务上限为 2 美元(--spend),状态中会显示花费。批准环节应有人参与,所有阶梯都失败的任务会进入待审队列。客户端会自更新。

安装

在 SourceWeft 中

  1. 打开 控制台中的 KeepState,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

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 flowks run            # a durable session on the fleetks 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.jsonks cruise approve                                       # locks it: .keepstate/cruise.lockks cruise run                                           # uploads the workspace, starts the jobks cruise status                                        # rung, attempts, save points, spend, verdictks cruise artifact <job>                                # the accepted tarball, sha256-verified

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.

Uninstall (one line)

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

MIT licensed.

来源:README.md,提交 6a6f163

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.38最新Nov 7, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Keep 集成