Skip to content

ONEXUS · local-first agent runtime

Run AI agents on your own machine, and see every decision they make.

Every tool call an agent routes through ONEXUS is checked against what the agent declared, and every decision is written to an audit ledger.

Quickstart zsh
# clone and install
$ git clone https://github.com/AllStreets/ONEXUS.git
$ pip install -e ".[all]"

# launch the kernel
$ onexus run
Cognitive modules
9
Kernel components
5
LLM providers
3
Cloud dependencies
0
Aurora, the ONEXUS app: a workspace conversation with an inline Aegis permission card and the cockpit rail.
Aurora, the ONEXUS app. A sensitive tool call pauses for consent; the rail keeps trust and permissions in view.

Five kernel components and nine modules run locally on one SQLite database, with no central server and no cloud dependency. The kernel makes no network calls, which a static import check enforces. Two modules can connect peer-to-peer. That is blocked by default and logged when enabled. The kernel is model-agnostic, so you connect an LLM provider at runtime.

The nervous system. Five components that every module depends on:

ComponentRole
CortexSemantic intent router: classifies what you need and dispatches to the right module
EngramThree-tier memory: episodic (events), semantic (knowledge), procedural (skills)
ChronicleImmutable audit trail: every action, every decision, fully traceable
AegisTrust engine: modules earn autonomy through demonstrated reliability (+0.12/-0.22)
PulseEvent bus: real-time pub/sub between all modules

The brain’s regions. Each one does something fundamentally different:

ModuleWhat It Does
CouncilMulti-perspective deliberation: ethics, negotiation, simulation, synthesis, verification
SpecterAdversarial analysis: red-teaming, stress testing, counter-arguments, failure mode detection
AutonomicEarned autonomy: learns routines, proposes actions, acts within earned trust boundaries
OracleAnticipatory pattern detection: trigger rules, threat radar, early warning
WraithSub-agent spawner: ephemeral parallel workers with death clocks
LegacyKnowledge crystallization: distills experience into frameworks, playbooks, heuristics
ConsciousnessSelf-reflection: journaling, pattern discovery, contradiction detection, reasoning traces
SentryCognitive regulation: monitors focus, fatigue, flow state, cognitive load
EchoUser modeling: behavioral fingerprinting, social graph, relationship health

Beyond the kernel, ONEXUS ships with a full platform layer:

  • API Server: REST + WebSocket endpoints for every kernel operation (FastAPI)
  • Live Dashboard: dark-themed real-time web UI with trust gauges, Pulse streaming, Chronicle timeline
  • Terminal UI: Rich split-pane TUI as an alternative to the basic CLI
  • MCP Server: every module exposed as MCP tools for Claude, Cursor, VS Code
  • Workflow Engine: DAG pipelines chaining modules, defined in YAML or Python
  • Time-Travel Replay: reconstruct system state at any point in history from Chronicle data
  • Federation: peer-to-peer ONEXUS mesh with capability exchange and cross-instance routing

Modules earn autonomy through demonstrated reliability. Every interaction adjusts trust:

Trust ScoreTierWhat It Means
0.00 - 0.24OBSERVERModule only responds when explicitly invoked
0.25 - 0.49ADVISORCan suggest actions proactively
0.50 - 0.74MONITORCan watch events and surface findings
0.75 - 0.99EXECUTORCan act, but substantive work needs user authorization
1.00AUTONOMOUSFull autonomy: revocable instantly, never decays

Correct response: +0.12. Wrong response: -0.22. The asymmetry is intentional: trust is hard to earn and easy to lose.

ProviderSetup
Local (llama.cpp, Ollama, vLLM)Run any open-source model: Qwen, DeepSeek, Phi, Llama, Gemma
OpenAISet NEXUS_OPENAI_KEY or register at runtime via the API
AnthropicSet NEXUS_ANTHROPIC_KEY or register at runtime via the API
No modelKernel runs standalone: connect a provider whenever you’re ready