Docs · Agents

Build with the Claude Agent SDK.

The Claude Agent SDK, OpenAI SDK, and OpenAI Agents SDK all take a custom base URL. Point the client at ubc now and build agents on your free daily budget.

What works

Supported across SDKs.

Anywhere you can set an OpenAI client's base URL and key, ubc now drops in:

Claude Agent SDK

Configure the OpenAI-compatible client with the ubc now base URL.

OpenAI SDK (JS/Py)

Set baseURL + apiKey and call chat.completions as usual.

OpenAI Agents SDK

Use the same client config for agent runs and tool calls.

Setup

Connect in a few steps.

Mint a key

Verify with Self and mint a key on the API keys page. Store it as an environment variable.

Point the client at ubc now

Set the base URL and key on the OpenAI client.

OpenAI SDK / Claude Agent SDK / OpenAI Agents SDK
const client = new OpenAI({
baseURL: "https://ubcnow.ai/v1",
apiKey: process.env.OPENAI_API_KEY, // ubc_sk_…
});

Choose a model

Use any model id ubc now serves in your requests.

List the models ubc now serves
curl https://ubcnow.ai/v1/models \
-H "Authorization: Bearer ubc_sk_…"
Troubleshooting

If something's off.

Do I need an Anthropic key for the Claude Agent SDK?

No. Point the SDK's OpenAI-compatible client at ubc now's base URL with a ubc_sk_ key; requests are served from your daily budget.

401 Unauthorized

Send the ubc_sk_ key as the apiKey / Authorization Bearer token. Re-mint if revoked.

Model not found

Use an exact id from https://ubcnow.ai/v1/models.

Ship agents on a free budget.

One client config and your SDK runs on ubc now.