Skip to main content

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.md and CLAUDE.md compatibility 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 continue applies 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

checkpoint_cli-0.1.0.tar.gz (22.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

checkpoint_cli-0.1.0-py3-none-any.whl (19.3 kB view details)

Uploaded Python 3

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

Hashes for checkpoint_cli-0.1.0.tar.gz
Algorithm Hash digest
SHA256 401c72f80f847c4db542a3b49820d6f2fa8c2ff49625de65c581fed127596f18
MD5 c99599befdb20c8ab6c8fe9bc0589dd4
BLAKE2b-256 bf3d4bf18e34284dee4db690ba403ad6efd87f596ac64b8fc15545102cec324d

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkpoint_cli-0.1.0.tar.gz:

Publisher: publish-pypi.yml on bkalyankumar/contextos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for checkpoint_cli-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8977a623c79a44e6c60a951415a114660808cda5687e216b2909fd4579f5ae6d
MD5 aac03a403a7f25ce43be009b8427fe73
BLAKE2b-256 8f3776eb3a691eeb6f81ede31065dc1434870c6da609885dfd214563ac83c58b

See more details on using hashes here.

Provenance

The following attestation bundles were made for checkpoint_cli-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on bkalyankumar/contextos

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page