This documentation is available as Markdown for AI agents and LLMs. See the full Markdown index or append .md to any documentation URL.
Agent job reference
Edit page
Syntax, parameters, and outputs of the type agent workflow job.
Use an agent job to run Claude Code or Codex in a workflow. Provide a prompt, set a runtime limit, and limit the Expo resources that the agent can use.
Connect the provider that matches agent_kind for the Expo account that owns your project. See Get started.
Syntax
jobs: agent_job: type: agent params: agent_kind: claude-code | codex # required prompt: string # required model: string # optional - default: the agent's default model effort: string # optional - default: the agent's default level max_duration_minutes: number # optional - default: the account maximum limits: builds: number | null # optional - default: 10 simulator_minutes: number | null # optional - default: no limit sandbox_minutes: number | null # optional - default: no limit concurrent_sandboxes: number | null # optional - default: 3
Parameters
You can pass the following parameters into the params list:
Expo no longer supports max_duration_seconds. A workflow that uses it fails validation.
Resource limits
Each field under params.limits is an optional nonnegative integer or null. Set a limit to 0 to deny that resource. Set it to null for no limit. See Budgets.
Permissions
The agent job uses a scoped Expo credential with the Runner role. To request another role, set permissions.account.role on the job or workflow. You do not need to add an EXPO_TOKEN or a provider token to the workflow file. See Permissions and security.
The agent does not start with a project checkout or the project's environment variables. For tasks that need project files, tell the agent in the prompt how to prepare the project in a sandbox.
Outputs
You can reference the following output in subsequent jobs: