Skip to main content
The OpenAI Agents SDK acts as an MCP client directly, your app connects to Alchemist over Streamable HTTP and the tools become available to the agent. Authenticate with your API key on the Authorization header. Get a key at app.askalchemist.com/settings/api-keys.

Python

TypeScript / JavaScript

The JS SDK also accepts an authProvider (the MCP TypeScript SDK’s OAuthClientProvider) if you’d rather run the OAuth flow than pass a static key.
To let OpenAI’s model call Alchemist server-side instead of connecting from your process, use the Responses API (or the SDK’s HostedMCPTool / hostedMcpTool wrappers).