Skip to content
aspire488Public

About

AURA is a production-oriented cognitive runtime integrating memory, reasoning, planning, agents, event-driven orchestration, and automation for KIO.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

AURA — The Continuity Layer

Python FastAPI Docker Status


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.

Explore the system ↓  ·  Run locally ↓  ·  Meet KIO ↗


THE CONTINUITY LAYER

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.

KIO / THE KERNEL

Coordinates capabilities, controls execution, manages runtime state and governs the boundary between intent and action.

AURA / THE CONTINUITY

Preserves context, stores memories, retrieves evidence and supplies cognitive services across interactions.

HOW THE SIGNAL MOVES

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
Loading

MEMORY, NOT JUST STORAGE

01

OBSERVE
Capture a signal

02

CLASSIFY
Understand its value

03

PERSIST
Store durable context

04

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

THE COMPONENTS

  • 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.

API SURFACE

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.

BRING AURA ONLINE

01 — Start infrastructure

From the repository root:

docker compose up -d postgres redis neo4j chromadb

02 — Configure

Create 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.

03 — Start the backend

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 8001

Python 3.14 is declared by backend/pyproject.toml.

04 — Connect the browser extension

  1. Confirm the backend and browser WebSocket endpoint are running.
  2. Open chrome://extensions.
  3. Enable Developer mode.
  4. Click Load unpacked and select the repository's extension/ folder.
  5. 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.

KIO × AURA

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
Loading

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.

PROJECT STATE

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

About

AURA is a production-oriented cognitive runtime integrating memory, reasoning, planning, agents, event-driven orchestration, and automation for KIO.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages