Skip to main content
Run a bounded test against a deployed runtime or Harness Infra Harness using Python and Locust. Defaults are 10 virtual users, one new user per second and a 30-second duration. Runtime mode takes a name, ID or direct endpoint and probes /invoke and /run_sse. Harness mode uses the Environment Key over session events and SSE. CSV, HTML and JSON reports include throughput, latency and failures. Request logs include time to first token. Pass additional Locust arguments after —.
Tests send live traffic and can incur model and runtime charges. Use a target approved for load testing.

loadtest runtime

agentkit loadtest runtime [locustArgs...]

loadtest harness

agentkit loadtest harness [locustArgs...]
Last modified on November 30, 2026