deepeval-tracing
Fungsinya
Menambahkan pelacakan ke aplikasi AI agar setiap langkah agent, pencarian, atau panggilan model terlihat di dasbor Confident AI. Skill ini untuk pengembang yang ingin melihat dengan tepat apa yang dilakukan aplikasi AI mereka pada setiap jalannya.
Kapan dipakai
- βSaat Anda ingin menambahkan pelacakan ke aplikasi LLM atau chatbot.
- βSaat Anda ingin melacak agent yang dibangun dengan LangGraph, LangChain, atau kerangka kerja serupa.
- βSaat Anda perlu memberi tag dan label pada langkah-langkah pipeline AI.
Link skill
https://github.com/confident-ai/deepeval/blob/main/docs/public/.well-known/agent-skills/deepeval-tracing/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTambahkan pelacakan DeepEval ke agent LangGraph saya agar saya bisa melihat setiap panggilan alat di dasbor.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill memilih integrasi kerangka kerja yang didukung jika tersedia, dan memakai penanda pelacakan manual jika tidak. Setiap langkah diberi jenis, seperti panggilan model, pencarian, alat, atau agent, lalu ditambahkan tag dan metadata.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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 |
Pertanyaan umum
Apakah skill ini juga menjalankan evaluasi?
Tidak. Menjalankan evaluasi adalah pekerjaan terpisah, dan skill ini hanya menghasilkan jejak yang tertata.
Apakah skill melacak kode non-AI?
Tidak. Server web, basis data, dan infrastruktur dibiarkan apa adanya.
Kerangka kerja apa saja yang didukung?
Beberapa, termasuk LangGraph, LangChain, OpenAI Agents, LlamaIndex, Pydantic AI, dan CrewAI.
Detail
Deskripsi asli dari pembuat
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
Popularitas
- Bintang GitHub
- 19k
- Peringkat
- #10481
- Lisensi
- Apache-2.0
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
deepeval-otel
19kMembantu agent Anda mengirim jejak OpenTelemetry dari aplikasi AI, seperti agent atau pipeline RAG, ke dasbor Confident AI Observatory.
deepeval
19kMembantu agent Anda membangun loop evaluasi untuk aplikasi AI, dengan rangkaian tes yang bisa dijalankan ulang, dataset, dan hasil yang menunjukkan di mana perlu perbaikan.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.