Borrowing it
Nothing to install: this file belongs to yaalalabs/agent-kernel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/yaalalabs/agent-kernel/develop/.agents/skills/ak-dev-new-tracing-provider/SKILL.mdgit clone --depth 1 https://github.com/yaalalabs/agent-kernelWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider)<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider"><img src="https://agentmods.dev/badge/skills/yaalalabs/agent-kernel/ak-dev-new-tracing-provider.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00082 | $0.04802 |
| Opus 5.5 | $0.00033 | $0.01921 |
| Sonnet 5.5 | $0.00016 | $0.00960 |
| Haiku 4.5 | $0.00008 | $0.00480 |
Grade A, and why
ak-dev-new-tracing-provider scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 357 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adding a New Tracing Provider
This guide walks through adding a new observability/tracing provider to Agent Kernel. Use the Langfuse implementation (ak-py/src/agentkernel/trace/langfuse/) as the canonical reference. For a backend reached through plain OpenTelemetry (no vendor SDK), see the CloudWatch provider (ak-py/src/agentkernel/trace/cloudwatch/): it installs its own SDK TracerProvider and OTLP exporter once (or reuses one already installed, since OpenTelemetry honours only the first), wraps each run through a span(name, session) context manager on the provider class that its runners receive, and adds a provider-specific helper module (sigv4.py) beside the runners.
Architecture Overview
Agent Kernel's tracing system:
BaseTrace(trace/base.py) defines the interface — one method per supported framework that returns a tracedRunner(orNone)Trace(trace/trace.py) is a factory that creates the appropriate trace instance based onAKConfig.trace.type- Each framework Module checks for a trace runner at initialization — if tracing is enabled, it uses the traced runner instead of the default
- Traced runners extend the base framework runner and wrap execution with spans/traces
BaseTrace.fetch_spans(query)(optional, not abstract) reads spans back from the provider's cloud as provider-neutralFetchedSpans;Trace.fetch_spansis the facade users call (Trace.get().fetch_spans(last=..., session_id=...)), andTrace.fetch_tracesgroups the same spans intoFetchedTraces on top of it, so a provider implements onlyfetch_spans. A provider that only sends traces skips it and raisesNotImplementedError(step 6)
Step-by-Step
1. Create the Trace Provider Directory
ak-py/src/agentkernel/trace/<provider>/
├── __init__.py
├── <provider>.py # Main trace class
├── openai.py # Traced OpenAI runner
├── langgraph.py # Traced LangGraph runner
├── crewai.py # Traced CrewAI runner
├── adk.py # Traced Google ADK runner
├── smolagents.py # Traced Smolagents runner
├── pydanticai.py # Traced Pydantic AI runner
├── maf.py # Traced Microsoft Agent Framework runner
├── claude.py # Traced Claude Agent SDK runner
└── fetch.py # Optional: <Provider>TraceFetcher, reads spans back (step 6)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +16 lines caa2fb98e60c
- 3d ago Changed · +31 lines ac0916bf1780
- 8d ago Changed · +1 lines dc84888fd237
- 29d ago Changed · +4 lines · +4 tokens per session ce5c00ca1dbf
- 1mo ago Changed · +3 lines 652c39045b94
- 1mo ago Changed · +2 lines f1231792eafb
- 2mo ago First seen · 300 lines · 78 tokens per session scan A e1b8b5e1f551
ak-dev-new-tracing-provider is a skill published in the GitHub repository yaalalabs/agent-kernel (192 stars, last pushed yesterday), licensed Apache-2.0. It adds 82 tokens to every session and 4,802 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
ak-dev-new-tracing-provider compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ak-dev-new-tracing-provideryaalalabs/agent-kernel | Skill | 192 | yesterday | Apache-2.0 | A | 82 | Claude Code, Codex |
| cloud-native-security-defensivej4flmao/agent-skills | Skill | 38 | 3d ago | MIT | A | 127 | Claude Code, Codex |
| notionArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 23 | Claude Code |
| datadogArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 28 | Claude Code |
| scalewayArvo-AI/aurora | Skill | 454 | yesterday | Apache-2.0 | A | 29 | Claude Code |
| terrasharkLukasNiessen/terrashark | Skill | 710 | 4d ago | MIT | A | 56 | Claude Code, Codex |
| isaac-automatorisaac-sim/IsaacAutomator | Skill | 270 | 11d ago | Apache-2.0 | A | 123 | Claude Code, Codex |