API reference¶
The arcana package (from arcana-core) is the library you build agents with.
These pages are generated directly from the source docstrings via
mkdocstrings, so they stay in lockstep with
the code.
Top-level imports¶
from arcana import Agent, AgentRegistry, Card, CardRegistry, SessionManager
from arcana.models import ModelGateway, ConnectionStore
from arcana.evals import EvalHarness, EvalCase
from arcana.observability import configure_observability, get_audit_log
Module map¶
| Module | What it contains | Page |
|---|---|---|
arcana.agents |
Agent, AgentRegistry, SessionManager |
Agent |
arcana.cards |
Card, CardRegistry, CardEngine |
Cards |
arcana.types |
Pydantic models — ModelConnection, AgentRecord, Session, … |
Types |
arcana.models |
ModelGateway, ConnectionStore, adapters, errors, pricing |
Models |
arcana.memory |
SQLiteAdapter, VectorAdapter, MemoryFederation, MemoryRouter, resilience, schema migrations, errors |
Memory |
arcana.evals |
EvalHarness, judges, EvalCase |
Evals |
arcana.observability |
AuditLog, events, metrics, tracing |
Observability |