Skip to main content

Cross-project signal federation layer for Chicory memory systems

Project description

Chicory Commons

Cross-project signal federation layer for Chicory memory systems. Lets multiple Chicory instances share signals through a shared SQLite database, so the commons builds its own tensor network from cross-project activity.

Install

pip install chicory-commons-man

This pulls in chicory-man as a dependency.

How It Works

Each Chicory project instance emits signals when memories are stored, retrieved, or when synchronicities are detected. These signals are buffered and written to a shared commons SQLite database.

A signal processor reads pending signals and converts them into commons memories with dual tags:

  • Project-namespaced: projectname:tagname (scoped to the source project)
  • Shared: tagname (bridges across projects)
  • Meta: projectname, store/retrieve/synchronicity

The commons database is itself a regular Chicory instance — all existing layers (trends, phase space, synchronicity detection, prime Ramsey lattice) operate on the signal-derived data.

Configuration

Set these environment variables (or in .env):

CHICORY_COMMONS_ENABLED=true
CHICORY_COMMONS_DB_PATH=~/.chicory/commons.db
CHICORY_COMMONS_PROJECT_ID=my-project

Backfill Existing Memories

To populate the commons with signals from an existing Chicory project:

chicory-commons-backfill --project-id my-project --project-db ~/.chicory/chicory.db --commons-db ~/.chicory/commons.db

Components

  • SignalEmitter — Buffers store/retrieve signals, flushes sync events immediately. Runs a background thread for periodic flushing.
  • SignalProcessor — Reads pending signals from commons DB, converts to memories with dual-tag scheme, batch embeds.
  • backfill — CLI tool to retroactively emit signals from existing project memories.

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

chicory_commons_man-0.1.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

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

chicory_commons_man-0.1.0-py3-none-any.whl (12.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chicory_commons_man-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for chicory_commons_man-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2d457231d398106d4e3cef3becbf5c151f31ec4906bed0014b370903c91efb24
MD5 54ab6702ae395df22f45cf3bdb0ecaa5
BLAKE2b-256 2791d2a4c04b01363de3f90e3270947c305d3bac08da175449930b6bc184bd83

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for chicory_commons_man-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9851801d615c965a452797d1be204f6ff9223b09bc298488d69a388c9eb60b68
MD5 507d79bb436843d9c3d4337bf31518ae
BLAKE2b-256 e42dd4776f0caf462df034563c512da1a98fc7d3515abc0db85c2d110d2266a7

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