Appearance
Quickstart
Quickstart
This page gets you to a working Aionis integration in minutes. Start with Lite for the shortest path, or use Server if you are validating the self-hosted production route.
Health checkWrite memoryRecall contextRecover handoff
/health
memory.write
memory.recall_text
handoff.recover
commit.persist
What you will do
- Run Aionis locally or point to a hosted environment.
- Write one recallable memory event.
- Recall that memory by text.
- Store and recover one exact handoff artifact.
- Capture the identifiers you will need later for replay and debugging.
- Leave this page with one verified end-to-end success path.
Before you start
- Node.js
>=22for Lite. - Docker and Docker Compose if you want the Server-oriented local path.
curlandjqfor the validation steps below.
Choose your path
- Use Lite if you want the fastest hands-on validation from this repository.
- Use Server if you want the self-hosted production-shaped local path.
- Use the hosted quickstart if you already have a running Aionis environment and credentials.
- If you are evaluating the product first, read Choose Lite or Server and Overview.
End-to-end flow
flowchart LR A["Developer"] --> B["Write memory"] B --> C["Recall context"] C --> D["Apply policy"] D --> E["Execute action"] E --> F["Persist decision"]
Lite quickstart
Use Lite if you want the shortest route to a real Aionis workflow:
Clone and configure the repository:
bash
git clone https://github.com/Cognary/Aionis.git
cd Aionis
cp .env.example .env
npm run -s env:bundle:local-safeIf you want a more evaluation-oriented local bundle for recall and context optimization:
bash
npm run -s env:bundle:experimentalUse these local .env defaults for a first smoke path:
bash
PORT=3001
AIONIS_EDITION=liteStart Lite and confirm health:
bash
npm run build
npm run start:lite
curl -fsS http://localhost:3001/health | jqWrite one recallable event and verify recall:
bash
curl -sS http://localhost:3001/v1/memory/write \
-H 'content-type: application/json' \
-d '{
"tenant_id":"default",
"scope":"default",
"input_text":"Customer prefers email follow-up",
"memory_lane":"shared",
"nodes":[{"type":"event","memory_lane":"shared","text_summary":"Customer prefers email follow-up"}]
}' | jq
curl -sS http://localhost:3001/v1/memory/recall_text \
-H 'content-type: application/json' \
-d '{"tenant_id":"default","scope":"default","query_text":"preferred follow-up channel","limit":5}' | jqStore and recover one exact handoff:
bash
curl -sS http://localhost:3001/v1/handoff/store \
-H 'content-type: application/json' \
-d '{
"tenant_id":"default",
"scope":"default",
"memory_lane":"shared",
"anchor":"quickstart:onboarding",
"file_path":"docs/quickstart.md",
"handoff_kind":"task_handoff",
"summary":"Quickstart continuity check",
"handoff_text":"Verified Lite write, recall_text, and handoff recovery.",
"acceptance_checks":["write returns commit_id","recall_text returns context","handoff_recover returns exact text"]
}' | jq
curl -sS http://localhost:3001/v1/handoff/recover \
-H 'content-type: application/json' \
-d '{
"tenant_id":"default",
"scope":"default",
"anchor":"quickstart:onboarding",
"file_path":"docs/quickstart.md",
"handoff_kind":"task_handoff"
}' | jqCanonical Lite validation:
bash
npm run -s lite:dogfoodServer quickstart
Use Server if you want the self-hosted production-shaped local path:
bash
git clone https://github.com/Cognary/Aionis.git
cd Aionis
cp .env.example .env
npm run -s env:bundle:local-safeFor a shared non-local team environment, start from:
bash
npm run -s env:bundle:team-sharedUse these local .env defaults:
bash
PORT=3001
MEMORY_AUTH_MODE=off
EMBEDDING_PROVIDER=fakeStart the stack and confirm health:
bash
make stack-up
curl -fsS http://localhost:3001/health | jqStop services when finished:
bash
make stack-downHosted quickstart
If you already have a hosted Aionis environment, use the same validation path:
bash
export BASE_URL="https://api.your-domain.com"
export API_KEY="your_api_key"
curl -fsS "$BASE_URL/health" | jq
curl -sS "$BASE_URL/v1/memory/write" \
-H 'content-type: application/json' \
-H "X-Api-Key: $API_KEY" \
-d '{
"tenant_id":"default",
"scope":"default",
"input_text":"hosted onboarding write",
"memory_lane":"shared",
"nodes":[{"type":"event","memory_lane":"shared","text_summary":"hosted onboarding write"}]
}' | jqWhat success looks like
/healthreturns healthy status.writereturnsrequest_idand commit fields.recall_textreturns candidate or context data.handoff/recoverreturns the exact handoff artifact you just stored.- You can identify which IDs to keep for later replay and debugging.
What to persist from your first run
request_idtenant_idscopedata.commit_iddata.commit_uri
What to read next
- Choose Lite or Server
- Core Concepts
- Memory and Policy Loop
- API Guide
- SDK Guide if you do not want to stay at raw HTTP level
If you are a Codex user
If your goal is to run Codex locally with the built-in Dev MCP and a tracked replay loop, do not stop at this page.
Use Codex Local Profile for the productized path that combines:
- Aionis Lite or standalone Docker
- Aionis Dev MCP
codex-aionisas the tracked launcher