Skip to content
Subscribe

Domain Architecture

Status: Production (6 active domains)

The agent system is organized into life domains, each with its own configuration, personality (SOUL.md), state files, automation scripts, and specialist agents. A CEO orchestrator aggregates all domains into an executive summary.

DomainColorStatusKey Integrations
FamilyAmber #F59E0BActiveSkylight, Google Calendar, Google Sheets
SchoolBlue #3B82F6ActiveCanvas LMS, ChromaDB RAG, Plaud/Whisper
WorkTeal #14B8A6ActiveGmail, LinkedIn
ConsultingPurple #8B5CF6ActiveGmail, CRM contacts
GrowthEmerald #10B981ActiveBrave Search, X API, docs site
AI FoundryRose #F43F5ENewCurriculum tracking, Google Docs
domains/{domain-name}/
β”œβ”€β”€ config.yaml # Domain configuration
β”œβ”€β”€ SOUL.md # Personality, values, communication style
β”œβ”€β”€ CLAUDE.md # Auto-generated session instructions
β”œβ”€β”€ state/
β”‚ β”œβ”€β”€ report.md # Latest heartbeat report
β”‚ β”œβ”€β”€ tasks.yaml # Active tasks
β”‚ └── {specific}.yaml # e.g., grades.yaml, pipeline.yaml
β”œβ”€β”€ memory/
β”‚ └── {domain}-profile.md # Accumulated knowledge
└── scripts/
└── *.sh # Automation scripts
name: "Domain Name"
slug: domain-slug
color: "#HexColor"
icon: "emoji"
owner: "owner-name"
status: active | paused | archived
priority: 1-5
tools: # MCP servers this domain uses
- google-calendar
- canvas-lms
specialists: # Sub-agents
- name: "Agent Name"
role: "description"
trigger: "cron or event"
schedules: # Cron jobs
- name: "Daily Sync"
cron: "0 7 * * *"
script: "scripts/sync.sh"
dashboards:
- name: "Main Dashboard"
url: "/domain-slug"
Domain heartbeats (4-6h intervals)
└── Each domain runs domain-heartbeat.sh β†’ updates state/report.md
β”‚
β–Ό
ceo-aggregate.sh (nightly)
└── Reads all domain reports β†’ executive-summary.md
β”‚
β–Ό
domain-sync.sh (every 15 min)
└── Reads all configs + reports β†’ state/domains.json
β”‚
β–Ό
Nerve Center v5 /api/domains
└── Serves to dashboard
ScriptSchedulePurpose
domain-heartbeat.sh4-6hLLM-powered domain check-in
ceo-aggregate.shNightlyExecutive summary compilation
domain-sync.shEvery 15 minLightweight JSON state generation
create-domain.shOn demandBootstrap new domain from template

CEO-level teams callable by any domain:

  • dev-team β€” code generation, debugging, deployment
  • presentation-agent β€” deck building (Deck Architect)
  • research-agent β€” deep research via multi-model pipeline
  • design-agent β€” UI/UX design decisions
  1. Run create-domain.sh {slug} to bootstrap directory structure
  2. Edit config.yaml with domain-specific settings
  3. Write SOUL.md with personality and values
  4. Create initial state files
  5. Add automation scripts
  6. Register in project registry
  7. Add route to Nerve Center dashboard
  8. Run domain-sync.sh to propagate