Give agents built with OpenAI Agents SDK, Vercel AI SDK, Mastra, LangGraph, CrewAI or Google ADK a cloud Android phone.

How does an agent framework use Phonebox?

Phonebox runs a hosted MCP server at https://phonebox.dev/mcp. It speaks Streamable HTTP and is stateless, so any framework with an HTTP MCP client can use it without a local process. The framework lists the tools, hands them to the model, and runs the calls the model makes. Each call becomes a REST request on your project's behalf, so key scopes, spending limits and the activity log apply the same way they do for the CLI and SDK.

The tools are list_phones, create_phone, get_phone, start_phone, park_phone, observe, act, reboot_phone, list_apps, install_app, create_app_upload, complete_app_upload, get_account, live_view_url, list_files, pull_file, push_file, get_clipboard, set_clipboard, get_device_info, get_location, set_location, clear_location, get_locale, set_locale, get_timezone, set_timezone, start_recording, stop_recording, list_recordings, get_recording_link, delete_recording, uninstall_app and reset_phone. A typical loop is create_phone or start_phone, then observe to read the screen as a numbered list of elements with a screenshot, then act to tap, type or swipe, and park_phone at the end.

Which frameworks work, and what does each need?

Agent frameworks connected to Phonebox (Google ADK checked December 3, 2026; the others December 1, 2026)
FrameworkLanguagesMCP clientWatch out for
OpenAI Agents SDKTypeScript, PythonMCPServerStreamableHttpRuns stop after 10 turns by default; raise maxTurns
Vercel AI SDKTypeScriptcreateMCPClient from @ai-sdk/mcpgenerateText stops after one step unless you set stopWhen
MastraTypeScriptMCPClient from @mastra/mcpmaxSteps is 5 when unset; tools are named phonebox_…
LangChain and LangGraphTypeScript, PythonMultiServerMCPClient from the MCP adaptersTypeScript prefixes tool names with phonebox_; Python doesn't
CrewAIPythonMCPServerAdapter from crewai-toolsAn agent stops after 25 iterations by default; raise max_iter
Google ADKPythonMcpToolset with StreamableHTTPConnectionParamsInstall google-adk[mcp]; the plain package can't import McpToolset

Which key should the agent use?

Create an Agent key in API keys and export it as PHONEBOX_API_KEY. An Agent key can create, start, use and park phones but can't delete them, which is the right default for an agent. Give the key an expiry, and set a monthly spending limit in Settings: it stops new sessions when it's reached.

Phonebox's tool schemas also list context (a short reason for the call) and llm_model, which are used only for analytics. Models fill them in from the schema, so an agent needs nothing extra. The server doesn't reject a call without them, so code that calls a tool directly can leave them out.

What if my framework isn't listed?

Agent framework integrations: common questions

Can I use Phonebox with LangChain, CrewAI or the OpenAI Agents SDK?

Yes. Each framework's MCP client connects to Phonebox's hosted MCP server at https://phonebox.dev/mcp with a project API key in the Authorization header, and the agent gets tools to create a cloud Android phone, read the screen, tap, type, install APKs and park the phone. Connections were checked on December 1, 2026.

Do I need to run an MCP server locally?

No. Phonebox's MCP server is hosted and stateless, so the framework connects to it over HTTPS. Nothing runs on your machine and the phone runs in Phonebox's cloud.

Is there a Python SDK for Phonebox?

Phonebox's SDK is TypeScript. From Python, use the MCP server through the OpenAI Agents SDK, LangChain or CrewAI, or call the REST API directly.