Pool your local GPUs behind one API.
Run a lightweight agent on any workstation or server with Ollama or Docker. Swago connects your machines to a private workspace and exposes OpenAI-compatible /v1/* endpoints routed to whichever node has the model warm in VRAM—no inbound firewall ports needed.
Built as an open-source project—the node agent is open-sourced on GitHub under the MIT License, so you can inspect or build everything that runs on your GPU machines.
1. Install the node agent
Open-source on GitHub →Standalone binary with an embedded runtime.
irm https://bend.theswagostack.in/install.ps1 | iex
2. Connect your machine
Sign in to the console, create an API key under API Keys, then save it once and start serving.
swago-gpu-agent config add-authtoken <YOUR_API_KEY> swago-gpu-agent start
Output stays minimal by default. Run swago-gpu-agent start -D for verbose logs, or swago-gpu-agent service install to register it as a background service on Windows, macOS, or Linux (add --system for boot-level startup).
3. Call the API
Use any API key from your workspace via Authorization: Bearer <YOUR_API_KEY> or X-API-KEY. Requests automatically route to a healthy node in that workspace and fail over if a node is busy.
curl -X POST https://bend.theswagostack.in/v1/chat/completions \
-H "Authorization: Bearer <YOUR_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "qwen2.5:1.5b",
"messages": [{"role": "user", "content": "Hello"}],
"stream": false
}'Set "stream": true on /v1/chat/completions or /v1/completions for Server-Sent Events token streaming.
Core API endpoints
All /v1/* endpoints are scoped to the authenticated key's workspace and follow OpenAI request and response formats.
| Method | Endpoint | Purpose |
|---|---|---|
| GET | /v1/models | List available and loaded models in your workspace |
| GET | /v1/models/{model} | Retrieve model details and per-node capacity in your workspace |
| POST | /v1/chat/completions | Conversational LLM inference (streaming and non-streaming) |
| POST | /v1/completions | Raw text completion (streaming and non-streaming) |
What you can do in the console
- Nodes
- See connected machines, active concurrency, free VRAM, GPU temperature, and which models are warm in memory.
- Workspace API keys
- Issue separate workspace-scoped keys for teammates or services with optional per-minute rate limits, and revoke them immediately.
- Work status & usage
- Check completed and failed inference jobs, prompt/completion token counts, average latency, and request logs per user.
The Swago Stack
Built under The Swago Stack
Swago Bridge is part of The Swago Stack — a small independent lab where everyday problems and curious experiments become open software, run by Gokul G (Gg).