Goober Swarm » Docs » Configuration & security
Edit on GitHub
Configuration & security
Keys¶
Keys are saved inside the VM in ~/.config/goober/.env (mode 0600), outside the workspace, so no Goober can read them. Add them in the keys panel or paste them into any Goober's input box: known prefixes are detected automatically.
| Key | Auto-detected prefix | Used by |
|---|---|---|
OPENROUTER_API_KEY | sk-or-… | required by PLONK |
GROQ_API_KEY | gsk_… | optional |
MISTRAL_API_KEY | optional | |
XAI_API_KEY | xai-… | optional |
OPENAI_API_KEY | optional |
Any <NAME>_MODEL key overrides that Goober's model (details).
Files in the VM¶
| Path | Contents |
|---|---|
~/workspace/ | the agents' workspace: cloned repos, demos (/view/... serves files from here) |
~/workspace/.goober_swarm.db | tasks, subtasks, messages, talents (hidden from agents) |
~/.config/goober/.env | saved keys and model overrides |
~/.config/goober/sessions.json | persistent conversation ids per Goober |
~/.config/goober/swarm.json | swarm on/off and orchestration settings (bidding, review, run mode, allowlist) |
~/workspace/.goober/ | screenshots (shots/), dev-server logs (serve/); hidden from agents |
/mnt/orchestrator/ | the orchestrator code, mounted from the host's orchestrator/ folder |
Tools Goobers can use with @RUN (and are told about): python3, node, git, jq, ripgrep, curl, sqlite3, ffmpeg, ImageMagick, gifsicle and the webp tools. Codex sandboxes its own commands with bubblewrap; an AppArmor profile in /etc/apparmor.d/bwrap lets bubblewrap (only) create the user namespaces it needs.
CLI logins live in each CLI's own folder in the VM (~/.codex, ~/.copilot, ~/.gemini for Antigravity, …).
Ports¶
| Host (127.0.0.1) | VM port | Service |
|---|---|---|
2222 | 22 | SSH into the VM (user aiuser) |
5700 | 5700 | web app + HTTP API |
5762 | 5762 | MCP server |
9222 | 9223 | shared headless Chrome (DevTools protocol) |
Security¶
⚠ The web app and MCP server have no login of their own. Every port is forwarded to
127.0.0.1 only: keep it that way and don't expose them to a network.- The VM is the sandbox: Goobers only work inside the VM's
~/workspace, and their file access goes through the orchestrator, which blocks paths outside the workspace and secret files. - The VM's user is
aiuser/aiuser, reachable by SSH on127.0.0.1:2222only. - Goobers marked 🔍 use stealth/alpha models whose providers log prompts: don't send them secrets.
- Keys never enter the git repository: they're stored only in the VM.
@RUNand@SERVEfollow your run permissions (default: ask). Commands run in the repo with every variable named like*KEY*,*TOKEN*,*SECRET*or*PASSWORD*removed from their environment.@SHOTonly opens repo files andlocalhostdev servers;@FETCHonly public addresses. Neither can reach the orchestrator's own ports (5700, 5762) or Chrome's debug port. Fetched pages are passed on marked as untrusted data.