Time Machine for AI Agents Cognitive Version Control for LLM context
pip install tm-ai==3.8.6 Copy PIP instructions
🧠 CVC — Cognitive Version Control Time Machine for AI Agents Git for code. CVC for context. Save. Branch. Rewind. Merge. — Your AI agent just got an undo button.
# 🎧 macOS / Linux / WSL curl -fsSL https://jaimeena.com/cvc/install.sh | bash # 🪟 Windows PowerShell irm https://jaimeena.com/cvc/install.ps1 | iex
� Install via PyPI: pip install "tm-ai[all]" — Full docs at jaimeena.com/cvc →
CVC has evolved from a simple context backup tool into a Cognitive Version Control system designed for Autonomous Agent Orchestration.
Then it forgets what it already fixed, contradicts its own plan, and loops on the same error for eternity.
Give AI agents what they've never had: memory that actually works.
CVC is Git for the AI's brain. Instead of versioning source code, it versions the agent's entire cognitive state — every thought, every decision, every conversation turn — as an immutable, cryptographic Merkle DAG.
The world's first cognitive skill analytics. CVC is the only agent runtime that tracks which skills the model sees in the system prompt versus which ones it actually uses. The gap between those two numbers is wasted context budget — every dead skill burns tokens on every single turn, forever.
$ cvc skills insights [CVC Skill Insights] 2026-06-21T17:36:35+00:00 ---------------------------------------------------------------- 95 skills | 95 active | 0 stale | 0 archived | 0 pinned avg use/view: 0.253 wasted context share: 0.0% [HOT (used 3+ in 7d)] 8 skill(s) — cvc-add-new-provider / ... [FADING (was used, 30d+ idle)] (none) [DEAD (viewed 3+ but never used — wastes context)] (none) [RECOMMENDED ACTIONS] 3 suggested action(s) — ~12100 tokens potentially saved per turn [ARCHIVE] totally-dead (caution) shown to the model 30 times, never picked — wastes ~6600 tokens/turn > cvc skills archive totally-dead [UNPIN] pinned-and-dead (safe) pinned but never used — curator can't manage it > cvc skills unpin pinned-and-dead Add --apply-archives to actually archive every dead skill (skips pinned + bundled). Dashboard renders the same data via GET /api/skills/insights. JSON mode: cvc skills insights --json.
🌐 Full documentation, installation guides, and examples at jaimeena.com/cvc
CVC's Hive Mind cognitive substrate can drive any ROS2-based robot through the brand-agnostic cvc/sdk/robotics.py action ontology. A human (or any agent) commits MOVE / TURN / STOP / GRIP / SCAN / WAIT / RETURN / CUSTOM actions to the hive, and a bridge process publishes them as ROS2 messages on the standard /cvc/* topics. Sensor telemetry flows back as SCAN commits, visible to all other agents via ambient legibility.
Human commits intent to hive mind → fleet of physical robots executes it without message-passing.
Architecture: human commits intent to hive mind → fleet of physical robots executes it without message-passing. The same mechanism that drove the 25-Mar-2026 AstroSwarm 51-agent simulation. See FABLE5_SPACE_ROBOTICS_COGNITIVE_INTELLIGENCE.md for the full master directive (Digital Soul → Hive Mind Singularity → Space Robotics).
# 4 lines to drive a robot from the hive mind from cvc.sdk import HiveMind from cvc.sdk.robotics import move, commit_action hive = HiveMind(".cvc") zeus = hive.get_agent("MC-01") commit_action(zeus, move(vx=2.0, wz=0.5, duration_s=3.0)) # turtlesim / real robot starts moving within ~200ms ⚠️ Status: Phase C prototype is functional and tested. Continuous testing (long-horizon multi-robot scenarios, Mars-blackout simulation) is ongoing.
🔑 Auth pass-through: External tools can send their own API keys — CVC forwards them to the upstream provider.
Run cvc connect for interactive setup instructions.
✨ Everything stays in .cvc/ inside your project 🔒 No cloud • No telemetry • Your agent''s thoughts are yours
cvc/ ├── agent/ # Built-in AI coding agent │ ├── chat.py # REPL loop, slash commands │ ├── llm.py # Unified LLM client (4 providers) │ ├── tools.py # 17 tool definitions │ └── executor.py # Tool execution engine ├── adapters/ # Provider-specific formatting │ ├── anthropic.py # Prompt caching support │ ├── openai.py │ ├── google.py │ └── ollama.py ├── core/ # Data layer │ ├── models.py # Merkle DAG, Pydantic schemas │ └── database.py # SQLite + CAS + Chroma ├── operations/ # CVC engine │ ├── engine.py # Commit, branch, merge, restore │ └── state_machine.py # LangGraph routing └── vcs/ # Git bridge └── bridge.py # Shadow branches, Git notes, hooks 🤖 Supported Providers Provider Default Model Alternatives Notes 🟣 Anthropic claude-opus-4-6 claude-opus-4-5, claude-sonnet-4-5, claude-haiku-4-5 Prompt caching 🟢 OpenAI gpt-5.2 gpt-5.2-codex, gpt-5-mini, gpt-4.1 Auto prefix caching 🔵 Google gemini-3.1-pro-preview gemini-3-pro-preview, gemini-3-flash-preview Multimodal + reasoning ⚪ Ollama qwen2.5-coder:7b qwen3-coder:30b, devstral:24b, deepseek-r1:8b 100% local, no API key 🟤 LM Studio qwen2.5-coder-32b-instruct devstral-small-2505, deepseek-r1-distill-qwen-32b, gemma-3-27b-it 100% local, OpenAI-compat 💬 Community Join the CVC community 🐛 Issues Report bugs & request features 💡 Discussions Ask questions & share ideas 🌐 Website Docs, guides & examples 🛠️ Development Contributions welcome! See below for setup instructions.
All contributions go through code review via Pull Requests.
# Clone the repository git clone https://github.com/mannuking/cvc.git cd cvc uv sync --extra dev 🗺️ Roadmap Feature Status 🤖 Built-in Agent CLI✅ Shipped v1.6.2 — 17 tools, 5 providers, --no-think ☁️ All 5 Provider Adapters✅ Shipped — Anthropic, OpenAI, Google, Ollama, LM Studio 🔌 MCP Server✅ Shipped — stdio + SSE transports 🚀 Zero-config Launch✅ Shipped — cvc launch for all tools 🔗 Git Bridge✅ Shipped — Shadow branches, hooks, notes 🎨 VS Code Extension📜 Q2 2026 — Visual commit graph, time-travel 🌐 Web UI📜 Q2 2026 — Browser visualization & management 👥 Multi-agent support📜 Q3 2026 — Shared DB with conflict resolution ☁️ Cloud sync📜 Q3 2026 — S3/MinIO for teams 📊 Metrics dashboard📜 Q4 2026 — Cache hits, context utilization, analytics ❓ FAQ What is CVC? CVC (Cognitive Version Control) is Git for AI agent context. It versions the agent''s entire cognitive state as an immutable Merkle DAG, enabling time-travel, branching, and merging for AI conversations.
CVC adds: ⏪ Time-travel • 🌿 Branching • 🔍 Semantic search • 🔀 Context merging • 💾 Auto-checkpoint • 🔄 Crash recovery • 🤖 Multi-provider support (5 vs 1)
No. Everything stays local in .cvc/. CVC has: 🔒 No telemetry • 🔒 No cloud sync • 🔒 No data collection Your agent''s thoughts are yours.
CVC is free and open-source (MIT license). You only pay for LLM API calls (Anthropic/OpenAI/Google), and CVC makes them ~90% cheaper via prompt caching and 58.1% less context via branching. Use Ollama for 100% free local operation.
Yes! Use Ollama with local models like qwen2.5-coder:7b, deepseek-r1:8b, etc. 100% local, no API key needed.
Not yet! But coming soon: 🎨 VS Code extension (Q2 2026) 🌐 Web UI (Q2 2026)
For now, use the beautiful terminal UI with Rich formatting.
Yes! CVC is production-ready (v1.8.50) with crash-resistant local storage, used by solo developers, teams, and enterprises.
Made with ❤️ by developers who got tired of AI agents forgetting what they just did.
Built with Python 🐍 • FastAPI ⚡ • SQLite 🗄️ • LangGraph 🦜 • Rich 🎨
all anthropic browser computer-use dev google ollama openai pageindex sdk tts vertex vision voice
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.




