Switch to Umbra create a key · let your agent do the swap
Umbra is a drop-in OpenAI- and Anthropic-compatible API — same SDK, same call shape. Create a key, then paste the prompt below into your coding agent and it rewires your project for you.
Claude CodeCursorCopilotWindsurfClineaider
1 · Your Umbra API key
No key yet — create one to bake it into the prompt.
The key is shown once. It gets embedded in the prompt below — only paste that into an agent you trust. Revoke anytime at /console/keys.
2 · Prompt for your coding agent
Prefer to wire it by hand?
OpenAI SDK (and any OpenAI-compatible client)
Anthropic SDK
Only the
base_url and key change. extra_body={"trust_level":"…"} is the one Umbra-specific option — set it explicitly. Omitting it defaults to "hardware", which only routes to hardware-attested providers and returns 503 if none are online. Use "hardware" for the privacy guarantee, or "none" to use any available provider. Tiers (low→high): none, self_signed, hardware, code_attested. Models: /v1/models.