Prerequisites
- A Veval account (dashboard.veval.dev)
- A Veval API key. In the dashboard, go to Settings → API Keys.
Send your first trace
1
Install the SDK
2
Wrap a run
The simplest integration needs no LLM. Wrap any async operation with
RunAsync and record a step with TrackStepAsync.3
Open the dashboard
Open dashboard.veval.dev. You’ll see a trace for
my-agent with one step.No trace in the dashboard? Look for a
Veval: Sending trace failed warning in your console, such as status 401 for a wrong API key or 429 when your quota is used up. See Delivery failures.Use the service pattern
For real agents, pass the execution context into your service class so every LLM call is tracked. This is the recommended pattern for production.Injecting
IVevalSdk (the interface) lets you swap in VevalTestSdk in tests — no live LLM calls, no API cost. See Replay.What’s next
Instrument your agent
Record metadata and tool calls.
Test with replay
Run your agent against recorded traces with no live LLM calls.
Run a scenario
Run your agent against multiple inputs and assert on every result.