Skip to main content

A memory system that prevents repeated failures by learning from past mistakes.

Project description

Status: v0.1.0 beta — the package is installable and tested, but the state schema may still change before v1.0.

Continuum Memory

Memory should prevent failure.

Continuum is a structured memory system for AI coding agents. It records project decisions, constraints, rejected paths, lessons, and tests so an agent can avoid repeating known mistakes. It is not a general-purpose knowledge base, a replacement for project documentation, or a raw chat-history store.

The core rule is: the model proposes, the system verifies. Reviewer models can suggest memory candidates, but durable state is written only after deterministic validators check structure, evidence, specificity, sensitivity, and contradictions.

Install

pip install continuum-recall

The PyPI distribution name is continuum-recall. The Python import name is continuum.

Five-Minute Quickstart

This flow uses the default rule-based reviewer and does not require Ollama.

continuum init
continuum add "Decision: use AGPL-3.0-or-later"
continuum review
continuum state
continuum packet --task "write the README license section"

The packet includes the license decision as task-specific context and writes a copy under .continuum/packets/.

What Continuum Stores

Continuum creates a .continuum/ directory in your workspace:

  • events.jsonl: append-only source events.
  • state.json: validated continuity items.
  • ignored.jsonl: rejected candidates and validator reasons.
  • diffs/: review diffs.
  • packets/: generated context packets.
  • ablation/: causal impact results.
  • index/: search indexes.
  • logs/reviewer.log: reviewer and validator logs.

All durable IDs and timestamps are minted by storage code, not by reviewer models.

CLI Surface

Common commands:

Command Description
continuum init Initialize a workspace.
continuum add "<text>" Append a manual event and run review.
continuum review Run the review cycle.
continuum state Show state summary or JSON.
continuum packet --task "<task>" Build a ranked context packet.
continuum search "<query>" Search active items.
continuum test Run deterministic memory tests.
continuum ablate <id> --task "<task>" Measure single-item causal impact.

Optional Ollama Reviewer

The default reviewer is deterministic and model-free. An Ollama-backed reviewer committee is available by configuration, but Ollama is optional and not required for the getting-started flow.

Documentation

The documentation site covers architecture, context packets, memory tests, ablation, ContinuumBench, prior art, licensing, CLI, and SDK usage.

License

Continuum Memory is licensed under AGPL-3.0-or-later, with a commercial dual-license option for organizations that cannot use AGPL software in closed-source or hosted products.

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

continuum_recall-0.1.0.tar.gz (154.8 kB view details)

Uploaded Source

Built Distribution

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

continuum_recall-0.1.0-py3-none-any.whl (103.7 kB view details)

Uploaded Python 3

File details

Details for the file continuum_recall-0.1.0.tar.gz.

File metadata

  • Download URL: continuum_recall-0.1.0.tar.gz
  • Upload date:
  • Size: 154.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for continuum_recall-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0fe7cb72488eb24f382767ec22ba715ca68c302fd21deebafb667e9f8b904c89
MD5 e805b1a22e35c66f65f7e1c7b117022c
BLAKE2b-256 2ac81909c6bcf5177af0057ff69ee6ba43057f405394d626c0a7f68907df196f

See more details on using hashes here.

Provenance

The following attestation bundles were made for continuum_recall-0.1.0.tar.gz:

Publisher: publish.yml on gutsy03/continuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file continuum_recall-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for continuum_recall-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1be9cb13e93ce4c7413715c9a26f41300e5faba26303d72d8bd653212c802955
MD5 f685a0a028528aea3dff9984a9ec5b2a
BLAKE2b-256 d4adeacc7ca31a75b6f7a13f9acc9aa628846e248d9c8842e09e481a6aabcd3c

See more details on using hashes here.

Provenance

The following attestation bundles were made for continuum_recall-0.1.0-py3-none-any.whl:

Publisher: publish.yml on gutsy03/continuum

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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