1. Top-Level Topology

AXIOM OS operates entirely on the local machine. There is no cloud telemetry, no remote inference, and no external API dependencies. The architecture is strictly separated into three layers: Collection (Specter), Storage (SQLite), and Intelligence (Ollama + Qwen).

2. Specter Daemon

Written in Go for minimal overhead, the Specter daemon is the sensory organ of AXIOM. It continuously monitors window focus, active processes, and system state. It does not analyze text—it merely records deterministic facts.

Process: specter.exe

Memory Footprint: < 15MB

Interval: 1Hz (1 poll per second)

3. Local Memory Layer

All telemetry is funneled into a local SQLite database. This acts as the single source of truth. The AI layer cannot modify the raw telemetry, ensuring an immutable ledger of behavior that prevents the LLM from hallucinating past user actions.

CREATE TABLE telemetry (
    id INTEGER PRIMARY KEY AUTOINCREMENT,
    timestamp DATETIME DEFAULT CURRENT_TIMESTAMP,
    active_window TEXT NOT NULL,
    process_name TEXT NOT NULL,
    category TEXT DEFAULT 'UNKNOWN'
);

4. AI Interpretation

The intelligence layer runs on demand, querying the SQLite database for recent behavior contexts. Using small, efficient local models via Ollama (like Qwen 2.5), it cross-references recorded actions against predefined user policies to generate "Focus Scores" or issue contextual reprimands.