Tools and integrations
Add tools and integrations
Add capabilities to an agent or connect it to your application.
Choose a task below. If you are starting from scratch, build the research agent to connect tools, a browser, customer access, and approvals in one application.
| I want to… | Start here |
|---|---|
| Write a custom tool | Define an agent and its tools |
| Use an existing MCP server | MCP connections |
| Connect a user's third-party account | OAuth |
| Build a streaming chat UI | Streaming integration |
| Require approval before an action | Approvals |
| Add files to a conversation | Attachments |
| Control instructions, model, or tools per session | Overrides |
| Send a message while a turn is running | Delivery modes |
| Associate customer context with a session | Metadata |
| Manage several agents | Multiple agents |
| Delegate to a child session | Subagents |
| Give an agent a shell and files | Sandboxes |
| Mount handlers in my framework | Framework integrations |
Each task uses the same platform model. Look up exact HTTP inputs in API reference and TypeScript signatures in SDK reference.
For session CRUD and lifecycle controls, see Manage conversations.