Local-first CLI for ContextOS repo-native AI engineering continuity
Project description
ContextOS / Checkpoint
ContextOS is repo-native continuity infrastructure for AI-assisted software engineering. Checkpoint is the local CLI that creates, updates, and projects that context into the next AI coding tool.
Plan in Claude -> Code in Codex -> Debug in Claude Code -> Delegate to Antigravity -> Resume anywhere
Checkpoint is not another coding agent. It is the continuity layer beneath coding agents: readable Markdown memory, durable task files, durable handoffs, and agent-specific continuation packs.
Status
Checkpoint is pre-1.0 and ready for early open-source contributors. The current release proves the local-first workflow; cloud sync, dashboards, IDE extensions, vector search, and hosted agent runtimes are intentionally out of scope.
What It Does
- Creates project memory in
.contextos/ - Creates user memory in
~/.contextos/about-me.md - Generates
AGENTS.mdandCLAUDE.mdcompatibility files - Tracks active tasks, completed tasks, decisions, and handoffs
- Emits Markdown continuation packs for Codex, Claude, Claude Code, Antigravity, Cursor, or a generic agent
- Redacts common secret patterns before generated continuation output
- Logs local continuity events without storing generated pack contents
Install From Source
git clone git@github.com:bkalyankumar/contextos.git
cd contextos
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
Smoke test:
checkpoint --help
checkpoint status
checkpoint continue
A packaged installer is not published yet. Until then, editable install from a source checkout is the supported path for contributors and early testers.
First Run In A Project
checkpoint setup-user
checkpoint init
checkpoint status
checkpoint continue
checkpoint continue is the happy path. It detects the current agent when it
can, reads the latest handoff and active task, and prints a Markdown continuation
pack with inference provenance.
Useful overrides:
checkpoint continue --from claude
checkpoint continue --from codex --for claude-code --task TASK-001
checkpoint continue --output /tmp/contextos-pack.md
checkpoint detect-agent
Lower-level primitives remain available when you want direct control:
checkpoint resume --for codex --task TASK-001
checkpoint handoff --from codex --to claude-code --task TASK-001 --status in_progress
checkpoint show .contextos/handoffs/latest.md
Repository Layout
src/checkpoint_cli/ Python CLI implementation
tests/ CLI and resolver tests
.contextos/ Canonical project memory for this repo
docs/ Product, architecture, roadmap, and launch docs
.github/ CI, issue templates, PR template
Generated ContextOS state in consuming projects is plain Markdown by design. You should be able to review it, edit it, diff it, and commit it like any other repo-native project file.
Verification
Run the full local health stack:
mypy src
ruff check .
pytest
vulture src tests
The same checks run in CI.
Privacy And Safety
- ContextOS is local-first by default.
- Generated handoffs must not contain secrets, API keys, tokens, or private credentials.
checkpoint continueapplies final redaction before printing or writing a continuation pack.- Local event logs store command metadata, not generated continuation pack text.
- Future remote sync must be encrypted before upload.
Security reports should follow SECURITY.md, not public issues.
Contributing
Start with CONTRIBUTING.md. Good first contributions improve the local-first CLI, documentation, examples, tests, and failure messages.
Please keep the MVP boring and reliable:
- Prefer readable Markdown over hidden state.
- Prefer explicit files over magical behavior.
- Do not add hosted sync, dashboards, IDE extensions, vector databases, Tree-sitter indexing, or multi-agent runtimes to the MVP.
- Update tests and docs with behavior changes.
Launch Readiness
Public launch tracking lives in docs/public-launch-checklist.md.
License
Checkpoint is licensed under the Apache License 2.0.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file checkpoint_cli-0.1.0.tar.gz.
File metadata
- Download URL: checkpoint_cli-0.1.0.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
401c72f80f847c4db542a3b49820d6f2fa8c2ff49625de65c581fed127596f18
|
|
| MD5 |
c99599befdb20c8ab6c8fe9bc0589dd4
|
|
| BLAKE2b-256 |
bf3d4bf18e34284dee4db690ba403ad6efd87f596ac64b8fc15545102cec324d
|
Provenance
The following attestation bundles were made for checkpoint_cli-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on bkalyankumar/contextos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checkpoint_cli-0.1.0.tar.gz -
Subject digest:
401c72f80f847c4db542a3b49820d6f2fa8c2ff49625de65c581fed127596f18 - Sigstore transparency entry: 1694716040
- Sigstore integration time:
-
Permalink:
bkalyankumar/contextos@1e45a1c7e6a15588a352d87b3a92dcb3138c4c9d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bkalyankumar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1e45a1c7e6a15588a352d87b3a92dcb3138c4c9d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file checkpoint_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: checkpoint_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 19.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8977a623c79a44e6c60a951415a114660808cda5687e216b2909fd4579f5ae6d
|
|
| MD5 |
aac03a403a7f25ce43be009b8427fe73
|
|
| BLAKE2b-256 |
8f3776eb3a691eeb6f81ede31065dc1434870c6da609885dfd214563ac83c58b
|
Provenance
The following attestation bundles were made for checkpoint_cli-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on bkalyankumar/contextos
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
checkpoint_cli-0.1.0-py3-none-any.whl -
Subject digest:
8977a623c79a44e6c60a951415a114660808cda5687e216b2909fd4579f5ae6d - Sigstore transparency entry: 1694716147
- Sigstore integration time:
-
Permalink:
bkalyankumar/contextos@1e45a1c7e6a15588a352d87b3a92dcb3138c4c9d -
Branch / Tag:
refs/heads/main - Owner: https://github.com/bkalyankumar
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@1e45a1c7e6a15588a352d87b3a92dcb3138c4c9d -
Trigger Event:
workflow_dispatch
-
Statement type: