agent-platform
One AI server on your own machine that gives any OpenAI-compatible app seven hosted providers and your local models through a single API.
Download the software
v0.7.6 · 2026-11-18
- Windows · x86-64agent-platform-desktop-0.7.6-x86_64-pc-windows-msvc.zip · 28.0 MB
- Windows · x86-64agent-platform-server-x86_64-pc-windows-msvc.zip · 13.5 MB
- macOS · Intelagent-platform-server-x86_64-apple-darwin.tar.xz · 8.3 MB
- Linux · x86-64agent-platform-server-x86_64-unknown-linux-gnu.tar.xz · 8.6 MB
- agent-platform-server-installer.ps123 KB
- agent-platform-server-installer.sh52 KB
Or install from the terminal
macOS / Linux
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/tanvoid0/agent-platform/releases/download/v0.7.6/agent-platform-server-installer.sh | shWindows PowerShell
powershell -ExecutionPolicy Bypass -c "irm https://github.com/tanvoid0/agent-platform/releases/download/v0.7.6/agent-platform-server-installer.ps1 | iex"Previous versions (7)
What it does
Agent Platform is a small server that sits between your apps and the AI providers you use. Anything written for the OpenAI API works against it unchanged, whether the model is hosted by one of seven providers or running on your desk in Ollama or LM Studio. A desktop app starts the server for you and lets you plan multi-agent runs, keep teams of agents and ask questions about any run.
One API for every provider
OpenAI-compatible endpoints in front of OpenAI, Anthropic, Gemini, Mistral, Groq, OpenRouter and AIML API, so an app needs no code of its own per provider.
Local models through the same door
Ollama and LM Studio answer on the same endpoint, with no key issued and nothing leaving the machine. Inside Docker, local addresses are pointed at the host for you.
Bring your own key
Send your own provider key with a request and the server uses it instead of its own. A custom upstream address must be https and on an allowlist.
Multi-agent runs you can follow
A run is planned as a graph of subagents. Follow it as a graph, a board, a timeline or the raw event log, and export the whole run as JSON.
Ask about one run
A chat scoped to a run, or to one subagent inside it, already knows its goal, status, failure reason and output, so the answer is about that run.
Reusable teams
Save rosters of agents for the planner to draw from, built role by role or started from a bundled template.
Desktop app, server or Docker
Run the desktop app with a tray icon that starts and stops the server, or run the server on its own, from an installer or as one Docker image.
Runs on Windows: desktop app and servermacOS server, Apple Silicon and IntelLinux serverDocker
Problem
An agent that is useful is an agent wired to several providers, and each one arrives with its own SDK, its own auth and its own idea of what a streamed response looks like. The local runtimes are worse: the code that talks to Ollama on a laptop is not the code that talks to it from inside a container, so the thing that works while developing is not the thing that ships.
Approach
One Rust binary (`agent-platformd`, Axum on Tokio) serves the multi-agent orchestration API and an OpenAI-compatible /v1 surface from the same process, so any client already written against OpenAI points at it and needs no branch per provider. It began as a FastAPI server and was replaced in place by the Rust one, a route at a time, under ADR 0007. Callers can bring their own key: a few headers switch a request onto the caller’s credential and the server spends none of its own quota. Local runtimes are reachable from a container because loopback addresses are rewritten to the host at the boundary rather than in every call site. The operator UI is a native desktop app in Rust and iced: runs, teams, projects and providers are all there rather than in a browser. The one browser surface the server does ship is the accounts page, for magic-link sign-in, usage and billing.
Outcome
- Nine upstreams behind a single endpoint, seven hosted providers and two local runtimes, with no provider-specific path in the client.
- A prompt can be answered by a model on the same machine with no credential anywhere in the path: the server wants no bearer of its own until it is asked to listen beyond the loopback, so a local model costs no key, no account and nothing leaving the host, on the same code as the hosted route.
- A caller’s own provider key is accepted per request, and the base URL it may be pointed at is allowlisted, https-only and never a raw IP, so BYOK cannot be turned into a way to reach internal services.
- Every provider reports the same capability shape, with a documented fallback chain when one cannot list its models live.
- One Docker image, SQLite on a named volume: it comes back up as it went down.
1 / 3
The migration is the part worth defending. Two requirements were in conflict, to ship embedded with a desktop app and to serve other API clients as a real server, and a third settled it: deploy to the cloud with no desktop client, which rules out one binary carrying both the GUI and the API. The answer was a strangler, not a port: a Rust process in front of the Python one, domains moved across a few at a time, the Python server still answering everything that had not moved. No flag day, and abandonable at any point without losing what had already landed. It ran 5–7 August 2026 and the Python server is now deleted.
Completing it meant overriding a rule the migration itself had set, that a migrated route must be byte-identical to the one it replaced. That rule existed to stop two live servers diverging; with one server there is nothing to diverge from. Four behaviours changed as a result, and they are written down as changed rather than quietly absorbed.
BYOK is a security decision before it is a cost one. A gateway that stores provider keys becomes the most valuable thing on the host. Forwarding the caller’s key costs a header per request and removes the category. The part that took the actual thought was the base-URL override: accepting an arbitrary upstream URL is an SSRF primitive, so it is constrained to the provider’s canonical host or an explicit allowlist, https only, and never a raw IP.
The loopback rewrite is the small detail that comes from having actually run it. Ollama advertises itself on 127.0.0.1, which inside a container means the container. Rewriting it to the host once, at the boundary, is the difference between a local model being a supported route and being a thing that only works when the process happens to be outside Docker.
Open auth on the loopback is a decision, not a default left lying around. A local run needs no bearer, which is the difference between a local model being a thing you try and a thing you configure an account for, and the same server bound to an address other than the loopback with no key set would serve every route to anyone who can reach it. So it refuses to start: the openness has to be asked for by name before it leaves the machine, rather than being a setting nobody re-reads.
- Upstreams behind one API
- 7 hosted + 2 local
- Provider-specific code in the client
- 0 lines
- Releases shipped, latest v0.7.6
- 8


