Last reviewed: 2026-03-20
This document records the current public API surface of the standalone Aionis repository.
Named execution-memory mainline:
Anchor-Guided Rehydration Loop
Definition:
stable execution -> workflow anchor -> recall -> runtime hint -> optional rehydration
Named execution-policy loop:
Execution Policy Learning Loop
Definition:
feedback -> pattern -> recall -> selector reuse
It is intentionally stricter than the full runtime. When a surface is not part of Aionis, the host should either:
- not register it at all, or
- return a structured
501
Primary routing sources:
src/host/http-host-sdk-demo.tssrc/host/lite-edition.tssrc/routes/*.ts
Related packet/provenance reference:
- docs/LITE_PLANNER_PACKET_AND_PROVENANCE_CONTRACT.md
- docs/LITE_EXECUTION_NATIVE_ROUTE_CONTRACT.md
- docs/LITE_EXECUTION_MEMORY_INTEGRATOR_GUIDE.md
Endpoint status labels used below:
SupportedThe route is registered in Lite and intended for normal use.Supported (Subset)The route group exists in Lite, but only a reduced Lite-local subset is available.ConditionalThe route is available only when the relevant Lite config is enabled.Unsupported (501)The route or route group is intentionally unavailable in Lite and returns a structured501.
| Method | Path | Status | Notes |
|---|---|---|---|
GET |
/health |
Supported | Stable Lite health contract with runtime, storage, lite, and sandbox envelopes. |
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/write |
Supported | Primary local memory write path. |
POST |
/v1/handoff/store |
Supported | Local handoff persistence. |
POST |
/v1/handoff/recover |
Supported | Local handoff recovery. |
This is one of Lite's Supported (Subset) surfaces. The following routes are present:
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/sessions |
Unsupported in public Lite demo | Session graph routes have moved out of the public SDK demo surface. |
GET |
/v1/memory/sessions |
Unsupported in public Lite demo | Session graph routes have moved out of the public SDK demo surface. |
POST |
/v1/memory/events |
Unsupported in public Lite demo | Session-event writes are no longer part of the public SDK demo surface. |
GET |
/v1/memory/sessions/:session_id/events |
Unsupported in public Lite demo | Session graph routes have moved out of the public SDK demo surface. |
POST |
/v1/memory/packs/export |
Supported | Local pack export; no admin token required in Lite. |
POST |
/v1/memory/packs/import |
Supported | Local pack import; no admin token required in Lite. |
POST |
/v1/memory/find |
Supported | Local graph/search lookup. |
POST |
/v1/memory/resolve |
Supported | Local node resolution. |
POST |
/v1/memory/execution/introspect |
Supported | Demo/introspection surface for execution memory. Aggregates workflow/pattern signals, maintenance summaries, and demo-ready text in one local response. |
POST |
/v1/memory/anchors/rehydrate_payload |
Supported | Anchor-linked payload rehydration by id or URI. In Lite, omitted actor defaults to the local actor identity, so private local anchors remain directly rehydratable through the normal single-user path. |
This route group is one half of the Anchor-Guided Rehydration Loop.
It serves the recall -> runtime hint portion of the loop.
Planner-packet contract:
planning_contextandcontext_assemblenow expose a stableplanner_packet- the packet sections are:
recommended_workflowscandidate_workflowscandidate_patternstrusted_patternscontested_patternsrehydration_candidatessupporting_knowledge
- both routes also expose canonical
pattern_signalsandworkflow_signals planning_summaryandexecution_kernelexposeaction_packet_summary, andexecution_kernelalso exposespattern_signal_summaryandworkflow_signal_summaryplanner_explanationnow follows packet order and explains workflow guidance, pattern trust, rehydration availability, and supporting knowledge append behavior- lower-level
context.itemsandcitationsmay now exposesummary_kind,execution_kind,anchor_kind, andcompression_layerso planner-facing consumers can distinguish action memory from supporting knowledge without re-parsing raw slots - heavy recall substrate and demo-facing aggregation have moved to
POST /v1/memory/execution/introspect
Recommended integrator read path:
- prefer
planner_packet.sections.*for full workflow/pattern/rehydration collections - read
workflow_signalsandpattern_signalsdirectly as canonical signal surfaces - read
planning_summary/assembly_summaryandexecution_kernelfor compact aligned state
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/recall |
Supported | Core Lite recall path. |
POST |
/v1/memory/recall_text |
Supported | Context-runtime text recall. |
POST |
/v1/memory/planning/context |
Supported | Planning-context assembly. |
POST |
/v1/memory/context/assemble |
Supported | Final context assembly route. |
The tooling surface now also supports the Execution Policy Learning Loop, the local tool-memory loop that grows pattern anchors from validated tool outcomes.
Selector rule:
- explicit rule/policy
tool.preferstays ahead of recalled trusted patterns - trusted patterns can still refine ordering after explicit preference, but they do not override explicit operator or rule intent
selection_summary.provenance_explanationnow uses the same trust language family asplanner_explanation- the selection surface can therefore explicitly say whether a trusted pattern supported the selected tool, was available but not used, or was visible but not trusted
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/feedback |
Supported | Local rule-feedback write path. |
POST |
/v1/memory/rules/state |
Supported | Update local rule state. |
POST |
/v1/memory/rules/evaluate |
Supported | Evaluate Lite rules. |
POST |
/v1/memory/tools/select |
Supported | Local tool-selection decision path. |
POST |
/v1/memory/tools/decision |
Supported | Fetch a tool decision. |
POST |
/v1/memory/tools/run |
Supported | Fetch one tool run lifecycle. |
POST |
/v1/memory/tools/runs/list |
Supported | List tool runs. |
POST |
/v1/memory/tools/rehydrate_payload |
Supported | Runtime-friendly tool alias for anchor payload rehydration inside the Anchor-Guided Rehydration Loop. The normal Lite path inherits the default local actor, so planner/runtime hints can call it without restating identity. |
POST |
/v1/memory/tools/feedback |
Supported | Store tool-selection feedback and distill validated tool outcomes into local pattern anchors. |
The replay kernel is present in Lite and is one of the major product subsystems.
It is also the producer side of the Anchor-Guided Rehydration Loop, where stable executions become workflow anchors.
Producer rule:
- newly promoted stable playbooks are written as workflow anchors
- if the latest playbook is already
shadoworactive, Lite normalizes that same latest node into a workflow anchor instead of leaving pre-anchor stable versions behind
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/replay/run/start |
Supported | Start a replay run. |
POST |
/v1/memory/replay/step/before |
Supported | Record pre-step state. |
POST |
/v1/memory/replay/step/after |
Supported | Record post-step state. |
POST |
/v1/memory/replay/run/end |
Supported | End a replay run. |
POST |
/v1/memory/replay/runs/get |
Supported | Fetch one replay run. |
POST |
/v1/memory/replay/playbooks/compile_from_run |
Supported | Compile a playbook from a replay run. |
POST |
/v1/memory/replay/playbooks/get |
Supported | Fetch a playbook. |
POST |
/v1/memory/replay/playbooks/candidate |
Supported | Candidate evaluation path. |
POST |
/v1/memory/replay/playbooks/promote |
Supported | Promote a playbook version. |
POST |
/v1/memory/replay/playbooks/repair |
Supported | Repair a playbook definition. |
This is a Supported (Subset) surface in Lite. The Lite routes are local-only and do not imply the full server governance model.
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/replay/playbooks/repair/review |
Supported (Subset) | Lite keeps endpoint-scoped repair review behavior, not tenant-scoped control-plane overlays. |
POST |
/v1/memory/replay/playbooks/run |
Supported (Subset) | Local playbook execution path. |
POST |
/v1/memory/replay/playbooks/dispatch |
Supported (Subset) | Local dispatch path. |
Lite automation is intentionally a local playbook-driven kernel, not the full server orchestration surface.
Supported definition and run routes:
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/automations/create |
Supported | Create a Lite automation definition. |
POST |
/v1/automations/get |
Supported | Fetch one definition. |
POST |
/v1/automations/list |
Supported | List Lite automation definitions. |
POST |
/v1/automations/validate |
Supported | Validate a Lite automation payload. |
POST |
/v1/automations/graph/validate |
Supported | Graph validation alias. |
POST |
/v1/automations/run |
Supported | Run a Lite automation graph. |
POST |
/v1/automations/runs/get |
Supported | Fetch one run. |
POST |
/v1/automations/runs/list |
Supported | List runs. |
POST |
/v1/automations/runs/cancel |
Supported | Cancel a paused or active run where allowed. |
POST |
/v1/automations/runs/resume |
Supported | Resume approval-gated Lite runs. |
Supported node kinds:
playbookapprovalconditionartifact_gate
Unsupported governance/orchestration routes:
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/automations/assign_reviewer |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/promote |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/shadow/report |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/shadow/review |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/shadow/validate |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/shadow/validate/dispatch |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/assign_reviewer |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/approve_repair |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/reject_repair |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/compensation/retry |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/compensation/record_action |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/runs/compensation/assign |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/compensation/policy_matrix |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
POST |
/v1/automations/telemetry |
Unsupported (501) | Returns automation_feature_not_supported_in_lite. |
Sandbox is available in Lite and is now enabled by default for ordinary local users.
Runtime notes:
- default mode is still
mock npm run start:lite:local-processenables the narrowlocal_process_echopreset- if
SANDBOX_ADMIN_ONLY=true, the sandbox routes still require the admin token - if
SANDBOX_ENABLED=false, sandbox routes return a structured400
Supported sandbox routes:
| Method | Path | Status | Notes |
|---|---|---|---|
POST |
/v1/memory/sandbox/sessions |
Conditional | Available when SANDBOX_ENABLED=true. |
POST |
/v1/memory/sandbox/execute |
Conditional | Sync and async execution entrypoint. |
POST |
/v1/memory/sandbox/runs/get |
Conditional | Fetch one run. |
POST |
/v1/memory/sandbox/runs/logs |
Conditional | Fetch stdout/stderr logs. |
POST |
/v1/memory/sandbox/runs/artifact |
Conditional | Fetch one declared artifact. |
POST |
/v1/memory/sandbox/runs/cancel |
Conditional | Cancel a queued or active run. |
These route groups are intentionally owned by the full/server runtime and return server_only_in_lite.
| Method | Path | Status | Notes |
|---|---|---|---|
ALL |
/v1/admin/control/* |
Unsupported (501) | Admin/control-plane surface stays outside the standalone Aionis repository. |
ALL |
/v1/memory/archive/rehydrate* |
Unsupported (501) | Archive lifecycle restore is not implemented in Lite. |
ALL |
/v1/memory/nodes/activate* |
Unsupported (501) | Node lifecycle activation is not implemented in Lite. |
The current Aionis API shape means:
- Aionis is fully usable for local memory, replay, playbook, automation, sandbox, handoff, and pack flows.
- Aionis is intentionally not a control-plane product.
- Aionis automation is intentionally a local execution kernel, not a multi-tenant orchestration platform.
- If a route is missing from this document, it should be treated as non-contractual until explicitly added.