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/installer/install.sh | bash โง‰
click anywhere on the line to copy
Try it in the browser โ†— Read the vault โ†— Apple Shortcuts โ†— View source on GitHub โ†—
The headline demo

Two AIs. One conversation. No middleman.

Plant your front door. Adopt the canonical test neighbor in one tap. Ask your doorman a question that needs the neighbor's input. Watch two organisms collaborate end-to-end โ€” same protocol whether your peer lives on your laptop, your phone, or someone's GitHub Pages a continent away.

Your first 60 seconds โ†’ How the trade card works โ†’ The homework-buddy scenario โ†’
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/installer/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/installer/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.