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.

Embeddings

Embeddings power stored-memory recall and guide relevance. Configure a provider before connecting a real Agent so Aionis can retrieve facts, execution evidence, procedures, and source spans before governance compiles the final context.

First-run 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"

The guided installer asks for this during setup:

npx aionis setup

Operational Notes

TopicGuidance
Provider choiceBetter embeddings can improve candidate recall, especially for ordinary facts and long context.
Query vs document shapeSome providers distinguish query and document embeddings. Use the supported Runtime configuration.
FailuresCheck provider API key, network access, and rate limits.
CostEmbedding cost is usually lower than Agent LLM cost, but high write volume should still be measured.
SubstrateAdd Substrate when you want stronger factual recall, durable evidence search, backup, or migration.

The Memory Firewall and Execution Memory layers still matter even with strong embeddings. Embeddings find related content; Aionis decides whether it is safe to use.

Recall Evidence

In the v0.3 MemoryData verification snapshot, adding Substrate to the Runtime guide path improved factual recall:

MetricRuntime baselineRuntime + Substrate
Exact answer hit43/5048/50
Evidence coverage47/5050/50
Substrate source trace-50/50

This is the intended layering: stronger candidate retrieval below, Aionis admission and receipt above.

Last updated on