Docs for AI agents

Machine-readable documentation endpoints for LLMs, coding assistants, and autonomous agents.

Rightbrain publishes documentation in formats built for AI consumption. Point a coding assistant or an autonomous agent at these endpoints and it gains accurate, current knowledge of the platform and of your specific tasks, without you pasting context by hand.

Documentation endpoints

EndpointWhat it returns
https://docs.rightbrain.ai/llms.txtAn index of the documentation: a one-line summary and URL for every page, plus links to the OpenAPI spec. Any page is also available as clean Markdown by appending .md to its URL.
https://app.rightbrain.ai/api/v1/public/{project_key}/llms/task/{task_id}Markdown documentation for a single task, so an agent can learn how to call that exact task.

The llms.txt index is generated from the docs on every update, so agents always read the current version.

Use with coding assistants

Add the index to your assistant’s project context so it follows Rightbrain’s real patterns instead of guessing.

# In .cursorrules or project instructions:
Reference the Rightbrain documentation index at
https://docs.rightbrain.ai/llms.txt
Follow the patterns and API shapes from the official docs
when helping with Rightbrain integration.

Use with autonomous agents

An agent can fetch the index at runtime and use it as context:

1import requests
2
3docs = requests.get("https://docs.rightbrain.ai/llms.txt").text
4agent.add_context("rightbrain_docs", docs)

Per-task documentation

To teach an agent how to call one specific task, fetch that task’s Markdown docs. Replace {project_key} and {task_id} with your values:

1import requests
2
3url = "https://app.rightbrain.ai/api/v1/public/{project_key}/llms/task/{task_id}"
4task_docs = requests.get(url).text

The response describes the task’s inputs, output schema, and how to invoke it, formatted for an LLM to act on directly.

Next steps