SDK quickstarts
Working examples for getting SIMRelay into the agent SDKs people are actually using. Each integration is a short bridge between the SDK's tool-definition format and the SIMRelay HTTP API. None of these require a special SIMRelay SDK — the API is HTTP, and the SDKs already know how to call HTTP.
Anthropic Claude Agent SDK
Register a tool with a JSON schema for the parameters; the agent invokes it when it needs SMS verification. The handler calls the SIMRelay API and returns the message body. The MCP server is usually a better fit for Claude-based agents — but if you're running your own loop with the raw SDK, direct API calls are straightforward.
OpenAI Agents SDK
The OpenAI Agents framework lets you define Python functions decorated as tools. A get_sms_code(number_id: str) tool that polls the SIMRelay API for the latest message is typically 15-20 lines of code, including the wait-for-SMS retry logic.
LangChain / LangGraph
LangChain's StructuredTool wraps any callable into a tool the agent can use. LangGraph adds explicit state-machine control, which is useful for "claim a number, wait for SMS, submit code" workflows. The patterns are the same; the wrapping differs slightly between frameworks.
Browser agents
Browser-driving agents (Playwright-based, Selenium-based, or Anthropic's computer-use) integrate identically to LLM-only agents. The agent's "tool" is just a function the orchestrator calls when the browser surfaces an SMS-verification prompt. The number can also stay associated with the browser session for the life of the run.
Reference implementations
We maintain example projects in a public repo with all four integrations end-to-end. Repo link coming soon — the examples are being polished for publication.