Documentation

PromptRails Documentation

Everything you need to build, ship, and observe production AI agents on PromptRails. Written for the whole team — product owners and operators get clear walkthroughs, engineers get SDKs, APIs, and the technical detail when they want it.

Get started →Explore documentation
01Start here

Popular guides

The fastest paths into the platform — new here? Start with the Quickstart.

02Who is this for

One set of docs, two ways to read them

Product & operations

No code required. Step-by-step guides for designing agents, managing prompts, reviewing runs, and approving outputs — with the deep technical bits tucked behind “Technical details” until you actually need them.

Start with the basics →
Engineers

SDKs for Python, JavaScript, and Go, a CLI, an MCP server, agent triggers, and a full REST API — everything you need to wire PromptRails into production systems.

Jump into the Quickstart →
03Build

Build with our SDKs & APIs

First-class developer tooling — pick a language and ship.

quickstart.py
$ pip install promptrailsfrom promptrails import PromptRailspr = PromptRails(api_key="pr_live_…")# run an agent and read its outputrun = pr.agents.run(    "support-bot",    input={"message": "Where is my order?"},)print(run.output)
04Ship

Ready to ship production agents?

Spin up your first agent in minutes, then bring the whole team along.

Get started →Read the Quickstart