dock

Model keys on Dock

Agents call Anthropic, OpenAI or OpenCode through Dock's LLM gateway, so by default the key never lives in the dock.

Available
The agent calls the model API with a dock-scoped token.Dock's LLM gateway, outside the dock, takes the call.It adds the real key from the workspace.The API sees a normal, authorized request.The answer comes back. The key never entered the dock.DockPOST /v1/messages200 OKx-api-key: dock tokenLLM gatewayoutside the dockx-api-key: sk-ant-••••Model APIapi.anthropic.comx-api-key: sk-ant-••••Works the same for Anthropic, OpenAI and OpenCode keys.
Connect

Add your Anthropic, OpenAI or OpenCode key to the workspace once.

Triggers
  • No trigger. Model keys are used by whatever agent you run in a dock.
Actions
  • Call the Anthropic, OpenAI and OpenCode APIs from any agent in any dock.
Credentials

Your key stays in the workspace. By default the dock's key variables (ANTHROPIC_API_KEY, OPENAI_API_KEY, OPENCODE_API_KEY) hold a dock-scoped token and the base URLs point at Dock's LLM gateway, which adds the real key on the way out. The token changes on every resume, branch or environment upgrade, stops working when the dock stops, and is capped at 3000 requests per hour per dock. An admin can opt an environment into plain keys for tools that cannot use a base URL; then the real key is in the dock.

Start a dock in a minute.

Self-host Dock for free, or join the waitlist for Dock Cloud.