Quickstart
Start a Session
Section titled “Start a Session”nexus runThis launches the NEXUS interactive session. The kernel boots (Cortex, Engram, Pulse, Chronicle, Aegis), loads any previously enabled modules, and drops into the prompt.
NEXUS ready. Type a message or 'help'.>Connect a Model (Optional)
Section titled “Connect a Model (Optional)”The kernel runs without a model. Connect one when you need inference:
# Cloud provider (fastest setup)export NEXUS_OPENAI_KEY=sk-...export NEXUS_DEFAULT_PROVIDER=openaionexus run
# Or local open-source modelllama-server --model qwen3-8b-q4.gguf --port 8384 &onexus run
# Or register at runtime after startupcurl -X POST http://localhost:8000/api/providers \ -H "Content-Type: application/json" \ -d '{"provider": "anthropic", "api_key": "sk-ant-...", "set_default": true}'Enable Modules
Section titled “Enable Modules”By default, no modules are active. Enable them explicitly:
# Enable a single modulenexus allow oracle
# Enable multiple modulesnexus allow oracle atlas prismModules start with a trust score of 0.0 from Aegis. Trust increases (+0.12) as the module produces correct outcomes and decreases (-0.22) on failures, the asymmetry is intentional.
To revoke a module:
nexus deny atlasCheck Status
Section titled “Check Status”nexus statusNEXUS runningkernel cortex engram pulse chronicle aegismodules oracle [trust: 52] atlas [trust: 50]data ~/.local/share/nexus/llm localhost:8384 qwen3-8bFirst Interaction
Section titled “First Interaction”With Oracle enabled:
> what files changed in my project today?[oracle] scanning filesystem...3 files modified in ~/projects/nexus since 00:00 nexus/kernel/cortex.py 14:32 nexus/modules/atlas.py 11:05 tests/test_atlas.py 11:08With Atlas enabled (requires LLM):
> summarize what changed in cortex.py[atlas] reading file and calling LLM...cortex.py: Added wildcard routing support to _route(). Messagesmatching '*' are now broadcast to all active modules. Trust gatestill enforced per module before dispatch.Forget All Memory
Section titled “Forget All Memory”To wipe all stored memory and start fresh:
nexus forget --yesThis clears Engram (all three tiers) but leaves the audit trail in Chronicle and trust scores in Aegis intact.
Build Your Own
Section titled “Build Your Own”NEXUS has two extensibility paths:
-
Build a Module: persistent intelligence components (perception, reasoning, memory). Extend
NexusModule, implementhandle(), register keywords in Cortex. -
Build an Agent: task specialists with graduated sovereignty. Extend
AgentModule, implementanalyze()+suggest()+monitor()+coordinate(). Agents start at trust 0 and earn autonomy through demonstrated reliability.
Both paths get full access to the kernel: Engram (memory), Chronicle (audit), Aegis (trust), Pulse (events), and LLM (inference).