Skip to main content

Build long-lived multimodal memory, dream over it, and retrieve context with transparent weighting.

Project description

cellin

PyPI Version Release Passing

Cellin builds long-lived multimodal memory, dreams over it to consolidate ideas, and retrieves context with transparent weighted ranking.

Install

From source today:

git clone https://github.com/ben-ranford/cellin.git
cd cellin
make bootstrap

Install from PyPI:

python3 -m pip install cellin

Quickstart

From the repository root:

WORKSPACE=.cellin-workspace
python3 -m uv run cellin init --workspace "$WORKSPACE"
python3 -m uv run cellin ingest --config "$WORKSPACE/cellin.json" --input examples/starter/seed_envelopes.json
python3 -m uv run cellin retrieve --config "$WORKSPACE/cellin.json" --query "memory graph retrieval" --top-k 2
python3 -m uv run cellin dream --config "$WORKSPACE/cellin.json" --strategy abstraction
python3 -m uv run cellin eval run --suite smoke --config "$WORKSPACE/cellin.json" --output "$WORKSPACE/smoke.json"
python3 -m uv run cellin trace inspect --config "$WORKSPACE/cellin.json" --limit 5

See examples/starter/README.md for the same flow in a shorter checklist form.

Workspace config now supports role-specific storage backends:

{
  "runtime_id": "cellin-cli",
  "trace_path": "traces.jsonl",
  "profile_name": "balanced",
  "storage": {
    "memory": { "backend": "sqlite", "database_path": "cellin.sqlite" },
    "graph": { "backend": "sqlite", "database_path": "cellin.sqlite" },
    "vector": { "backend": "in_memory_vector_index" },
    "representation": { "backend": "in_memory_vector_index" }
  }
}

Legacy workspaces that only define database_path continue to work and are migrated to this shape behind the scenes.

Primary surfaces

  • CLI: cellin init, ingest, retrieve, dream, plugin list, eval run, trace inspect
  • Ingestion: cellin.ingest.ArtifactEnvelope and cellin.ingest.CanonicalIngestor
  • Retrieval: cellin.retrieval.WeightedRetriever, cellin.retrieval.RetrievalCandidateGenerator, and cellin.ranking.WeightedRanker
  • Dreaming: cellin.dreaming.DreamRunner plus the built-in deduplication, abstraction, and contradiction-repair strategies
  • Evals: cellin.evals.run_evaluation_suite and cellin.evals.run_smoke_eval
  • Extensibility: cellin.runtime.PluginRegistry and the contracts exported from cellin.core

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

cellin-0.3.0.dev2399664663501.tar.gz (127.7 kB view details)

Uploaded Source

Built Distribution

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

cellin-0.3.0.dev2399664663501-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

Details for the file cellin-0.3.0.dev2399664663501.tar.gz.

File metadata

  • Download URL: cellin-0.3.0.dev2399664663501.tar.gz
  • Upload date:
  • Size: 127.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cellin-0.3.0.dev2399664663501.tar.gz
Algorithm Hash digest
SHA256 ec1ccd45e035d0d9dc07ed2a86566304c49930944e530e9e377787294c687002
MD5 8dd297bf42649cc7c487be837e668999
BLAKE2b-256 b60199bad8821fbbdbd81e716a6401eb307bf8256f468bf71b7fbb9f3a7a96c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellin-0.3.0.dev2399664663501.tar.gz:

Publisher: rolling-release.yml on ben-ranford/cellin

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

File details

Details for the file cellin-0.3.0.dev2399664663501-py3-none-any.whl.

File metadata

File hashes

Hashes for cellin-0.3.0.dev2399664663501-py3-none-any.whl
Algorithm Hash digest
SHA256 be523e1d51453ecc0fdbfdec05448098116558602b27722404163552b87f0fc3
MD5 aafed762dda2f3a5f81c91045810d80c
BLAKE2b-256 1d1450b4b092405cf0e3ccb5b6d74a26f6eacbd62633dea1e9420478181a334c

See more details on using hashes here.

Provenance

The following attestation bundles were made for cellin-0.3.0.dev2399664663501-py3-none-any.whl:

Publisher: rolling-release.yml on ben-ranford/cellin

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