Skip to main content
Start an HTTP server that wraps the agent at the given import path.

Usage

Positional argument

agent
string
required
Python import path to the agent object in module:variable format. For example, myapp:my_agent imports my_agent from myapp.py. The object must be importable from the working directory.

Options

Examples

Start with custom port and workers

Enable custom session IDs with idle TTL

Limit concurrency and set a per-turn timeout