Docs / Coding agents

Use with coding agents

Any agent or tool that lets you set an OpenAI-compatible base URL can use HummingRelay. For Pi there is an installer.

Pi

Run this in a terminal:

Shell
curl -fsSL https://hmbrd.dev/setup.sh | sh

The script adds HummingRelay as a provider to the Pi coding agent and asks for your API key. Have a key from the dashboard ready. Then pick one of the HummingRelay models in Pi.

Piping a script into a shell runs it as you. To read it first:

Shell
curl -fsSL https://hmbrd.dev/setup.sh | less

Other tools

Look for an “OpenAI-compatible” or “custom OpenAI” provider and fill in:

Settings for OpenAI-compatible tools
SettingValue
Base URLhttps://api.hmbrd.dev/v1
API keyhr_live_…
Modelmodel-zero, model-one-flash or model-one
API typeChat Completions

Tools that only speak the Responses API or the Anthropic Messages API will not work: HummingRelay serves Chat Completions and legacy Completions only.

Keeping agent costs predictable

Agents send long prompts many times and often in parallel. A few settings matter more than usual: