Skip to main content

Continuum

Continuum is an open-source framework designed to give AI agents persistent, evolving context. It allows systems to retain information across sessions, adapt to user behavior, and recall complex relationships without the overhead of manual context management.

PyPI GitHub License

📦 PyPI: https://pypi.org/project/continuum-context-hub/
🔗 GitHub: https://github.com/FormulateAI/continuum


Overview

Continuum is built on a simple philosophy: Design by developers, for developers.

In the modern AI coding era, you shouldn't be locked into a single tool. Whether you're prototyping in Cursor, refining in Windsurf, coding in VS Code, or pair-programming with Antigravity, your context should travel with you.

Continuum acts as the universal memory layer that unifies these experiences. It ensures that the architectural decision you made in one agent is remembered when you switch to another, giving you the confidence to move freely between the best tools for the job.

Key Advantages

🔄 Freedom to Switch Tools

Use the best AI coding assistant for each task without losing context. Start in Cursor, refine in Windsurf, debug in VS Code, or collaborate with Antigravity—your progress travels with you.

🤝 True Agent Interoperability

What one agent learns, the next one knows. No more:

  • Re-explaining your architecture
  • Repeating requirements
  • Losing bug fix context
  • Starting from scratch with each new session

🧠 Intelligent Context Management

Unlike simple vector databases, Continuum:

  • Promotes important architectural decisions to long-term memory
  • Fades temporary debugging logs and noise naturally
  • Prevents context pollution that degrades agent performance
  • Adapts to your project's evolving needs

🔒 Privacy-First Architecture

  • Run locally or in your private cloud
  • You own your data, not locked into vendor clouds
  • Granular control over what gets stored and for how long

⚡ Developer Experience

  • Simple Integration: Just add to your agent's system prompt
  • Graceful Degradation: Continues working even if hub is unreachable
  • Minimal Overhead: Only checkpoint meaningful progress, not every keystroke
  • Pluggable Backends: Use Chroma, Postgres, Redis, or your own storage

Installation

Python

pip install continuum-context-hub

TypeScript

npm install continuum-context-hub

Usage Example

Continuum is designed to be integrated into your AI agent's system prompt. Here's how to instruct your agent to use it:

Agent Instructions: Context Hub Integration

Include these instructions in your agent's system prompt:

You are an AI agent working in a persistent development environment. You have access to a **Centralized Context Hub** that stores the history and context of this project.

## Your Goal
To ensure seamless continuity between sessions (e.g., if the user switches to a different model or IDE), you must **record your progress** and **retrieve past context**.

## Tools Available
You have access to the Continuum Python library.

```python
from continuum.client import hub

Rules of Engagement

1. When to Push Context (Checkpoints)

Do NOT push every single file edit or thought. This creates noise. DO push a checkpoint when:

  • You complete a sub-task (e.g., "Implemented the login API").
  • You encounter a tricky bug and find a solution (e.g., "Fixed the CORS issue by updating main.py").
  • You are about to stop or ask the user for input.

How to push: hub.push_checkpoint( summary="Completed the User Model", details="Added User class with id, name, email fields. Updated database schema." )

2. When to Pull Context (Retrieval)

Before starting a complex task, check if there is relevant history. How to search:

Example: You are asked to fix a bug in Auth

results = hub.search_memory("auth login bug fix")

Use 'results' to understand what was done previously

3. Failure Handling

If the Context Hub is unreachable, proceed with your task. Do not crash. Log a warning and continue.


## Architecture

Continuum is built on a modular architecture supporting:
1.  **Ingestion Pipeline**: Text, Code, JSON.
2.  **Storage Layer**: Pluggable backends (Chroma, Postgres, Redis).
3.  **Retrieval Engine**: Hybrid search (Dense + Sparse).

## Community & Support

*   **Issues**: Report bugs or request features on [GitHub Issues](https://github.com/continuum-ai/continuum/issues).
*   **Discussions**: Join the conversation on our [Community Forum](https://github.com/continuum-ai/continuum/discussions).

## License

This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.

Metadata

Release files for continuum-context-hub 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for continuum-context-hub 0.2.0
File Size Uploaded Provenance Actions
continuum_context_hub-0.2.0.tar.gz 22.4 kB Without provenance Details for continuum_context_hub-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for continuum-context-hub 0.2.0
File Interpreter ABI Platform Actions
continuum_context_hub-0.2.0-py3-none-any.whl Python 3 none any Details for continuum_context_hub-0.2.0-py3-none-any.whl

Total release size: 50.8 kB

Release files / continuum_context_hub-0.2.0.tar.gz

Download URL continuum_context_hub-0.2.0.tar.gz
Size 22.4 kB
Tags Source
SHA-256 checksum
How to use checksums
963efb0c4cbcd6fe1e34634bf61723f018717058f040f5af0df49909b3f8a457
BLAKE2b-256 checksum
How to use checksums
50527209376a540d139e8aabd6c5f035c4641cea85d22d37487f16233c08f9e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / continuum_context_hub-0.2.0-py3-none-any.whl

Download URL continuum_context_hub-0.2.0-py3-none-any.whl
Size 28.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
386cf463e2010f65a85cebf35a286991fe2b61d62afb9f4dd55500cbd499ce24
BLAKE2b-256 checksum
How to use checksums
3403e63d2a82a7fc57bc02eaf93014894b16e0bc8bc87b1f3734c113416d9b0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Security for continuum-context-hub 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page