Documentation

Ship agents with a clear contract.

Blueprints, Run API, widgets, callbacks, and optional Zenith route-lease — the operator surface explained with live diagrams and copy-paste terminals.

Inference

Zenith route-lease

Agenticaria owns agents. Zenith owns model routing. When you connect them, Agenticaria requests a lease before chat — then selects the matching artifact and runs tools locally.

Boundary

Agenticaria does

  • Compile blueprints into model-specific artifacts
  • Eval and promote versions
  • Execute tools and keep receipts
  • Serve Run API and widget embeds

Zenith does

  • Pool providers and route traffic
  • Issue route leases before chat
  • Enforce fleet policy and residency
  • Never store prompts or run tools

Enable lease mode

Point inference at a Zenith OpenAI-compatible base and turn lease on. On retry_lease, the runtime refreshes and retries.

.env · zenith_gateway
# inference via Zenith gateway
AGENTICARIA_INFERENCE_MODE=zenith_gateway
AGENTICARIA_INFERENCE_BASE_URL=https://zenith.example/v1
AGENTICARIA_INFERENCE_API_KEY=zk_…
AGENTICARIA_ZENITH_ROUTE_LEASE=true
Standalone still works Skip Zenith entirely with AGENTICARIA_INFERENCE_MODE=standalone and any OpenAI-compatible upstream.