Open source

Open-source ContextDB SDK.

The Apache-2.0 Python SDK provides portable memory and trust semantics for local or self-hosted use. ContextDB Cloud operates multi-tenant workflows, governance, and proof. The open-core boundary explains what stays portable and what Cloud operates.

contextdb-cloud  ->  pycontextdb (Apache-2.0)
pycontextdb      -x->  contextdb_cloud

Ownership matrix

Open the correctness model. Keep operated coordination private.

Public interfaces can be shared without publishing the service that coordinates tenants, workers, credentials, and guarantees. Existing Apache grants are permanent.

What belongs in the open SDK and what Cloud operates
Capability Public Apache-2.0 ownership Private Cloud ownership BOUNDARY class
Memory and trust semantics Data models, TrustPolicy, act/ask/abstain, confirmation, and local explanation Imports the public behavior. Cloud does not keep a private correctness fork. Semantic
Local and reference operation Memory CRUD, SQLite, basic Postgres adapter, deletion semantics, lineage, and local verification Tenant routing, replica operation, backups, incident response, and availability guarantees Reference / Operated
Consistency and connector surfaces Portable consistency-token, provider, and connector contracts plus common community adapters Managed synchronization, checkpoints, retries, deletion propagation, observability, and support operation Contract / Operated
Memory CI Transport contract, content-free response models, thin CLI, and reusable Action Token issuance, tenant resolution, suite persistence, queues, leases, baselines, and hosted workers Contract / Operated
Cloud API access Thin generated clients and public compatibility tests, with no server implementation Hosted gateway, API-key authentication, entitlements, quotas, rate limits, idempotency, and abuse controls Contract / Operated
Teams and governance Local user partitions and reviewable correctness behavior Organizations, projects, environments, console workflows, policy deployment, and enterprise controls Operated

Safety and correctness are never plan-gated, weakened, time-limited, or made to phone home. Cloud must win by operating the open model, not by reducing what the SDK can do.

BOUNDARY change classes

Classify capability work before choosing a repository.

Mixed work is split. The portable contract and minimal reference stay open. The coordinator, managed worker, and service operation stay private.

Semantic portable correctness required offline

Open the implementation in the SDK.

Contract interface · schema · protocol · compatibility test

Keep the public boundary open and independently testable.

Reference minimal single-node implementation

Open enough implementation to prove the contract locally.

Operated tenants · processes · people · guarantees

Keep the private Cloud implementation behind the public contract.

Run path

Start with the SDK. Use Cloud when operation is the job.

The SDK is the default path for local and self-hosted use. Cloud is the operated path for teams that want ContextDB to run the service layer. There is no availability SLA.

RUN THE SDK
You own storage, credentials, isolation, observability, upgrades, retention, and service operation. The memory and trust model stays available offline with no Cloud key.
USE CLOUD
ContextDB operates a hosted API, isolated projects, managed keys, asynchronous Formation, source workers, hosted Memory CI, decision logs, webhooks, and console workflows at the statuses on the status map.

Current status

Package availability does not imply hosted maturity.

The SDK is available. Formation, Memory CI, and Managed Sources remain scoped. Production operations and enterprise controls remain planned.

SDK Available · Apache-2.0

Portable memory correctness, local operation, and public tests.

Gateway + Console Cloud

Hosted evaluation surfaces. Production readiness is not claimed.

Formation + Memory CI Hosted Alpha

Operated worker-backed workflows at explicitly scoped maturity.

Memory Evolution Cloud

Explicit ADD, UPDATE, DELETE, and NOOP through the hosted gateway.

Managed Sources Feature-gated Private Alpha

Reader and worker access is not public or self-serve.

Production + Enterprise Planned

No production operation or enterprise-control claim is made.

The Apache-2.0 Cloud clients contextdb-cloud-client==0.2.0a2 and @contextdb/cloud@0.2.0-alpha.2 expose the public Evolution contract without hosted planning, tenancy, ledgers, or workers.

The Apache-2.0 Memory CI package is available from PyPI, with the pinned public Action prerelease. Distribution does not change hosted-service maturity.

Review the status map and security posture before using Cloud.

Start with the open-source SDK.

Cloud is the operated path. There is no availability SLA.