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 整合