Aionis is an execution-memory runtime for building agents that learn workflows, trust patterns, and govern memory updates.
This repository is the public home of Aionis Suite and its first-party SDK.
Public product direction:
- Aionis Runtime
- Aionis Suite SDK
- adapters and integrations later
Planned distribution boundary:
@cognary/aionisis the primary open developer surface- runtime contracts and integration boundaries stay explicit
- the strongest runtime learning/governance layers can remain layered and selectively distributed
Package page:
SDK entry points:
- packages/sdk/README.md
- docs/SDK_QUICKSTART.md
- docs/SDK_PUBLISHING.md
- CLI:
npx @cognary/aionis doctor
Recommended mental model:
- Aionis captures execution evidence, not just chat history
- Aionis turns repeated execution into stable workflow guidance and trusted patterns
- Aionis exposes that behavior through a local runtime today and a first-party SDK surface next
Important product boundary:
- MCP, Codex, IDE, and host integrations are adapter layers
- they should not be treated as the primary Aionis identity
- the primary identity is the runtime plus SDK
- the public adoption wedge is the SDK, not full exposure of every runtime-internal capability
Current repository focus:
- runtime/core
- SQLite-backed local memory
- execution-memory routes and contracts
- benchmark, regression gating, and real validation
- SDK-first release preparation
Core source areas:
- src/app
- src/execution
- src/memory
- src/routes
- src/store
- src/runtime-entry-sdk-demo.ts
- src/index-sdk-demo.ts
Primary docs:
- docs/LITE_EXECUTION_MEMORY_INTEGRATOR_GUIDE.md
- docs/LITE_API_CAPABILITY_MATRIX.md
- docs/LITE_EXECUTION_NATIVE_ROUTE_CONTRACT.md
- docs/LITE_TESTING_STRATEGY.md
- docs/LITE_REAL_TASK_BENCHMARK_REPORT.md
- docs/AIONIS_0_1_0_RELEASE_NOTE.md
- docs/plans/2026-03-23-aionis-sdk-release-design.md
Everything else in this repository should be read as runtime/internal reference material, not as the final public SDK surface.
Quick start:
nvm use
npm install
npm run start:lite:sdk-demoOr use the published SDK CLI against a checked-out public repo:
npx @cognary/aionis dev --repo /path/to/Aionisnpm run build is still available as a packaging/contract check, but Aionis startup no longer depends on a prebuilt wrapper artifact.
Aionis is for agent and runtime builders who want memory to behave like execution infrastructure instead of a generic note store.
Current mainlines:
- workflow learning from repeated execution continuity
- pattern learning from repeated tool feedback
- planner-visible workflow guidance and rehydration
- governed memory behavior on replay, workflow, and tools paths
Current technical posture:
- real-task benchmark baseline currently passes
14/14 - benchmark/profile regression gates are in place
- real external LLM governance shadow validation has already been run without governed outcome drift on the benchmark suite
This means the runtime is no longer only internally self-consistent. It has already been validated against a real external governance backend in shadow mode.
The next public-facing step for Aionis is a first-party SDK.
Recommended release stance:
- keep
@cognary/aionisopen and easy to adopt - keep runtime contracts explicit
- treat deeper runtime learning/governance implementation as a controlled layer, not a mandatory open-source surface
Recommended SDK v1 surface:
memory.writememory.planningContextmemory.contextAssemblememory.executionIntrospectmemory.tools.selectmemory.tools.feedbackmemory.replay.repairReviewmemory.anchors.rehydratePayload
Recommended public hierarchy:
- Aionis Runtime
- Aionis Suite SDK
- adapters like MCP or Codex integrations later
For the current SDK release design, see:
- docs/plans/2026-03-23-aionis-sdk-release-design.md
- docs/SDK_QUICKSTART.md
- docs/SDK_PUBLISHING.md
- docs/OPEN_CORE_BOUNDARY.md
Aionis now defaults replay, playbook, and automation flows to a single local actor.
By default:
LITE_LOCAL_ACTOR_ID=local-user- replay writes default to private local ownership
- automation playbook nodes reuse the same local actor when no explicit actor is provided
Override it when you want a stable local identity:
LITE_LOCAL_ACTOR_ID=lucio npm run start:lite:sdk-demoAionis now starts with the local sandbox enabled for ordinary local users.
By default:
SANDBOX_ENABLED=trueSANDBOX_ADMIN_ONLY=false- the default executor stays on
mock, sosmoke:litecan validate the path without extra system setup
If you want the old lock-back behavior:
SANDBOX_ADMIN_ONLY=true npm run start:lite:sdk-demoIf you want a practical local-process sandbox preset without writing raw JSON env by hand:
npm run start:lite:local-processIf you want the public SDK/demo route surface instead of the full Lite runtime profile:
npm run start:lite:sdk-demoThat preset currently maps to:
LITE_SANDBOX_PROFILE=local_process_echoSANDBOX_EXECUTOR_MODE=local_processSANDBOX_ALLOWED_COMMANDS_JSON=["echo"]
npm run test:lite
npm run benchmark:lite:real
npm run benchmark:lite:real:http-shadow
npm run smoke:lite
npm run smoke:lite:local-process
npm run validate:lite:realsmoke:lite now verifies:
- Aionis health and startup
- approval-only automation run/resume
- replay compile -> playbook promote -> playbook-driven automation run
- local sandbox session -> command execute -> logs
smoke:lite:local-process verifies the same sandbox path against the Aionis local-process preset.
benchmark:lite:real runs the current repeatable Aionis real-task benchmark suite for:
- policy learning
- cross-task isolation
- nearby-task generalization
- contested revalidation cost
- wrong-turn recovery
- workflow progression
- multi-step repair continuity
- governed learning runtime loop
- governed replay runtime loop
- governance provider precedence
- custom model-client replacement
- HTTP model-client replacement
- HTTP external shadow compare
- slim planner/context boundary
benchmark:lite:real:http-shadow runs the same benchmark surface with an external HTTP governance shadow compare when the relevant env vars are provided.
You can also persist benchmark artifacts directly:
npx tsx scripts/lite-real-task-benchmark.ts --out-json /tmp/lite-benchmark.json --out-md /tmp/lite-benchmark.mdOr run a full isolated validation outside the repository:
bash scripts/lite-real-validation.sh --workdir /tmp/aionis_lite_real_validationRepository maintenance files:
Release-baseline checks are part of the standard Aionis test suite.
Derived from the Aionis mainline runtime and now maintained as the standalone Aionis baseline that occupies the public Cognary/Aionis repository.