Guides
Pick the integration path that matches your stack, then dive into the control-plane primitives.
Getting started
Read these first. The pain-point map and a five-minute install-to-run walkthrough.
Integrations
Mount Entorin under whatever loop you already use — SDK or hand-written.
- Claude Agent SDK
Mount Entorin under the Claude Agent SDK via httpx transport, wrapped MCP sessions, and a per-run sandbox.
- Codex CLI / Codex SDK
Same shape as the Claude SDK path, but for the OpenAI wire format — Chat Completions and the newer Responses API both supported.
- LangGraph
Wrap each node and drive the graph through HITL — substrate primitives flow through the same RunContext / EventBus / Ledger as every other path.
- CrewAI
Bridge CrewAI's event bus into Entorin. Every Task and LLM event translates into the v1 taxonomy; the run-shared Ledger ticks on every LLM completion.
- Google ADK
Plug EntorinPlugin into a Runner. Every ADK lifecycle callback translates into the v1 Entorin taxonomy; the ledger ticks on every model response.
- LlamaIndex
Register an Entorin event handler on LlamaIndex's root dispatcher. LLM, retrieval, and agent-step events translate into the v1 taxonomy.
- Bare loop, no SDK
If you don't want a framework, you don't need one. A 50-line while loop inherits the full harness.
Primitives
Substrate primitives every harness reinvents — memory, lease, policy, fanout, retrieval, skills.
- Budget
One ledger, per-principal and per-bucket caps, three OverflowPolicy modes. The pre-call gate that runs before every wire activity.
- Memory
Identity-scoped, audited storage that survives a run. Backend-pluggable; the shipped reference adapters get out of the way once you have a real backend.
- Lease
Named coordination across runs and processes. Two parallel runs serialize on a shared resource without reinventing a lock service.
- Failure policy
Declarative dispatch from typed errors to recovery outcomes — retry, replan, skip, fallback to human, terminate.
- Failure burst
Count error events per scope. Emit a single failure.burst signal when the threshold trips, so cascade failures escalate instead of disappearing into the log.
- Agentic search (fanout)
Schedule N parallel branches, merge the results, audit the structural fork/join. Cumulative cost capped by the same budget gate as everything else.
- Retrieval
Tenant-scoped, audited query interface returning ranked Chunk records. Bring your own pgvector / Qdrant / Pinecone backend.
- Skills
Lazy-loaded, manifest-described code units with two dispatch paths — explicit invoke or event-trigger from the EventBus.
Trace replay
Saved traces become regression fixtures. Assert invariants without re-running the model.