Skip to main content

This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.

Introduction to Agent Sessions

Edit page

Run coding agents as part of Expo Workflows, with scoped Expo permissions and resource budgets.


Agent Sessions runs coding agents as part of Expo Workflows, with scoped Expo permissions and resource budgets.

Use Agent Sessions for tasks such as creating targeted end-to-end tests for a pull request, investigating an error, or reproducing a bug. Combine agent jobs with deterministic build, test, and deployment jobs in the same workflow.

To run agents in continuous integration (CI) for Expo projects, use Agent Sessions. It manages the agent runtime and the provider connection, so you do not need scripts that install and launch the agent.

Get started

Connect your Claude Code or Codex subscription to your Expo account, then add a type: agent job to your workflow. An agent job runs for at most 1 hour 55 minutes.

See Get started.

Key features

  • Managed agent execution: Run Claude Code or Codex with your account's provider connection.
  • Scoped Expo permissions: Expo checks supported operations against the job's permissions. Give the agent only the access that its task requires. See Permissions and security.
  • Resource budgets: Limit builds, simulator minutes, sandbox minutes, and concurrent sandboxes. See Budgets.
  • App development tools: Use sandboxes to run code and remote simulators to test app behavior, through Model Context Protocol (MCP) tools. See MCP tools.

Examples

Test pull request changes on Android and iOS

Build a pull request, test the affected journeys on remote simulators, and report the result.

Turn an Expo Observe error into a proposed fix

Investigate each new error group and return a tested patch for review.

Reproduce and independently verify an issue

Reproduce an issue with one agent and check it independently with a second agent.