flowchart TD
subgraph T1["Tier 1 — Brainstem (local)"]
A["User runs brainstem locally
localhost:7071"] --> B{"User says:
'I want to deploy
to Azure'"}
end
B -->|"soul.md guidance"| C["Run one-liner fetch script"]
subgraph HATCH["Hatchery Bridge"]
C --> D["hatch.sh / hatch.ps1
downloads rapp_hatchery_agent.py
into brainstem agents/"]
D --> E["Restart brainstem"]
E --> F["'Hatch a project
called contoso-bot'"]
end
F --> G["git clone CommunityRAPP
~/rapp-projects/contoso-bot/"]
G --> H["Create venv + install deps
Copy settings template"]
H --> I["'Set my OpenAI endpoint to ...'"]
I --> J["Configure local.settings.json"]
subgraph T2["Tier 2 — Hippocampus (cloud)"]
J --> K["'What's next?'"]
K --> L["Test locally on port 7072"]
L --> M["Deploy to Azure Functions
func publish --build remote"]
end
subgraph T3["Tier 3 — Nervous System (enterprise)"]
M --> N["Generate Copilot Studio
solution ZIP"]
N --> O["Import to Power Platform"]
O --> P["Live in Teams / M365 Copilot"]
end
style T1 fill:#1a1a2e,stroke:#00d4ff,color:#fff
style HATCH fill:#16213e,stroke:#ffd700,color:#fff
style T2 fill:#0f3460,stroke:#00ff88,color:#fff
style T3 fill:#533483,stroke:#e94560,color:#fff
T1 — Brainstem (local)
Hatchery Bridge
T2 — Hippocampus (Azure)
T3 — Nervous System (M365)
"Start small, layer up when ready." — Each tier is offered only when the user asks. The brainstem stays clean.