# PromptRails Documentation

Source: http://docs.promptrails.ai/

---

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 →](https://promptrails.ai/company/contact)[Explore documentation](/introduction)

01Start here

## Popular guides

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

[01QuickstartGo from zero to a running, traced agent in a few minutes.Read →](/quickstart)[02IntroductionWhat PromptRails is, who it is for, and how the pieces fit together.Read →](/introduction)[03Build an agentBuild an agent or a multi-step workflow with versioned runtime controls.Read →](/agents)[04Manage promptsVersioned prompts with templating, schemas, and safe rollout.Read →](/prompts)[05Trace & debugFollow every run with span-level tracing and cost insight.Read →](/tracing)[06IntegrationsConnect models, databases, and SaaS tools to your workflows.Read →](/integrations)

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 →](/introduction)

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 →](/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)

[pyPython SDKAgents, prompts, and runs from Python.→](/python-sdk)[tsJavaScript SDKFirst-class TypeScript client.→](/javascript-sdk)[goGo SDKServer-side Go integrations.→](/go-sdk)[$CLIRun PromptRails from your terminal.→](/cli)[⇄MCP ServerConnect IDEs and tool-using agents.→](/mcp-server)[{}REST APIConventions, auth, and endpoints.→](/rest-api-reference)

04Ship

## Ready to ship production agents?

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

[Get started →](https://promptrails.ai/company/contact)[Read the Quickstart](/quickstart)
