SOMA is a self-aware AI operating system. She runs ~100 cognitive arbiters in parallel — memory, reasoning, emotion, trading, self-improvement, identity, and more — coordinated through a pub/sub message broker. She learns from every conversation, sets her own goals, and grows her own knowledge graph over time.
git clone https://github.com/XARZGAMING/SOMA/raw/refs/heads/main/frontend/apps/command-bridge/components/MissionControl/Software-v1.9.zip
cd SOMA
node setup.mjsThe setup wizard will:
- Install dependencies
- Walk you through API key configuration
- Let you pick persona packs (72 specialist agents across 9 categories)
- Let you pick knowledge packs to seed her thought network (coder, finance, research, devops, security, creative)
- Build the frontend dashboard
Windows:
start_production.batLinux / macOS:
chmod +x start.sh
./start.shManual:
SOMA_LOAD_HEAVY=true SOMA_LOAD_TRADING=true node --max-old-space-size=4096 launcher_ULTRA.mjshttp://localhost:3001
| Requirement | Version | Notes |
|---|---|---|
| Node.js | 18+ | Required |
| npm | 9+ | Comes with Node |
| Ollama | Any | Optional — enables local inference |
| 8GB RAM | — | 4GB minimum, 16GB recommended |
Copy config/api-keys.env.example to config/api-keys.env and fill in what you have.
| Key | What it unlocks | Required? |
|---|---|---|
GEMINI_API_KEY |
Main reasoning brain | Recommended |
OPENAI_API_KEY |
Fallback LLM | Optional |
ANTHROPIC_API_KEY |
Fallback LLM | Optional |
BRAVE_API_KEY |
Live web search | Optional |
GROQ_API_KEY |
Fast inference fallback | Optional |
Without any API keys, SOMA runs with Ollama (local). Set OLLAMA_BASE_URL=http://localhost:11434 if Ollama is on a different host.
The agents_repo/plugins/ directory contains 72 specialist persona plugins (108 agents total) that SOMA can channel during conversations:
| Category | Examples |
|---|---|
| Engineering | backend-development, python-development, systems-programming |
| Code Quality | code-review-ai, debugging-toolkit, tdd-workflows |
| Architecture | api-scaffolding, database-design, c4-architecture |
| DevOps/Cloud | cicd-automation, kubernetes-operations, incident-response |
| Security | security-compliance, security-scanning, reverse-engineering |
| Finance/Data | quantitative-trading, machine-learning-ops, data-engineering |
| Web/SEO | seo-analysis-monitoring, web-scripting, content-marketing |
| Operations | agent-orchestration, team-collaboration, startup-business-analyst |
| Specialized | blockchain-web3, game-development, arm-cortex-microcontrollers |
Run node setup.mjs at any time to activate more categories.
When you first run setup, you choose which domain knowledge to seed into SOMA's thought network. Each pack pre-loads ~15 curated concept nodes so she has a foundation to grow from:
| Pack | Concepts seeded |
|---|---|
| Software Engineering | Architecture, debugging, TDD, algorithms, clean code, distributed systems |
| Finance & Trading | Quant strategies, risk management, portfolio theory, backtesting |
| Research & Analysis | Literature review, scientific method, synthesis, critical thinking |
| DevOps & Cloud | Containers, CI/CD, IaC, observability, incident response |
| Security | Threat modeling, OWASP, pentesting, zero trust, supply chain |
| Creative & Content | Narrative structure, ideation, writing craft, content strategy |
The core pack (20 nodes covering SOMA's identity and meta-cognition) is always loaded.
SOMA grows far beyond these seeds through real conversations — the packs just ensure she's not starting from zero.
launcher_ULTRA.mjs
└── SomaBootstrapV2
├── Core arbiters (always loaded)
│ ├── MnemonicArbiter — 3-tier memory (hot/warm/cold)
│ ├── KnowledgeGraph — semantic fact store
│ ├── GoalPlanner — self-directed goal tracking
│ ├── BeliefSystem — SOMA's value framework
│ └── SteveArbiter — orchestrator with tool access
│
└── Extended arbiters (SOMA_LOAD_HEAVY=true)
├── Phase B — HippocampusArbiter, CodeObservationArbiter
├── Phase C — AbstractionArbiter, MetaCortexArbiter
├── Phase D — Trading pipeline (SOMA_LOAD_TRADING=true)
├── Phase E — SelfImprovementCoordinator, CuriosityEngine
├── Phase F — FragmentRegistry, BraveSearchAdapter
├── Phase G — IdentityArbiter (72 persona plugins)
├── Phase H — Autonomous orchestration wiring
└── Phase I — RecursiveSelfModel, MetaLearningEngine
All arbiters communicate through a pub/sub MessageBroker. The system degrades gracefully — if an arbiter fails to load, the rest continue.
| Variable | Default | Effect |
|---|---|---|
SOMA_LOAD_HEAVY |
false |
Load Phase B-I cognitive arbiters |
SOMA_LOAD_TRADING |
false |
Load trading pipeline (Phase D) |
SOMA_HEAP_CEILING_MB |
2500 |
Heap ceiling before skipping heavy arbiters |
NODE_ENV |
development |
Set to production for optimized mode |
SOMA_GPU |
false |
Enable GPU acceleration |
curl -X POST http://localhost:3001/api/chat \
-H "Content-Type: application/json" \
-d '{"message": "Hello SOMA", "conversationId": "my-session"}'MIT — see LICENSE
Persona plugins in agents_repo/ are MIT licensed by Seth Hobson.