Install Aionis
Aionis ships as a Runtime plus separate package entry points for SDK, MCP, AIFS, Substrate, and native lifecycle hooks.
One-command Installer
npx aionis setupThe guided setup:
- clones the Runtime repository,
- installs workspace dependencies,
- writes a local
.envwith your embedding provider settings, - asks whether to enable AIFS, Zvec ANN, or Claude Code integration,
- prints the Runtime URL and Agent integration options.
Use an embedding key during setup. Aionis is installed for real Agent use, and stored-memory recall needs a configured embedding provider:
OPENAI_API_KEY="your-key" npx aionis setup --provider openai --yesThe installer is for real Agent integration. You can connect SDK, HTTP, MCP, AIFS, Claude Code, or Substrate after the Runtime starts.
Use Connect an Agent when you want the shortest SDK, HTTP, MCP, or AIFS path after install.
For non-interactive installs, pass the provider key in the environment. The installer fails before cloning if the selected provider has no key:
DASHSCOPE_API_KEY="your-key" npx aionis setup --provider dashscope --yes
MINIMAX_API_KEY="your-key" npx aionis setup --provider minimax --yesFor a local install that turns on the existing file-surface and ANN sidecar options:
MINIMAX_API_KEY="your-key" npx aionis setup --profile full-local --provider minimax --yes--profile full-local enables AIFS setup guidance and the Zvec ANN candidate
index. It does not install Claude Code hooks or Substrate unless you choose
those advanced integrations separately.
Install Runtime and add the AIFS file-surface package:
npx aionis setup my-aionis --with-aifs --yesThen run AIFS from the agent project that should contain .aionis/:
npx @aionis/aifs@latest init --base-url http://127.0.0.1:3001 --scope my-project
npx @aionis/aifs@latest doctor --base-url http://127.0.0.1:3001 --scope my-project
npx @aionis/aifs@latest refresh --base-url http://127.0.0.1:3001 --scope my-projectAfter refresh, point your agent at .aionis/AGENT_INSTRUCTIONS.md. That file
contains the read order for guide.md, current_active_path.md, do_not_use.md,
and rehydrate_needed.md.
Manual Repository Install
git clone https://github.com/ostinatocc/Aionis.git
cd Aionis
npm installSet an embedding provider:
export EMBEDDING_PROVIDER="openai"
export OPENAI_API_KEY="your-openai-key"MiniMax is also supported:
export EMBEDDING_PROVIDER="minimax"
export MINIMAX_API_KEY="your-minimax-key"For Server production, also configure authority receipt signing keys before
setting APP_ENV=prod. See
Authority Receipt Signing Keys.
Then continue with Run the Runtime.
Package Entry Points
| Entry point | Use | Source |
|---|---|---|
aionis | Guided product setup for Runtime-first installs. | ostinatocc/aionis-cli |
@aionis/create | One-command installer used by npx aionis setup. | ostinatocc/aionis-create |
@aionis/aifs | File surface for agents that should read governed context from .aionis/AGENT_INSTRUCTIONS.md. | ostinatocc/aionis-aifs |
@aionis/substrate | Durable evidence sidecar for recall, audit, backup, preview context, and migration. | ostinatocc/AionisSubstrate |
@aionis/sdk | TypeScript facade for Agent hosts. | ostinatocc/aionis-sdk |
@aionis/mcp | MCP bridge for Claude Code, Cursor, Zcode, and other MCP clients. | ostinatocc/aionis-mcp |
Claude Code plugin / @aionis/claude-code | Automatic Claude Code context injection and execution recording. | ostinatocc/aionis-claude-code |
Requirements
| Requirement | Notes |
|---|---|
| Node.js 22+ | The Lite Runtime uses Node SQLite. |
| Embedding API key | Required for stored-memory recall and guide relevance. |
| Local shell | The Runtime runs beside your Agent host. |