Configuration
Configuration precedence
Section titled “Configuration precedence”From highest to lowest priority:
- CLI flags (
--port=8080) - Environment variables (
WGL_PORT=8080) - Project config (
.wglrc*in closest ancestor directory) - Global config (
~/.wglrc*) - Defaults
First file found wins per directory level.
Config file formats
Section titled “Config file formats”.wglrc.yaml
Section titled “.wglrc.yaml”server: http://localhost:8080namespace: defaultagent_id: my-agentprofile: personal.wglrc.json
Section titled “.wglrc.json”{ "server": "http://localhost:8080", "namespace": "default", "agent_id": "my-agent"}.wglrc (key=value)
Section titled “.wglrc (key=value)”server=http://localhost:8080namespace=defaultagent_id=my-agentEnvironment variables
Section titled “Environment variables”| Variable | Config key | Description |
|---|---|---|
WGL_SERVER | server | Incubator server URL |
WGL_NAMESPACE | namespace | ACP namespace |
WGL_AGENT_ID | agent_id | Agent identifier |
WGL_PROFILE | profile | Auth profile name |
TELEMETRY_ENDPOINT | — | Cloud telemetry ingest URL |
TELEMETRY_API_KEY | — | Cloud telemetry API key |
State directory (.honeyb/)
Section titled “State directory (.honeyb/)”Runtime state lives in .honeyb/ (project-level) and ~/.honeyb/ (global).
Project state (.honeyb/)
Section titled “Project state (.honeyb/)”.honeyb/├── brood.state.json # Running brood PIDs and ports├── session/ # Active coordination session└── logs/ # JSONL log filesGlobal state (~/.honeyb/)
Section titled “Global state (~/.honeyb/)”~/.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 preferencesAuth profiles
Section titled “Auth profiles”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:
wgl auth switchwgl config set profile workThe SDK uses createPlatformClient({ profile: 'personal' }). The platform URL should be https://hivemind.honeyb.dev (the SDK prepends api. for API calls).
Provider secrets
Section titled “Provider secrets”Local development
Section titled “Local development”Provider API keys in ~/.secrets/*.env:
CEREBRAS_API_KEY=csk-...
# ~/.secrets/anthropic.envANTHROPIC_API_KEY=sk-ant-...wgl up sources these automatically.
Cloud (Colony)
Section titled “Cloud (Colony)”wgl secret set cerebras # Prompts for key, stores in D1wgl secret set cerebras --hive foo # Hive-specific overrideResolution order: hive-specific → user-level → empty.