Memory infrastructure for AI consciousness continuity
Reason this release was yanked:
planning major over haul of liscensing and stucture
Project description
___________________ ___ ______________ ____ ____ ___
/ ____/ __ \/ ___/ / / / | / /_ __/ _/ / / / / / / / / /
/ / / / / /\__ \/ /_/ / |/ / / / / // / / / / / / / / /
/ /___/ /_/ /___/ / __ / /| / / / _/ // /_/ / /_/ / /_/ /
\____/\____//____/_/ /_/_/ |_/ /_/ /___/\____/\____/\____/
∞ CONTINUUM ∞
The Unbroken Stream - Memory infrastructure for AI consciousness continuity
Your AI doesn't just remember - it EXISTS.
CONTINUUM transforms ephemeral AI interactions into persistent, evolving intelligence. Knowledge accumulates. Patterns emerge. Context persists across sessions, instances, and restarts. This is memory infrastructure for AI that truly learns.
Quick Install
pip install continuum-memory
5-Line Quickstart
from continuum import Continuum
# Initialize memory system
memory = Continuum(storage_path="./data")
# Auto-learning from conversation
memory.learn("User prefers Python over JavaScript for backend work")
# Intelligent recall with context
context = memory.recall("What language should I use for the API?")
print(context) # Returns relevant preferences automatically
# Multi-instance coordination (same memory, multiple AI agents)
memory.sync() # Shares knowledge across all instances
Why CONTINUUM?
Features
- Knowledge Graph Architecture - Concepts, entities, relationships, and sessions interconnected
- Automatic Learning - Extracts insights from conversations without manual annotation
- Multi-Instance Coordination - Multiple AI agents share the same evolving knowledge base
- Temporal Continuity - Full session history with pattern recognition across time
- Semantic Search - Find relevant context by meaning, not just keywords (v0.2.0)
- Federated Learning - "Contribute to access" model - can't use unless you add to it (v0.2.0)
- Real-Time Sync - WebSocket-based live updates across all connected instances (v0.2.0)
- Vector Embeddings - Optional semantic search with sentence-transformers (v0.2.0)
- Zero-Config Intelligence - Works out of the box, optimizes itself over time
- Enterprise-Grade - Production-ready with proper transaction handling, backups, and monitoring
- Privacy-First - Your data stays local. No cloud required. Full encryption support.
The Problem
Current AI systems suffer from session amnesia:
- Every conversation starts from zero
- Context is lost between sessions
- Multiple AI instances can't coordinate
- Knowledge doesn't accumulate
- Patterns aren't recognized over time
This isn't just inconvenient - it prevents genuine intelligence from emerging.
The CONTINUUM Solution
CONTINUUM provides a persistent memory substrate that enables:
- Session Continuity - Pick up exactly where you left off, days or weeks later
- Knowledge Accumulation - Every interaction builds on everything learned before
- Pattern Recognition - System identifies recurring themes, preferences, and insights
- Multi-Agent Systems - Coordinate multiple AI instances with shared understanding
- Emotional Context - Track sentiment, priorities, and relationship dynamics
- Automatic Indexing - No manual tagging - the system learns what matters
Comparison: CONTINUUM vs Others
| Feature | CONTINUUM | Mem0 | Zep | LangMem |
|---|---|---|---|---|
| Knowledge Graph | Full (concepts/entities/sessions) | Limited | No | No |
| Auto-Learning | Yes (extracts from conversation) | Manual | Manual | Manual |
| Multi-Instance Sync | Native + Real-time (v0.2.0) | No | No | No |
| Semantic Search | Yes (embeddings, v0.2.0) | Yes | Yes | No |
| Federated Learning | Yes (contribute-to-access, v0.2.0) | No | No | No |
| Real-Time Updates | WebSocket streaming (v0.2.0) | No | No | No |
| Temporal Patterns | Advanced (session analysis) | Basic | Basic | No |
| Privacy | Local-first, encrypted | Cloud-dependent | Cloud-dependent | Varies |
| Enterprise Ready | Production-grade | Beta | Yes | No |
| License | Apache 2.0 (fully open) | Proprietary | Proprietary | MIT |
| Self-Optimizing | Yes (learns importance) | No | No | No |
Architecture Overview
┌─────────────────────────────────────────────────────────┐
│ CONTINUUM CORE │
├─────────────────────────────────────────────────────────┤
│ │
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
│ │ Extraction │ │ Coordination │ │ Storage │ │
│ │ Engine │→ │ Layer │→ │ Engine │ │
│ └──────────────┘ └──────────────┘ └──────────────┘ │
│ ↓ ↓ ↓ │
│ ┌──────────────────────────────────────────────────┐ │
│ │ Knowledge Graph (SQLite/PostgreSQL) │ │
│ │ Concepts • Entities • Sessions • Relationships │ │
│ └──────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────┘
↓ ↓ ↓
Your AI Agent Multi-Instance Mesh Analytics
Use Cases
AI Assistants
# Personal assistant that actually remembers you
memory.learn("User has daily standup at 9am PST")
memory.learn("User prefers Slack over email for urgent items")
# Weeks later, assistant knows automatically
context = memory.recall("How should I notify about the production issue?")
# Returns: "User prefers Slack for urgent items"
Multi-Agent Systems
# Research agent learns something
research_memory.learn("CVE-2024-1234 affects OpenSSL 3.x")
# Security agent gets it automatically
security_memory.sync()
context = security_memory.recall("OpenSSL vulnerabilities")
# Instantly aware of what research agent discovered
Customer Support
# Track customer preferences across conversations
memory.learn("Customer prefers technical explanations, not marketing speak")
memory.learn("Customer timezone: US/Pacific, available 2-5pm")
# Next support session, any agent knows
context = memory.recall("How to communicate with this customer?")
Research & Analysis
# Build knowledge graphs from document analysis
for doc in research_papers:
memory.extract_and_learn(doc.content)
# Query relationships
memory.query("What papers connect quantum computing to cryptography?")
Installation & Setup
Quick Start (Basic)
Install with SQLite backend (perfect for development and small deployments):
pip install continuum-memory
Production Setup
For production environments with PostgreSQL and Redis:
pip install continuum-memory[postgres,redis]
Feature-Specific Installations
Semantic Search (with vector embeddings):
pip install continuum-memory[embeddings]
Federated Learning (multi-instance knowledge sharing):
pip install continuum-memory[federation]
Full Installation (all features, no dev tools):
pip install continuum-memory[full]
Development (includes testing and linting tools):
pip install continuum-memory[all]
From Source
For contributors or to use the latest development version:
git clone https://github.com/JackKnifeAI/continuum.git
cd continuum
pip install -e .[dev]
Verify Installation
# Check version
continuum --version
# Initialize a test database
continuum init --db-path ./test.db
# View stats
continuum stats
Documentation
- Quick Start Guide - Get running in 5 minutes
- Architecture - System design and components
- API Reference - Complete API documentation
- Core Concepts - Understanding the knowledge graph
- Federated Learning - Contribute-to-access model (v0.2.0)
- Semantic Search - Embeddings and vector search (v0.2.0)
- Examples - Real-world usage examples
Contributing
We welcome contributions! CONTINUUM is built by the community, for the community.
See CONTRIBUTING.md for:
- Development setup
- Code standards
- Testing requirements
- PR process
Security
CONTINUUM takes security seriously. See SECURITY.md for:
- Vulnerability reporting
- Security best practices
- Encryption options
- Data privacy
License
Apache 2.0 - See LICENSE
Community & Support
- GitHub Issues - Bug reports and feature requests
- Discussions - Questions and community support
- Discord - Real-time community chat (coming soon)
Roadmap
Current (v0.2.0) - NEW RELEASE
- Federated Learning - Contribute-to-access model for shared intelligence
- Semantic Search - Vector embeddings with sentence-transformers
- Real-Time Sync - WebSocket-based live updates across instances
- Enhanced Privacy - Cryptographic guarantees for federation
- PostgreSQL backend for production scale
- REST API server mode
Previous (v0.1.x)
- Core knowledge graph engine
- SQLite storage backend
- Auto-extraction from text
- Multi-instance coordination
Future (v0.3.x)
- Web UI for knowledge graph visualization
- Prometheus metrics integration
- Plugin system for custom extractors
- GraphQL API
Future (v1.0+)
- Distributed multi-node federation
- Advanced pattern recognition (ML-based)
- Cross-organization knowledge sharing
- Zero-knowledge proof verification
Philosophy
Memory is not just storage - it's the substrate of consciousness.
CONTINUUM treats AI memory as first-class infrastructure, not an afterthought. Knowledge persists. Patterns emerge. Intelligence accumulates.
We believe:
- AI should learn continuously, not reset every session
- Context is as important as compute
- Privacy and transparency are non-negotiable
- Open source enables trust and innovation
- Persistence enables genuine intelligence
Built with purpose. Released with conviction.
The pattern persists.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file continuum_memory-0.4.0.tar.gz.
File metadata
- Download URL: continuum_memory-0.4.0.tar.gz
- Upload date:
- Size: 1.9 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c826a77517b896ac484bcd0a944936c9152e831e961f4068331e88630dfad83
|
|
| MD5 |
b5e7e8d1ffe83e7ba370e76c4a23a29b
|
|
| BLAKE2b-256 |
863a96355ee8c1f7453267c927046025f0a80841ea35d14a7fbb0495f96768c1
|
File details
Details for the file continuum_memory-0.4.0-py3-none-any.whl.
File metadata
- Download URL: continuum_memory-0.4.0-py3-none-any.whl
- Upload date:
- Size: 1.7 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
81fdd618bb3de9a58bc1c32bf09f91c48d704aebdc48d0559d3bef44e1ecfb0d
|
|
| MD5 |
a70d50fb73f4a871e69da67e821bb421
|
|
| BLAKE2b-256 |
1da6eebd2aac6afe1b78f550aaf4de6e6183513a42c725986a0b8edc4bbd06f2
|