Package: chorusgraph · Version: 1.0.0 (additive APIs through 1.1.0)
Latest package: chorusgraph 1.1.0 on PyPI.
| Symbol | Purpose |
|---|---|
Graph, CompiledGraph |
Build and run native agent graphs |
NodeContext, START, END |
Node handlers and graph terminals |
wrap |
Attach Route Ledger to a compiled graph |
| Symbol | Purpose |
|---|---|
gate, seed_cache_entry |
Cache gate evaluation and seeding |
CortexMemoryService, get_cortex_service |
L3 Cortex memory |
ChorusStack |
Composed cache + memory + ledger + retrieval stack |
| Symbol | Purpose |
|---|---|
KeywordRetrievalBackend |
Zero-dep default retrieval |
PrismRAGRetrievalBackend |
Chroma vector + optional taxonomy remap |
with_retrieval() |
Swap retrieval port on ChorusStack |
to_retrieve_handler() |
Ready-made retrieve node |
Import via chorusgraph.compose — see docs/INSTALL.md and docs/PLUGINS.md.
| Symbol / API | Purpose |
|---|---|
index(..., partition=, version=) |
Encode corpus once per partition/version |
warm_retrieval() / retrieval_ready() / retrieval_stats() |
Boot-time L2 warmth on ChorusStack |
to_retrieve_handler(..., rerank_policy=, require_chunk_vectors=, partition=) |
Opt-in no-silent-re-embed rerank |
RetrievalStats |
query_embeds / corpus_embeds counters |
Defaults preserve 1.0.x (rerank_policy="embed_missing"). See ADR-005-warm-chunk-vectors.md.
| Symbol | Purpose |
|---|---|
Agent |
Unified agent — pattern="react" | "plan_solve" | "reflection" |
PlanPolicy |
Step/token budgets, on_exhaust behavior |
ReActOpts, PlanSolveOpts, ReflectionOpts |
Per-pattern knobs |
run_agent_loop |
Generic reason ↔ act ↔ route substrate |
AgentNode, agent_result_to_state |
Drop an Agent into a graph node |
run_react, run_plan_solve, run_reflection |
Convenience runners |
from chorusgraph.agents import Agent, PlanPolicySee docs/DEVELOPER_GUIDE.md §10–11. Belief-tier BeliefPolicy knobs are API-stable but disabled until calibration.
| Symbol | Purpose |
|---|---|
SqliteGraphStore |
Durable Cortex graph |
DataLifecycleManager |
Right-to-forget across layers |
migrate_file |
Schema migrations |
| Module | Purpose |
|---|---|
chorusgraph.resilience |
Retries, breakers, typed errors |
chorusgraph.security |
Tool sandbox, TLS policy, PII |
chorusgraph.observability |
Logs, traces, health endpoints |
chorusgraph.tenant |
Isolation and quotas |
Import the frozen surface via:
from chorusgraph.public import Graph, wrap, TenantContextInternal modules (core.scheduler, adapter internals) are not public API.