Agentome — coordinate index layer for agent context, powered by Helix Context
Project description
Agentome
Coordinate index layer for agent context — Agentome weighs, doesn't retrieve.
Agentome is a framework for treating AI agent context like a biological genome: compress, store, and emit a verdict on what to trust versus what to reread — instead of stuffing raw text into context windows.
This package is a thin identity wrapper around
Helix Context, the
reference implementation. pip install agentome pulls
helix-context and re-exports the full public API.
Install
# Core (server + packet mode, no optional backends)
pip install agentome
# Recommended for daily use — launcher + tray + OTel + MCP + codec
pip install agentome[all]
Both commands install the engine under the hood. If you want the full deps list resolved, see the Full dependency matrix section below.
Quick Start
from agentome import (
HelixContextManager, load_config,
ContextItem, ContextPacket, RefreshTarget,
)
from agentome.context_packet import build_context_packet
config = load_config()
manager = HelixContextManager(config)
# Ingest — provenance (source_kind, volatility, last_verified_at)
# auto-populated from the file extension.
manager.ingest(open("src/main.py").read(),
content_type="code",
metadata={"path": "/repo/src/main.py"})
# Decoder path — full assembled context for a downstream LLM
window = manager.build_context("How does auth work?")
print(window.expressed_context)
print(window.context_health.resolution_confidence) # 0.0-1.0
# Index path — agent-safe packet with verdict + refresh plan
packet = build_context_packet("How does auth work?",
task_type="edit",
genome=manager.genome)
for item in packet.verified:
print(f"[{item.status}] {item.source_id} truth={item.live_truth_score:.2f}")
for target in packet.refresh_targets:
print(f"reread: {target.source_id} reason={target.reason}")
What is an Agentome?
An Agentome is the complete set of compressed, structured knowledge that an AI agent carries as persistent memory, plus the pathway layer that tells the agent which parts of that memory it should trust versus go re-verify. The weighing is as load-bearing as the storage.
- Genes store compressed knowledge units (code, docs, conversations)
- Promoter tags enable fast retrieval by topic
- Provenance fields (source_kind, volatility_class, last_verified_at) drive task-sensitive freshness labeling
- Coordinate confidence measures whether retrieval landed in the right region, not just whether the words overlap
- Co-activation (
harmonic_links) builds associative memory over time - Replication grows the genome from every conversation
The concept is described in the research paper: The Agentome
Agentome vs Helix Context
| Agentome | Helix Context | |
|---|---|---|
| What | The concept / framework | The implementation |
| Analogy | "Genome" | "Human Genome Project" |
| Package | pip install agentome |
pip install helix-context |
| API | Re-exports Helix Context | The actual engine |
| Extras | Mirror helix-context's | [launcher], [codec], [mcp], etc. |
| Version policy | Locked to helix-context | Semver, beta-track |
Use agentome in application code for the framework framing
(from agentome import ...). Use helix-context in infrastructure
code that you want to make obvious is wired to the engine. Both
imports resolve to the same Python objects.
Full dependency matrix
Core pip install agentome installs:
| Package | Version | Source | Why |
|---|---|---|---|
| helix-context | >=0.4.0b1 |
SwiftWing21/helix-context | The engine |
| fastapi | >=0.110 |
via helix-context | HTTP server |
| uvicorn | >=0.29 |
via helix-context | ASGI runtime |
| httpx | >=0.27 |
via helix-context | HTTP client (proxy + probes) |
| pydantic | >=2.6 |
via helix-context | Schema models |
That's enough to run agentome (alias for helix), the HTTP
server, and /context / /context/packet with a SQLite genome.
Optional extras
Every extra mirrors the corresponding helix-context extra.
pip install agentome[X] == pip install helix-context[X] in
dep resolution.
| Extra | Pulls | Enables |
|---|---|---|
accel |
orjson | Faster JSON encode/decode |
embeddings |
numpy, sentence-transformers, torch (transitive) | SEMA 20D cold-tier retrieval |
cpu |
spacy | CpuTagger for entities (NER) |
mcp |
mcp>=1.0 | Run python -m helix_context.mcp_server for Claude Code / Cursor / Claude Desktop integration |
nli |
torch, transformers | DeBERTa relation-graph NLI backend (standalone; embeddings pulls these transitively) |
otel |
opentelemetry-sdk + exporter + instrumentation | Metrics + traces to Grafana/Prometheus when HELIX_OTEL_ENABLED=1 |
launcher |
jinja2, psutil | Supervisor launcher (helix-launcher CLI, :11438 dashboard) |
launcher-native |
jinja2, psutil, pywebview | Launcher with native window wrapper |
launcher-tray |
jinja2, psutil, pystray (LGPL-3), Pillow | Launcher with system tray icon |
ast |
tree-sitter + 4 language grammars | AST-aware code chunking |
scorerift |
scorerift | Divergence monitoring bridge |
codec |
headroom-ai[proxy,code]>=0.5.21 | Recommended — CPU-resident semantic compression (Headroom by Tejas Chopra, Apache-2.0). Replaces character-level truncation in the expression pipeline. See NOTICE. |
dev |
pytest, pytest-asyncio | Contributor test suite |
all |
Every extra except dev, launcher-tray, launcher-native |
The full feature surface |
Non-pip runtime deps
Some features need infrastructure outside the Python dep graph. None of these are required to start the server.
| Dependency | When | Install |
|---|---|---|
| Python 3.11+ | always | python.org or your OS package manager |
| SQLite FTS5 | retrieval (Tier 3) | Bundled with Python's sqlite3 on all mainstream builds. Verify with python -c "import sqlite3; sqlite3.connect(':memory:').execute('CREATE VIRTUAL TABLE t USING fts5(x)')" |
| Ollama | default [ribosome] backend = "ollama" + /v1/chat/completions answer generation |
ollama.com — ships a local ollama serve on :11434 |
| spaCy model | [cpu] extra for NER |
python -m spacy download en_core_web_sm (after installing the cpu extra) |
| OTel collector | [otel] extra + HELIX_OTEL_ENABLED=1 |
Any OTLP/gRPC collector on HELIX_OTEL_ENDPOINT (default localhost:4317). Typically paired with Prometheus + Grafana. |
Recommended install profiles
For different use cases, here's what to pull:
# Minimal — just serve /context and /context/packet with SQLite
pip install agentome
# Agent host (Claude Code, Cursor, MCP-aware tool)
pip install agentome[mcp,codec]
# Daily developer — everything you'd realistically use
pip install agentome[all,launcher]
# Observability stack
pip install agentome[all,otel,launcher]
# CI / bench / tests
pip install agentome[all,dev]
Headroom composition (the compression path)
Agentome's default install uses character-level truncation for gene
content — works but leaves compression quality on the table. With
pip install agentome[codec], the expression pipeline routes through
Headroom (Tejas Chopra, chopratejas/headroom)
instead:
- Kompress — ModernBERT ONNX-based semantic compression (fast CPU)
- CodeAwareCompressor — language-aware for code content
- LogCompressor / DiffCompressor — contextual compressors for structured text
Headroom is opt-in to keep the core Agentome install small. When installed, Agentome activates it transparently — no code changes. Composition rule: prefer Headroom when it's available, fall back to char truncation when not.
Full Documentation
See the Helix Context README for complete documentation including:
- Two product surfaces (
/contextdecoder path +/context/packetagent-safe index path) - Weighing layer (freshness × authority × specificity × coord confidence)
- Pipeline lane reference
- Delta-epsilon health monitoring
- Horizontal Gene Transfer (genome export / import)
- Continue IDE integration
- MCP tool surface
- ScoreRift divergence detection bridge
License
Apache 2.0
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 agentome-0.4.0b1.tar.gz.
File metadata
- Download URL: agentome-0.4.0b1.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
03c29fbd24ecd8797c1f838fb0928043b6b541ed0ecb52b06e13b5a487c0963f
|
|
| MD5 |
2b985ee2dbba02480ed5281fe1b7c5ac
|
|
| BLAKE2b-256 |
1dc7b67b595c40b7182e4cbcbcbb37a55c171008f4d0b254d7c678f596594a54
|
Provenance
The following attestation bundles were made for agentome-0.4.0b1.tar.gz:
Publisher:
publish.yml on SwiftWing21/agentome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentome-0.4.0b1.tar.gz -
Subject digest:
03c29fbd24ecd8797c1f838fb0928043b6b541ed0ecb52b06e13b5a487c0963f - Sigstore transparency entry: 1339689102
- Sigstore integration time:
-
Permalink:
SwiftWing21/agentome@f82ee3c7ba74855fb67173f3a91332c3e0941398 -
Branch / Tag:
refs/tags/v0.4.0b1 - Owner: https://github.com/SwiftWing21
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f82ee3c7ba74855fb67173f3a91332c3e0941398 -
Trigger Event:
release
-
Statement type:
File details
Details for the file agentome-0.4.0b1-py3-none-any.whl.
File metadata
- Download URL: agentome-0.4.0b1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3db5dbc2dfbfeca106fec7463c1536ac1157deb86e5e44f063c9566b907b6a64
|
|
| MD5 |
4632bedea29a3c70f5c32969a1f87254
|
|
| BLAKE2b-256 |
3e6f900396135e2a26e10dca0af10077dd52b046888d3ad087774e4a55caa8cc
|
Provenance
The following attestation bundles were made for agentome-0.4.0b1-py3-none-any.whl:
Publisher:
publish.yml on SwiftWing21/agentome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentome-0.4.0b1-py3-none-any.whl -
Subject digest:
3db5dbc2dfbfeca106fec7463c1536ac1157deb86e5e44f063c9566b907b6a64 - Sigstore transparency entry: 1339689122
- Sigstore integration time:
-
Permalink:
SwiftWing21/agentome@f82ee3c7ba74855fb67173f3a91332c3e0941398 -
Branch / Tag:
refs/tags/v0.4.0b1 - Owner: https://github.com/SwiftWing21
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f82ee3c7ba74855fb67173f3a91332c3e0941398 -
Trigger Event:
release
-
Statement type: