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.
Popular guides
The fastest paths into the platform — new here? Start with the Quickstart.
One set of docs, two ways to read them
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 →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 →Build with our SDKs & APIs
First-class developer tooling — pick a language and ship.
$ 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)
Ready to ship production agents?
Spin up your first agent in minutes, then bring the whole team along.