One curl. One brain. Three tiers.
The minimum viable brain. Runs on your laptop. Only dependency: a GitHub account with Copilot access. No API keys, no cloud, no config files.
Metaphor: the autonomic core. Beats without thinking.
Install puts the brainstem at ~/.brainstem/src/rapp_brainstem/.
curl -fsSL https://kody-w.github.io/RAPP/install.sh | bash
Starts a Flask server on port 7071. Opens the chat UI in your browser.
brainstem
Open the virtual brainstem — same UI, in-browser, BYO API key.
The same single-file agents your laptop runs, hosted on Azure. One ARM template,
one Deploy-to-Azure button. The HTTP surface is identical to Tier 1, so anything
that talks to /chat on your laptop can talk to /chat in the cloud.
Metaphor: long-term memory. Slow, durable, multi-tenant.
Click the button on the swarm page, fill in the resource group, wait ~3 minutes.
Import the unmanaged solution zip into Copilot Studio. Wire the Function App URL from Tier 2. Publish to Teams. The same agent file you wrote on day 1 is now being called from M365 Copilot.
Metaphor: the cortex. Where the brain meets the world.
Download, import into Copilot Studio → set Function App URL → publish.