agentx-python itself. HttpEndpointAdapter uses requests, already a core dependency. Use it when your agent runs behind an HTTP service (FastAPI, LangServe, Flask, an n8n webhook, or anything else) instead of writing a Python function.
Usage
Endpoint contract
For every test case, the adapter sends:2xx and a JSON body. A non-2xx status, a request timeout, or an empty output is recorded as a failed result for that case, not a hard error that stops the run - and a failed row is stored with rating 0, so it pulls the run’s average down.
HttpEndpointAdapter parameters
The SDK (running locally) makes the request directly to your service. The AgentX API never touches your endpoint. Your endpoint must be reachable from wherever the script runs, not from AgentX’s servers.
http_endpoint_eval.py in the AgentX-Python repository.
