Skip to main content
The guides in these docs carry example code for each topic, written with the official OpenAI packages. Start with Build with the API; consult the OpenAI Agent API quickstart for the upstream programming model.
Looking for complete agents to copy, such as a research assistant, a support agent, or a code reviewer? See build useful agents.

Choose a topic

Run against your endpoint

Configure the same variables as Build with the API:
Save the example as a file, install the client version pinned in Build with the API, and run it:
The examples create real resources and may call paid models when pointed at a live endpoint. Read each example before running it. Demo cleanup can delete sessions and their outputs. Download results you need first.

Additional requirements

  • MCP: hosted Orca reaches only the remote MCP servers on its allowed list, so an MCP example aimed at another server is refused there; to ask for another server, post in #help on Orca’s Discord.
  • Managed sandbox: uses machine time from your plan.
  • Self-hosted executor: runs against an Orca server on your own machine; on hosted Orca self-hosted is coming soon. Read the environment guide before connecting one; do not assume any public hostname is supported by stock executor authentication.
  • Resource lifecycle: creating a vault needs the admin role.