How It Works
What happens when you open a pull request
Architecture overview
- PR opened on GitHub
You open a pull request in any repo with Agentura installed.
- GitHub sends a webhook
GitHub notifies Agentura's webhook endpoint at
agentura-ci.vercel.app/api/webhooks/github. - Job queued
Agentura saves the eval run and queues a job in Redis.
- Worker picks up the job
A background worker fetches
agentura.yamland datasets from the PR branch. - Agent is called
The worker calls your HTTP endpoint once per test case.
- Scores computed
Each response is scored using fuzzy/exact, llm_judge, or performance strategy.
- Baseline compared
Suite scores are compared against the last completed run on the baseline branch, usually main.
- Results posted
A GitHub Check Run and PR comment are posted with pass/fail and deltas.
Request/response format
Your agent must accept POST requests with this body:
{ "input": "user message or query" }And return:
{ "output": "agent response" }That's the full integration contract. No SDK. No library. No extra plumbing.
This is intentional: Agentura calls your agent the same way your users do, through HTTP. You are testing the real production path, not a wrapped abstraction.