AURA gives KIO something most software never gets: continuity.
A persistent cognitive backend for memory, retrieval, knowledge processing and context — designed to make every interaction build on what came before.
A model response is temporary. Useful context should survive it.
AURA is the memory and cognitive-services layer in the KIO ecosystem. It captures observations, classifies and stores memories, retrieves relevant information, assembles context and exposes those capabilities through a backend API.
|
Coordinates capabilities, controls execution, manages runtime state and governs the boundary between intent and action. |
Preserves context, stores memories, retrieves evidence and supplies cognitive services across interactions. |
flowchart TB
K["KIO / Client"] --> API["AURA API · FastAPI"]
API --> OBS["Observation"]
OBS --> CL["Classification + Deduplication"]
CL --> PG[("Persistent Memory Store")]
CL --> EMB["Embedding Provider"]
EMB --> CH[("ChromaDB")]
API --> RET["Retrieval + Context Builder"]
CH --> RET
RET --> KNOW["Knowledge / Query Processing"]
API <--> REDIS[("Redis")]
API <--> EV["Events + Metrics"]
API <--> EXT["Browser WebSocket"]
EXT <--> BR["Chrome Extension"]
style API fill:#244B3A,stroke:#A9E9C0,color:#F5FFF7
style PG fill:#243A32,stroke:#A9E9C0,color:#F5FFF7
style CH fill:#243A32,stroke:#A9E9C0,color:#F5FFF7
| OBSERVE Capture a signal |
CLASSIFY Understand its value |
PERSIST Store durable context |
RECALL Retrieve what matters |
| Stage | What happens |
|---|---|
| Observation | Incoming messages become structured records with source, actor, summary and payload |
| Classification | Memory type and importance are assigned |
| Deduplication | Normalized content hashes prevent repeated storage |
| Persistence | Memory records are written to the memory store |
| Semantic indexing | Embeddings are stored in ChromaDB |
| Context assembly | Hybrid retrieval builds bounded context with citations |
| Feedback | Events and metrics expose memory operations and retrieval activity |
- FastAPI backend — API surface, lifecycle and dependency wiring.
- Memory subsystem — classification, storage, deduplication and retrieval.
- Knowledge subsystem — processing and enrichment of stored memories.
- Provider layer — embedding and model-provider adapters.
- Event system — observable runtime transitions.
- ChromaDB — vector storage and semantic similarity.
- Redis — supporting cache/state services.
- Browser extension — Chrome Manifest V3 command channel over WebSocket.
- Docker Compose — local infrastructure including PostgreSQL, Redis, Neo4j, ChromaDB and n8n.
A service defined in Compose is not automatically evidence that every subsystem uses it in every path.
| Endpoint | Purpose |
|---|---|
POST /memory/store |
Classify and persist a memory |
GET /memory/stats |
Inspect memory statistics |
POST /retrieval/query |
Semantic retrieval |
POST /retrieval/context |
Context bundle with citations |
POST /ingestion/start |
Start ingestion |
GET /ingestion/status |
Inspect ingestion progress |
When running locally, open http://localhost:8001/docs to inspect the generated API documentation.
From the repository root:
docker compose up -d postgres redis neo4j chromadbCreate a local .env file for backend settings and provider credentials. Only configure the services you intend to run. Keep secrets, database files and browser profiles out of Git.
cd backend
python -m venv .venv
# Windows
.venv\Scripts\activate
# macOS / Linux
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --host 0.0.0.0 --port 8001Python 3.14 is declared by backend/pyproject.toml.
- Confirm the backend and browser WebSocket endpoint are running.
- Open
chrome://extensions. - Enable Developer mode.
- Click Load unpacked and select the repository's
extension/folder. - Check the extension popup for connection status.
The extension uses a Manifest V3 service worker. Protocol details and supported browser actions are in AGENTS.md.
flowchart LR
U(["USER"]) --> K["KIO<br/>Kernel + Execution"]
K <--> A["AURA<br/>Memory + Cognition"]
K --> T["Tools · Browser · MCP"]
A <--> S[("Persistent Context")]
style K fill:#183A4A,stroke:#8DDAE5,color:#F3FCFF
style A fill:#244B3A,stroke:#A9E9C0,color:#F5FFF7
AURA provides context and cognitive services. KIO coordinates capabilities and owns execution authorization. AURA may produce reasoning and execution intent; external side effects remain governed by KIO's execution controls.
AURA is actively evolving. The repository contains backend routes and modules for memory, retrieval, ingestion, providers, events and browser integration. The broader cognitive architecture describes a direction beyond the currently exposed implementation.
This README intentionally separates implemented surfaces from architectural intent. Verify behaviour against the current source and test environment rather than treating a planned subsystem as shipped functionality.
A system that remembers can become more useful with every interaction.
AURA is part of the KIO ecosystem · Engineered by aspire488