| Method |
Path |
Description |
| GET |
/healthz |
liveness |
| GET |
/readyz |
readiness |
| GET |
/version |
version info |
| GET |
/harnesses |
list harnesses |
| GET |
/providers |
list providers |
| GET |
/rewards |
list reward functions |
| GET |
/runs/ |
list runs |
| GET |
/runs/{id} |
get run |
| POST |
/train/ |
start training |
| POST |
/verify/ |
self-verify answers |
from agentlightning.sdk import AgentLightningClient
c = AgentLightningClient("http://localhost:8000")
c.health(); c.train("sum two integers", epochs=3); c.verify("2+2", ["4", "4"])
import { AgentLightningClient } from "@agentlightning/sdk";
const c = new AgentLightningClient("http://localhost:8000");
await c.health();
await c.train("sum two integers", 3);