deepeval-tracing
하는 일
이 스킬은 AI 애플리케이션에 추적을 추가해, 에이전트나 검색, 모델 호출의 각 단계가 Confident AI 대시보드에 보이도록 합니다. AI 앱이 실행할 때마다 정확히 무엇을 했는지 보고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓LLM 앱이나 챗봇에 추적을 추가하고 싶을 때.
- ✓LangGraph, LangChain 같은 프레임워크로 만든 에이전트를 추적할 때.
- ✓AI 파이프라인의 단계에 태그와 라벨을 붙여야 하는 경우.
스킬 링크
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-tracing/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“LangGraph 에이전트에 DeepEval 추적을 추가해서, 각 도구 호출이 대시보드에 보이게 해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 지원되는 프레임워크 통합이 있으면 그것을 고르고, 없으면 수동 추적 표시를 씁니다. 각 단계에 모델 호출, 검색, 도구, 에이전트 같은 유형을 부여하고, 태그와 메타데이터를 추가합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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 |
자주 묻는 질문
평가도 실행하나요?
아니요. 평가 실행은 별도의 작업이며, 이 스킬은 올바른 형식의 추적만 만듭니다.
AI가 아닌 코드도 추적하나요?
아니요. 웹 서버, 데이터베이스, 인프라는 건드리지 않습니다.
어떤 프레임워크를 지원하나요?
LangGraph, LangChain, OpenAI Agents, LlamaIndex, Pydantic AI, CrewAI 등 여러 개를 지원합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 19k
- 순위
- #10481
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
deepeval-otel
19k에이전트가 AI 앱의 OpenTelemetry 추적 정보를 Confident AI Observatory 대시보드로 보내도록 돕습니다.
deepeval
19k에이전트가 AI 앱을 위한 평가 루프를 만들도록 돕습니다. 다시 실행할 테스트와 개선할 지점을 보여 줍니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.