The RAPP Stack

Local-first AI agents that grow into the Microsoft enterprise stack one tier at a time. Brainstem → Swarm → Copilot Studio. No API keys, no cloud setup — just your GitHub account.

$ curl -fsSL https://kody-w.github.io/RAPP/install.sh | bash
click anywhere on the line to copy
Try it in the browser ↗ View source on GitHub ↗
Three tiers · one file
🧠

Tier 1 — Brainstem

Local Python server · GitHub Copilot · port 7071
Start here

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

Run

Starts a Flask server on port 7071 and opens the chat UI.

brainstem

Try it without installing

Open the browser brainstem — same UI, in-browser, bring your own API key.

☁️

Tier 2 — Swarm

Azure Functions · Azure OpenAI · managed identity
Next step

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.

Install the swarm runtime

curl -fsSL https://kody-w.github.io/RAPP/install-swarm.sh | bash

Deploy to Azure

Click the button on the swarm page, fill in the resource group, wait ~3 minutes.

🏢

Tier 3 — Copilot Studio

Power Platform solution · Teams · M365 Copilot
Enterprise

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.

Bundle

MSFTAIBASMultiAgentCopilot_1_0_0_5.zip click to download

Download, import into Copilot Studio → set Function App URL → publish.