DeepEval evaluation workflow for AI agents and LLM applications. TRIGGER when the user wants to evaluate or improve an AI agent, tool-using workflow, multi-turn chatbot, RAG pipeline, or LLM app; add evals; generate datasets or goldens; use deepeval generate; use deepeval test run; send results to Confident AI; monitor production; run online evals; inspect traces; or iterate on prompts, tools, retrieval, or agent behavior from eval failures. AI agents are the primary use case. Covers Python SDK, pytest eval suites, CLI generation, traced evals, Confident AI reporting, and agent-driven improvement loops. DO NOT TRIGGER for unrelated generic pytest, non-AI test setup, or non-DeepEval observability work unless the user asks to compare or migrate to DeepEval; for instrumenting an app with DeepEval tracing, @observe, or framework integrations (use the `deepeval-tracing` skill); or for raw OpenTelemetry / OTLP export without the deepeval package (use the `deepeval-otel` skill).
67
80%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/deepeval/SKILL.mdUse this skill to add an end-to-end eval loop to AI applications: instrument the app, curate or reuse a dataset, create a committed pytest eval suite, run evals, and iterate on failures.
Requires Python 3.9+ and pip install deepeval in the target project. Metrics
and synthetic generation need model credentials. Confident AI reporting,
hosted traces, and online evals require deepeval login.
deepeval generate.deepeval-tracing skill when
traced evals are used.deepeval test run.@observe — is
handled by the deepeval-tracing skill; raw OpenTelemetry export by the
deepeval-otel skill.deepeval generate for dataset generation. Use deepeval test run for
pytest eval execution. Do not default to the raw pytest command.metrics.py module for committed eval suites.references/choose-use-case.md.references/intake.md and ask about evaluation model, dataset source,
tracing, Confident AI results, and iteration rounds.references/pytest-e2e-evals.md.references/metrics.md.references/artifact-contracts.md for expected file locations.templates/test_multi_turn_e2e.py for chatbot / multi-turn agent.templates/test_single_turn_tracing.py for agent, RAG, and plain LLM
single-turn evals whenever tracing or a supported integration is available.templates/test_single_turn_no_tracing.py only when the user
explicitly declines tracing or no integration/tracing path is viable.templates/metrics.py or the project's existing
metrics module, not inline in the eval file.references/datasets.md.references/synthetic-data.md.deepeval generate; do not
hand-create or make up goldens.references/datasets.md.deepeval-tracing skill
(framework integrations and manual @observe).references/traced-evals.md for the traced eval shapes and span
metrics.Golden
input and call assert_test(golden=golden, metrics=[...]).for golden in dataset.evals_iterator(metrics=[...]).LLMTestCases.references/pytest-e2e-evals.md.next_*_span(metrics=[...]) or @observe(metrics=[...]).templates/ and replace every
placeholder before running anything.deepeval test run tests/evals/test_<app>.py.--num-processes 5,
--ignore-errors, --skip-on-missing-params, and --identifier.references/iteration-loop.md for the requested number of rounds.Bootstrap single-turn goldens from docs only when no curated dataset exists:
deepeval generate --method docs --variation single-turn --documents ./docs --output-dir ./tests/evals --file-name .datasetRun the eval suite:
deepeval test run tests/evals/test_<app>.py --num-processes 5 --identifier "iterating-on-<purpose>-round-1"Open the latest hosted report when Confident AI is enabled:
deepeval view| Topic | File |
|---|---|
| Intake questions and branching | references/intake.md |
| Use case selection | references/choose-use-case.md |
| Dataset loading | references/datasets.md |
| Synthetic data generation | references/synthetic-data.md |
| Metrics | references/metrics.md |
| Pytest E2E evals | references/pytest-e2e-evals.md |
| Traced evals and span metrics | references/traced-evals.md |
| Confident AI | references/confident-ai.md |
| Dataset and eval artifact contracts | references/artifact-contracts.md |
| Iteration loop | references/iteration-loop.md |
| App type | Template |
|---|---|
| Single-turn tracing | templates/test_single_turn_tracing.py |
| Single-turn no tracing | templates/test_single_turn_no_tracing.py |
| Multi-turn E2E | templates/test_multi_turn_e2e.py |
| Shared metric lists | templates/metrics.py |
11e53e8
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.