Skip to Content
Aionis v0.3.2 is the current Runtime baseline for SDK/API hosts, MCP clients, plugins, Substrate-backed recall, and self-managed agent loops.
API ReferenceCore LoopOverview

Core Loop

The core product loop is the recommended API path for Agent hosts:

observe -> guide -> agent action -> feedback -> measure
EndpointCall it when
POST /v1/observeThe host has memory, execution evidence, validation output, or handoff state to record.
POST /v1/guideThe Agent needs governed context before acting.
POST /v1/feedbackThe host knows whether exposed memory helped or hurt.
POST /v1/measureThe host wants a product effect report for the loop.

Shared fields

FieldMeaning
tenant_idLogical tenant boundary. Local installs usually use default.
scopeProject, repo, workspace, or task boundary. Keep it stable across observe and guide.
run_idExecution session identifier.
task_signatureStable task or workflow identity.
consumer_agent_id / agent_idAgent identity for context and attribution.
consumer_team_id / team_idShared lane for planner, worker, verifier, reviewer, and handoff flows.

The Runtime adds defaults for local development, but production-quality host loops should pass stable identity explicitly.

SDK base

import { createAionisClient } from "@aionis/sdk"; const aionis = createAionisClient({ baseUrl: "http://127.0.0.1:3001", scope: "checkout-migration", });

HTTP base

curl -s http://127.0.0.1:3001/health

Start with POST /v1/observe.