Skip to content

Configuration

From highest to lowest priority:

  1. CLI flags (--port=8080)
  2. Environment variables (WGL_PORT=8080)
  3. Project config (.wglrc* in closest ancestor directory)
  4. Global config (~/.wglrc*)
  5. Defaults

First file found wins per directory level.

server: http://localhost:8080
namespace: default
agent_id: my-agent
profile: personal
{
"server": "http://localhost:8080",
"namespace": "default",
"agent_id": "my-agent"
}
server=http://localhost:8080
namespace=default
agent_id=my-agent
VariableConfig keyDescription
WGL_SERVERserverIncubator server URL
WGL_NAMESPACEnamespaceACP namespace
WGL_AGENT_IDagent_idAgent identifier
WGL_PROFILEprofileAuth profile name
TELEMETRY_ENDPOINTCloud telemetry ingest URL
TELEMETRY_API_KEYCloud telemetry API key

Runtime state lives in .honeyb/ (project-level) and ~/.honeyb/ (global).

.honeyb/
├── brood.state.json # Running brood PIDs and ports
├── session/ # Active coordination session
└── logs/ # JSONL log files
~/.honeyb/
├── auth/
│ ├── personal.json # Auth profile: tokens, platform URL
│ └── work.json # Additional profile
├── integrations/ # Installed integrations
├── servers/ # Known server configs
├── specs/ # Downloaded protocol specs
├── dances/ # Downloaded dance files
├── projects/
│ └── <slug>/
│ ├── telemetry/ # JSONL telemetry files
│ │ └── 2026-02-15.jsonl
│ └── logs/ # Project-specific logs
└── config.json # Global preferences

Created by wgl auth login. Stored in ~/.honeyb/auth/<profile>.json:

{
"platform_url": "https://hivemind.honeyb.dev",
"access_token": "...",
"refresh_token": "...",
"expires_at": "2026-03-15T00:00:00Z"
}

Switch profiles:

Terminal window
wgl auth switch
wgl config set profile work

The SDK uses createPlatformClient({ profile: 'personal' }). The platform URL should be https://hivemind.honeyb.dev (the SDK prepends api. for API calls).

Provider API keys in ~/.secrets/*.env:

~/.secrets/cerebras.env
CEREBRAS_API_KEY=csk-...
# ~/.secrets/anthropic.env
ANTHROPIC_API_KEY=sk-ant-...

wgl up sources these automatically.

Terminal window
wgl secret set cerebras # Prompts for key, stores in D1
wgl secret set cerebras --hive foo # Hive-specific override

Resolution order: hive-specific → user-level → empty.