Expose workflows as HTTP endpoints with auto-generated Swagger and ReDoc docs.

Basic Usage

from orkestra import Orkestra, OrkestraServer
client = Orkestra()
wf = client.Workflow().add(client.Agent(...))
server = OrkestraServer(client)
server.add_workflow(
  endpoint_name="summarize",
  workflow=wf,
  summary="Summarize Topic",
  description="Researches a topic and summarizes the findings.",
)
server.run()  # Visit /docs or /redoc

Auto-generated docs

If no description is provided, Orkestra builds one from the workflow’s agent names and descriptions.
server.add_workflow(
  endpoint_name="summarize_auto",
  workflow=wf,
)