Brewlet agents¶
Eight Microsoft Copilot SDK agents in Java, Node.js, Python and .NET run on a local Kubernetes cluster with Brewlet.
The idea in one picture¶
Brewlet makes the language runtime part of the platform, like the operating system or Kubernetes itself. The application keeps being the workload. For a Copilot agent that gives three pieces with three different owners:
flowchart LR
subgraph pod["One Pod, runtimeClassName: brewlet"]
direction LR
subgraph agent["agent container"]
direction TB
rt["Runtime image, e.g. java-25<br/>owned by Ops"]
art["/app: OCI artifact<br/>code + libraries + launch.json<br/>owned by developers"]
end
cli["copilot-cli container<br/>Copilot CLI, headless on 127.0.0.1:4321<br/>holds the GitHub credentials"]
agent -- "SDK over loopback" --> cli
end
cli -- "HTTPS" --> gh["GitHub Copilot"]
-
Runtime, owned by Ops
A plain, framework-agnostic image per language:
java-25,node-24,python-3.13,dotnet-10. No framework, no Copilot SDK. Ops approves, patches and rotates it for every agent at once. -
Artifact, owned by developers
Code, all dependencies (Copilot SDK and framework integration included) and a
launch.json. Layered so that a code change pushes kilobytes. No interpreter, no CLI. -
Copilot CLI, a sidecar
One image for every language. It is the only container that holds GitHub credentials, and it listens on the Pod's loopback interface only.
What you can do with it¶
- Run it. Quickstart: a cluster, Brewlet and your first agent in a few commands.
- Compare the frameworks. The same Runtime Concierge in Spring Boot, Quarkus, Micronaut, NestJS, Fastify, FastAPI, Django and ASP.NET Core, side by side in the agents overview.
- Patch the Java runtime. Follow the runtime rotation guide to update the JDK for all three Java agents without rebuilding their artifacts.
- Summarize a Wikipedia article. The Wikipedia summarizer is a Spring Boot agent with a REST API, and the Node.js front-end puts a page in front of it.
- Watch it run. Observability and dashboards: the Brewlet dashboard, the
jlib-inspector dashboard for the jars each JVM loads, and an OpenTelemetry dashboard,
fed by a custom
java-25-jlibruntime.
Where to read next¶
| If you want to know… | Read |
|---|---|
| Why the Copilot CLI is a sidecar and the runtime is framework-agnostic | Design |
| What runs where, and how a build becomes a Pod | Architecture |
| How to let the agents call the model | GitHub authentication |
| How the apps differ from the agents, and what each one is | Apps |
| The dashboards, and the runtime that feeds them | Observability and dashboards |
| What is and is not locked down | Security model |
| What to do when something is stuck | Troubleshooting |
| Every command, script and pinned version | Reference |