Skip to Content
Aionis currently ships as a local-first Lite Runtime for developer machines and self-managed deployments.
API ReferenceOverview

API Reference

The product facade is the recommended public API surface. Use it before reaching for lower-level Runtime routes.

observe -> guide -> feedback -> measure -> snapshot

Product Endpoints

EndpointPurposeSDK method
/v1/observeRecord ordinary memory and execution evidenceobserve, remember, execution.observeStep
/v1/guideCompile governed Agent contextguide, execution.guideForRole
/v1/feedbackAttribute outcome to exposed memoryfeedback, execution.feedbackFromOutcome
/v1/measureReport product effectmeasure, execution.measureRun
/v1/operator/snapshotCreate operator snapshotoperatorSnapshot, snapshot, execution.snapshotRun
/v1/memory/governGovern external backend memorygovernMemory, governMem0SearchResults
/v1/audit/flight-recorderReplay an Agent decisionflightRecorder
/v1/rehydrateExpand archived or pointer-only evidencerehydrate

Shared Request Fields

FieldMeaning
tenant_idLogical tenant. Local Lite commonly uses default.
scopeProject, repo, workspace, or task boundary for recall and governance.
actorHuman or service actor performing the request.
consumer_agent_idAgent that will consume a guide.
consumer_team_idShared team lane for multi-agent memory.
run_idExecution run identifier.
task_signatureStable task or workflow identity.

The most common integration bug is scope mismatch: observe writes into one scope, guide reads from another, and the host thinks memory is missing.

Agent Context Modes

ModeUse when
compact_agentYou want bounded prompt text for an Agent.
full packet outputYou are building an operator UI or debugger.

The SDK defaults guide mode to full_power, then lets you request context_mode: "compact_agent" for prompt-ready context.

Error Boundary

The product facade returns bounded error payloads and avoids leaking local store paths. Treat non-2xx as structured Runtime feedback rather than plain text.

Local Lite Boundary

The public package currently ships as a local-first Lite Runtime:

BoundaryCurrent behavior
AuthLocal Lite defaults to auth off and loopback binding.
Multi-tenant serviceNot the current product edition.
StorageLocal SQLite.
External memorySupported through /v1/memory/govern as read-only candidates.

For installation, start with Quickstart. For SDK usage, start with TypeScript SDK.