deepeval-tracing
Qué hace
Añade trazado a una aplicación de IA para que cada paso de un agente, de una recuperación o de una llamada a un modelo sea visible en el panel de Confident AI. Es para desarrolladores que quieren ver exactamente lo que hizo su app de IA en cada ejecución.
Cuándo usarla
- ✓Cuando quieres añadir trazado a una app de LLM o a un chatbot.
- ✓Cuando quieres trazar un agente construido con LangGraph, LangChain o un framework similar.
- ✓Cuando necesitas etiquetar y marcar los pasos de un pipeline de IA.
Link de la skill
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-tracing/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Añade el trazado de DeepEval a mi agente de LangGraph para que pueda ver cada llamada a herramienta en el panel.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La skill elige una integración compatible con el framework cuando existe, y en caso contrario usa marcadores de trazado manuales. Asigna a cada paso un tipo, como llamada a modelo, recuperación, herramienta o agente, y añade etiquetas y metadatos.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
DeepEval Tracing
Use this skill to instrument an AI application — an LLM app, agent, RAG
pipeline, or chatbot — with DeepEval's native tracing so its execution is
visible span by span in Confident AI's Observatory. The work is: pick a
supported integration when one exists, fall back to manual @observe
otherwise, give each span a meaningful type, and add tags and metadata.
This skill stops at producing well-formed traces. Attaching evaluation metrics
and running evals is the deepeval skill's job.
Scope: AI Applications Only
Instrument only the AI parts of the system — agent loops and planning, LLM
calls, retrieval / vector search, and tool calls. The span types (llm,
retriever, tool, agent) describe AI components. Do not trace non-AI
software (web servers, CRUD backends, infrastructure). If the target has no
LLM, agent, retrieval, or tool-calling component, this skill does not apply.
When to Use vs the deepeval and deepeval-otel Skills
- This skill (
deepeval-tracing) — instrument an app with the DeepEval SDK (@observe, framework integrations) so traces reach Confident AI. deepevalskill — build pytest eval suites: datasets, metrics, traced evals,deepeval test run, iteration. It runs evals against an app this skill instrumented.deepeval-otelskill — instrument with the vendor-neutral OpenTelemetry SDK instead of the DeepEval SDK (raw OTLP, including non-Python apps).
The three are complementary. If unsure between this skill and deepeval-otel:
use this one when the app is Python and you want the DeepEval SDK; use
deepeval-otel when you want raw OpenTelemetry or the app is not Python.
Prerequisites
- An AI application in Python with
pip install deepeval. - For traces to reach Confident AI:
deepeval login, or an exportedCONFIDENT_API_KEY(preferred for CI and non-interactive runs).
Workflow
- Confirm the target is an AI application (it has LLM calls, an agent loop, retrieval, or tool calls). If it has none of these, stop — this skill does not apply.
- Detect the framework, model provider, agent SDK, and vector database in use.
- Read
references/integrations.mdand the exact integration doc for what was detected. Prefer a native integration over manual instrumentation. - If no native integration fits, instrument manually with
@observe. Readreferences/tracing.md. - Give each span a meaningful
type(llm,retriever,tool,agent) and capture inputs/outputs. - Add trace-level tags and metadata where they help diagnose failure patterns. Never trace secrets, credentials, or raw sensitive data.
- Confirm
deepeval loginorCONFIDENT_API_KEY, then verify traces appear in the Confident AI Observatory.
Core Principles
- Instrument AI components only —
llm,retriever,tool,agentspans. Never trace non-AI software. - Prefer a supported integration over manual
@observe. Manual tracing is the fallback for unsupported frameworks and app-owned wrapper boundaries. - Read the exact integration doc before writing tracing code.
- Give spans meaningful types; let names default to function names unless there is a strong reason to override.
- Never trace secrets, credentials, API keys, or raw sensitive user data.
- Producing traces is the scope. Attaching metrics and running evals belong to
the
deepevalskill; raw OpenTelemetry export belongs todeepeval-otel.
References
| Topic | File |
|---|---|
Manual instrumentation: @observe, span types, tags, metadata |
references/tracing.md |
| Integration selection rule and framework / model / vector-DB doc index | references/integrations.md |
Preguntas frecuentes
¿También ejecuta evaluaciones?
No. Ejecutar evaluaciones es un trabajo aparte, y esta skill solo produce trazas bien formadas.
¿Traza también código que no es de IA?
No. Los servidores web, las bases de datos y la infraestructura se dejan como están.
¿Qué frameworks admite?
Varios, entre ellos LangGraph, LangChain, OpenAI Agents, LlamaIndex, Pydantic AI y CrewAI.
Detalles
Descripción original del autor
Instrument an AI application with DeepEval's native tracing so its behavior is visible in Confident AI. TRIGGER when the user wants to add DeepEval tracing or @observe to an LLM app, agent, RAG pipeline, or chatbot; wire a framework, model-provider, or vector-database integration (LangGraph, LangChain, OpenAI Agents, LlamaIndex, Pydantic AI, CrewAI, and others); choose between a native integration and manual instrumentation; set span types, tags, or metadata; or send DeepEval-SDK traces to Confident AI's Observatory. DO NOT TRIGGER for building DeepEval pytest eval suites, datasets, goldens, m
repo: confident-ai/deepeval
Popularidad
- Estrellas en GitHub
- 19 mil
- Posición en el ranking
- #10481
- Licencia
- Apache-2.0
- Actualizada
- 2/11/2026
Comentarios
- …
Más skills de este repositorio
deepeval-otel
19 milAyuda a tu agente a enviar trazas de OpenTelemetry desde una app de IA, como un agente o un pipeline RAG, al panel de Confident AI Observatory.
deepeval
19 milAyuda a tu agente a construir un bucle de evaluación para una app de IA, con un conjunto de pruebas que se pueda volver a ejecutar, conjuntos de datos y resultados que muestran dónde mejorar.
Skills parecidas
add-model-provider
394 milPermite que tu agente conecte un nuevo proveedor de modelos de IA a OpenClaw con comandos de configuración seguros, mantenga las claves API fuera del texto plano y haga una prueba en vivo.
acp-router
394 milAyuda a tu agente a enviar una tarea a un asistente de programación como Claude Code o Cursor a través de OpenClaw, para que el trabajo se ejecute en esa herramienta.
browser-automation
394 milEnseña a tu agente a controlar páginas web paso a paso, incluidos los inicios de sesión, las pestañas y la recuperación cuando una página deja de responder.