> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.rightbrain.ai/v-1/docs/api/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.rightbrain.ai/_mcp/server. # Build with the API > Build reliable AI agents that run inside your existing tools and workflows. Rightbrain developer documentation. ## Docs - [Rightbrain CLI](https://docs.rightbrain.ai/v-1/docs/api/cli.md): Use the Rightbrain command-line interface for browser login, environment management, Task configuration and execution, model discovery, access tokens, and SDK type generation. - [Rightbrain Agent Skill](https://docs.rightbrain.ai/v-1/docs/api/agent-skill.md): Install the official Rightbrain Agent Skill for Claude Code, Cursor, Codex, and compatible clients, with live contract lookup, scoped API execution, and confirmation for sensitive operations. - [Authentication](https://docs.rightbrain.ai/v-1/docs/api/authentication.md): Authenticate with API keys, OAuth 2.0 client credentials, authorization code with PKCE, task access tokens, or public tasks. - [Run tasks via the API](https://docs.rightbrain.ai/v-1/docs/api/run-tasks.md): Call a Rightbrain task over REST — send task_input, attach files, select a revision, and read the run response, headers, and generated files. - [Run agents via the API](https://docs.rightbrain.ai/v-1/docs/api/run-agents.md): Run a Rightbrain agent via REST with SSE streaming — read text, tool calls, tool results, and formatted output; continue multi-turn sessions; handle approval pauses; and attach input files. - [TypeScript SDK](https://docs.rightbrain.ai/v-1/docs/api/sdk.md): Install the Rightbrain SDK, generate task types, and build a Next.js route and form that keep credentials on the server. - [Webhooks & forwarders](https://docs.rightbrain.ai/v-1/docs/api/task-forwarders.md): Create webhook and email task forwarders, attach one to a task, and deliver each run result to an external system. - [Errors & pagination](https://docs.rightbrain.ai/v-1/docs/api/errors-and-pagination.md): Rightbrain API error forms, HTTP status codes, cursor-based pagination, response headers, and idempotency on public webhook triggers. - [Error reference](https://docs.rightbrain.ai/v-1/docs/api/error-reference.md): Rightbrain API error response forms, authentication and permission failures, validation errors, integration preconditions, run failures, and retry guidance.