Skip to main content

Zero model drift between AI agents. Universal session continuity CLI and Python library for Claude, GPT, Gemini, and any LLM.

Project description

vaultit

mcp-name: io.github.TheRealDataBoss/vaultit

PyPI Python 3.10+ License: MIT MCP Native

Zero model drift between AI agents.


Install

pip install vaultit

Quickstart

vaultit init
vaultit sync --agent claude
vaultit bootstrap --clipboard
# paste into any AI — full context restored

CLI Reference

Command Description
init Scaffold project context — state vector, conventions, tasks
sync Scan repo and update state vector with current project state
bootstrap Generate paste-ready briefing for any AI agent
status Show tracked projects and their current state
doctor Validate context files for consistency and missing fields
migrate Run database schema migrations
export Export project context to JSON/Markdown
diff Show what changed since last sync
serve Start the REST API server (FastAPI + Uvicorn)
sessions List and manage agent sessions
tasks List and manage project tasks
decisions List and manage architectural decisions
auth Create and revoke API keys (ck_ prefix, SHA-256 stored)

Python SDK

from vaultit import VaultItClient

client = VaultItClient()

# Sessions
session = client.create_session(agent="claude", project="myproject")
client.end_session(session.id, summary="Implemented auth module")

# Tasks & decisions
client.create_task(project="myproject", title="Add rate limiting")
client.create_decision(project="myproject", title="Use PostgreSQL", rationale="Need JSONB")

# Handoff
handoff = client.create_handoff(from_session=s1.id, to_agent="gpt-4")

MCP Server

10 tools — native Claude Code integration via Model Context Protocol.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "vaultit": {
      "command": "python",
      "args": ["-m", "vaultit.mcp"]
    }
  }
}

Backends

# File (default) — zero config
vaultit init

# SQLite
vaultit init --backend sqlite

# PostgreSQL
vaultit init --backend postgres --db-url postgresql://user:pass@localhost/ck

REST API

14 endpoints + 3 auth endpoints. FastAPI with OpenAPI spec.

vaultit serve --port 8420
# → http://localhost:8420/docs   (Swagger UI)
# → http://localhost:8420/openapi.json

Auth header: Authorization: Bearer ck_your_api_key

Multi-Agent Coordination

Three modes for concurrent agent access:

  • sequential — one agent at a time (default)
  • lock-based — pessimistic locking per resource
  • merge — optimistic merge with conflict resolution

Links

License

MIT © TheRealDataBoss

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

vaultit-0.6.1.tar.gz (51.8 kB view details)

Uploaded Source

Built Distribution

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

vaultit-0.6.1-py3-none-any.whl (49.7 kB view details)

Uploaded Python 3

File details

Details for the file vaultit-0.6.1.tar.gz.

File metadata

  • Download URL: vaultit-0.6.1.tar.gz
  • Upload date:
  • Size: 51.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vaultit-0.6.1.tar.gz
Algorithm Hash digest
SHA256 024fde6416f77f48b25bd449313b3f749132f1032f7ffe8b34ff2e1bc6cf4bdd
MD5 da5815a1ca928832cd7860b0d4b7a82c
BLAKE2b-256 cde0cab59234802f4c688c1dab3176a4d6d76519432b26a501d805c7da89eeea

See more details on using hashes here.

File details

Details for the file vaultit-0.6.1-py3-none-any.whl.

File metadata

  • Download URL: vaultit-0.6.1-py3-none-any.whl
  • Upload date:
  • Size: 49.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for vaultit-0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0ce7851166daf606f1f7cb23e6c5d8bf70f36254934e5d839dc4ff4af83aab5
MD5 4c9b51a7a130f3fc59fec41638bc6913
BLAKE2b-256 fa655df57a9793dddcbd4571e1b4c201b9399328aaa6cfcf154b518fa64e2b64

See more details on using hashes here.

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