RAPP

The RAPP Stack

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

3 tiers 1 agent 0 vendor lock-in Open source
Start with the Brainstem ↓ Read the v1 spec View on GitHub
TIER 1 · LOCAL 🧠 RAPP Brainstem Flask server · GitHub Copilot LLM · auto-discover agents · local-first deploy ↗ TIER 2 · CLOUD (CommunityRAPP) ☁️ RAPP Hippocampus Azure Functions · Azure OpenAI · Storage · Application Insights · Entra ID import ↗ TIER 3 · ENTERPRISE 🤖 Copilot Studio Harness Power Platform .zip · Teams + M365 Copilot · declarative agents · org-wide deploy
01
Local · The survival basics

🧠 The Brainstem

A local Flask server. Your GitHub Copilot subscription is the AI engine. No cloud. No API keys.

The brainstem runs the core agent loop — soul (system prompt), tool-calling, conversation history. Drop any *_agent.py file into the agents directory and it gets auto-discovered and registered as a callable tool.

Connect remote agent repos through the chat UI's Sources panel — paste any GitHub URL with an agents/ folder and the brainstem hot-loads them. Missing pip dependencies are auto-installed.

macOS / Linux
KERNEL_PIN.jsonkody-w/rapp-installer@brainstem-v0.6.9
source evidence only · no executable command
Windows (PowerShell)
KERNEL_PIN.jsonimmutable Grail source
historical Windows edge · source inspection only
deploy to cloud
02
Cloud · The spinal cord (CommunityRAPP)

☁️ The Hippocampus

Give your brainstem a cloud body. Persistent memory, always-on, Azure OpenAI behind it.

The Hippocampus is the same brainstem agent loop, but living on Azure Functions with Azure OpenAI (GPT-4o), a Storage Account for memory, and Application Insights for monitoring. All Entra ID auth — no API keys anywhere.

Each project is isolated: ~/rapp-projects/my-project/ with its own venv, agents, and local storage that mirror up to the cloud. Auth happens through the chat UI via GitHub device-code flow.

macOS / Linux
Historical cloud installer context →
immutable Grail boundary · current status
Windows (PowerShell)
Historical cloud Windows context →
pinned Grail source
Or one-click ARM template
Historical ARM edge →
KERNEL_PIN.json · no provisioning action
import to copilot studio
03
Enterprise · The nervous system

🤖 Copilot Studio Harness

The same agent answers in Microsoft Teams and M365 Copilot across your whole org.

The included Power Platform solution .zip wires your Hippocampus Function App into Microsoft Copilot Studio. Import the solution, point it at your Function App URL, and publish.

The same agent logic you tested locally now answers in Microsoft Teams and M365 Copilot — declaratively, with org-wide governance, and with the full Copilot extensibility surface.

Download the solution .zip
installer/RETIRED_ARTIFACTS.json
unsigned archive evidence · no archive download
Steps
Historical import sequence retained in the surrounding copy.
Review Grail pin and pre-acceptance status.

One agent. Three lives.

Same code. Same tools. Same soul. Test it on your laptop, deploy it to Azure, ship it to your org.

🧬

One soul, three bodies

The same soul.md + agents/*.py works across all three tiers. Move up the stack as you outgrow the previous one.

🔓

No vendor lock-in

Brainstem runs anywhere Python runs. Hippocampus is a vanilla ARM template. Copilot Studio harness is a portable solution .zip.

🪪

Auth that just works

GitHub OAuth at Tier 1. Entra ID + managed identity at Tier 2. Power Platform connection refs at Tier 3. Zero API keys end-to-end.

📦

Hot-reload from any repo

Paste a GitHub URL with an agents/ folder into the Sources panel. Brainstem clones, installs deps, registers tools. Live.

🧪

Test locally, ship globally

Iterate on agents at localhost:7071. When ready, the same agents run as Azure Functions and Copilot Studio actions.

🦴

Open-source skeleton

Every layer is open. Read the source, fork it, deploy your own. The brainstem repo is the ground truth.