메모리와 프로세스를 그대로 유지한 채 체크포인트 저장, 일시 중지 및 재개가 가능한 microVM 기반의 지속 가능한 AI agent 세션을 실행합니다.
다른 이름 Keepstateai/cli, cli, @keepstateai/cli
- 스타
- 1
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.1.44
- 마지막 커밋
- 2026년 11월 14일
- 라이선스
- MIT
KeepState MCP란?
KeepState은(는) MCP server입니다. 메모리와 프로세스를 그대로 유지한 채 체크포인트 저장, 일시 중지 및 재개가 가능한 microVM 기반의 지속 가능한 AI agent 세션을 실행합니다.
프로젝트 README에서 생성된 요약
KeepState MCP server 정보
KeepState는 microVM 내에서 지속 가능한 AI agent 세션을 실행하는 방법을 제공합니다. 이 시스템을 통해 개발자는 agent 세션을 체크포인트로 저장하거나 일시 중지 및 재개할 수 있으며, 이를 통해 메모리, 파일 및 실행 중인 프로세스를 그대로 유지할 수 있습니다. 사용자는 원격 컨트롤 플레인에 연결되는 ks CLI를 통해 서비스를 이용합니다. 브라우저 기반 로그인을 마친 후, 개발자는 run, checkpoint, wake와 같은 명령어를 사용하여 fleet의 세션을 관리할 수 있습니다.
또한 이 플랫폼은 목표 지향적 작업을 위해 설계된 Cruise job 시스템을 갖추고 있습니다. Cruise job은 모델 계층을 사용하여 목표 달성을 시도하며, pytest, npm test 또는 go test와 같은 검증 단계를 통해 각 시도를 확인합니다. 시스템은 검증기가 결과를 확인했을 때만 해당 결과물을 승인합니다. 사용자는 상태 확인, 로그 조회 또는 검증된 아티팩트 tarball 가져오기 명령어를 통해 이러한 작업을 관리할 수 있습니다. CLI에는 기본 50 MiB 워크스페이스 제한 및 시도당 $2 지출 상한선과 같은 안전 제한이 포함되어 있습니다.
활용 사례
- 1중단된 agent 세션 재개개발자는 실행 중인 agent를 중지하고, 메모리와 프로세스가 모두 보존된 상태로 나중에 다시 시작할 수 있습니다.
- 2목표 지향적 모델 테스트 자동화Cruise job을 시작하여 모델 계층이 인벤토리 테스트 통과와 같은 특정 목표를 달성하도록 시도할 수 있습니다.
- 3검증된 워크스페이스 아티팩트 가져오기작업이 성공적으로 완료되고 검증되면 결과물인 tarball을 다운로드할 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
KeepState MCP 설치 방법
형식 확인: 2026년 11월 10일Claude Code에 KeepState MCP 설치
$ claude mcp add cli -- npx -y @keepstateai/cliCursor에 KeepState MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}VS Code에 KeepState MCP 설치
.vscode/mcp.json
{
"servers": {
"cli": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Claude Desktop에 KeepState MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}Codex에 KeepState MCP 설치
~/.codex/config.toml
[mcp_servers.cli] command = "npx" args = ["-y", "@keepstateai/cli"]
Gemini CLI에 KeepState MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"cli": {
"command": "npx",
"args": [
"-y",
"@keepstateai/cli"
]
}
}
}자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능keepstateai/cli is public and reachablegithub.com/keepstateai/cli ↗통과
- 패키지가 이 저장소를 소스로 지정@keepstateai/cli names keepstateai/cli as sourcenpmjs.com/package/@keepstateai/cli ↗통과
- 빌드 출처(Sigstore 증명)Sigstore attestation for @keepstateai/clinpmjs.com/package/@keepstateai/cli/v/0.1.44#provenance ↗통과
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-11-14github.com/keepstateai/cli ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from @keepstateai/cli통과
- 패키지와 의존성에 심각한 보안 권고 없음the package checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 endpoint가 MCP 핸드셰이크에 응답검사되지 않음
README
GitHub에서 보기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)
curl -fsSL https://keepstate.ai/install.sh | sh
brew install keepstateai/tap/ks
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
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.
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.
Uninstall (one line)
rm -f $(command -v ks) && rm -rf ~/.config/keepstate
MIT licensed.
KeepState MCP 질문
KeepState MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add cli -- npx -y @keepstateai/cli를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
KeepState MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
세션을 어떻게 시작하나요?
'ks run' 명령어를 사용하여 fleet에서 지속 가능한 세션을 시작할 수 있습니다.
일시 중지된 agent를 재개할 수 있나요?
네, 체크포인트를 생성하여 세션을 중지한 후 나중에 다시 깨워 파일과 메모리가 유지된 상태로 작업 중간부터 재개할 수 있습니다.
Cruise job이란 무엇인가요?
Cruise job은 여러 모델을 단계적으로 사용하여 작업을 시도하고, 결과를 검증한 뒤 승인하는 목표 지향적 프로세스입니다.
연결 및 토큰 상태를 어떻게 확인하나요?
'ks doctor' 명령어를 사용하여 연결 상태, 토큰 및 버전을 확인할 수 있습니다.