Documentation

Build on Diaphora

Run deterministic AI plans over an authenticated REST API, connect the tools they call, and stream results in real time — with typed SDKs and step-by-step guides.

API Reference

Live

Every endpoint for running plans, streaming results, and managing the MCP tools your plans call — with request/response schemas and copy-paste curl.

Explore the API

MCP Reference

Live

Connect any MCP client to the Diaphora MCP server, call its ready-made agents, and discover and run Frags Plans through the Frags engine tools.

Connect over MCP

SDKs

Live

Typed clients for calling plans from your own code. Python and TypeScript are available now, with more on the way.

Browse the SDKs

Guides

Live

End-to-end walkthroughs for taking a plan from prototype to production — starting with running the Frags runtime locally.

Read the guides

Browse the API by resource

Plans

Run stored or ephemeral plans and inspect the tool requirements each run depends on.

5 endpoints

Tools

Discover MCP requirements and call commands on connected tool servers.

4 endpoints

MCP

Manage MCP server authorization — complete OAuth handshakes and inspect the credential cache.

3 endpoints

Utilities

Helper endpoints for working with the runtime.

1 endpoint