1
Create an application
Open Applications, choose Create application, and enter a name.Optionally enter a Lifetime spending limit (USD). Leave it blank for No limit, the default. The limit is shared by all keys for this application and does not reset.
2
Save the key
Copy the key when it appears; it is shown only once. Store it in your server environment or secret manager:Your model provider needs its own credentials. Do not expose the AgentMuxer key in client-side code or include it in the agent’s prompt.
3
Add the SDK integration
The SDK reads
AGENTMUXER_API_KEY, or you can pass agentmuxer({ apiKey }). No browser sign-in is needed.OpenAI Agents
Add
agentmuxer() to your agent’s tools.Claude Agent SDK
Add AgentMuxer to
mcpServers.Vercel AI SDK
Load tools and close the connection after use.
Enable purchases
Add credits to your account. If payment confirmation is enabled, your application needs a way to collect it. For agents that run without a person present, review unattended purchases.Manage the application
Choose Manage beside the application to update its name, spending limit, or keys.Rotate a key without interrupting the application
Rotate a key without interrupting the application
- Select Create replacement key and save the new key.
- Update your server’s secret and deploy or restart as needed.
- Confirm your application works with the replacement.
- Select Revoke key for the old key.
Revoke one key
Revoke one key
Select Revoke key beside the key you want to remove. Other active keys for the application still work.Revoke an exposed key immediately.
Change the lifetime spending limit
Change the lifetime spending limit
Enter a positive USD amount or leave the field blank for no limit, then choose Save limit. The limit must cover money already spent and calls on hold.Changing a limit does not reset spending or fund the account. All of the application’s keys share the same limit.
Disable the application
Disable the application
Select Disable application and confirm. Its keys stop authorizing new calls, and its history remains available. Calls already authorized can still finish.A disabled application cannot issue new keys. Create a new application if you need new access.