agent-observability
Skill28 starsChanged 3 months agoApache-2.0View on GitHub
Use when monitoring, tracing, or debugging agentic workflows in production. Keywords: observability, tracing, OpenTelemetry, Langfuse, latency, token cost, loop detection, telemetry.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- paulopestanajunior/agents-configtheir own version, first seen Oct 15, 2026
- guerrilla2799/ops-and-scale-ostheir own version, first seen Oct 13, 2026
- Sathvikar01/Agent-engineering-skillstheir own version, first seen Oct 5, 2026
- m00kk/agent-skills-playbooktheir own version, first seen May 29, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- Sathvikar01/Agent-engineering-skills★ 3same name
- guerrilla2799/ops-and-scale-os★ 1same name
- paulopestanajunior/agents-config★ 1same name
- m00kk/agent-skills-playbook★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository163 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-memorySkill
- claukitSkill
- mcp-agent-patternsSkill
- multi-agent-orchestrationSkill
- workflow-state-machinesSkill
- ai-multimodalSkill
- geo-fundamentalsSkill
- media-processingSkill
- screenshotSkill
- seo-fundamentalsSkill
- soraSkill
- aestheticSkill
- figma-implement-designSkill
- figmaSkill
- frontend-designSkill
- mobile-designSkill
- tailwind-patternsSkill
- ui-stylingSkill
- agentic-ragSkill
- api-patternsSkill
- app-builderSkill
- architectureSkill
- ask-mattSkill
- aspnet-coreSkill
- backend-developmentSkill
- better-authSkill
- clean-codeSkill
- code-agent-patternsSkill
- codebase-designSkill
- code-review-checklistSkill
- code-reviewSkill
- context-engineeringSkill
- context-optimizationSkill
- database-designSkill
- databasesSkill
- diagnoseSkill
- diagnosing-bugsSkill
- docs-seekerSkill
- domain-modelingSkill
- frontend-dev-guidelinesSkill
- graph-ragSkill
- i18n-localizationSkill
- implementSkill
- improve-codebase-architectureSkill
- lint-and-validateSkill
- llm-evalsSkill
- nextjs-best-practicesSkill
- nodejs-best-practicesSkill
- openai-docsSkill
- performance-profilingSkill
- playwright-interactiveSkill
- playwrightSkill
- prompt-engineeringSkill
- prototypeSkill
- python-patternsSkill
- react-patternsSkill
- render-deploySkill
- repomixSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 4 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
4
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 28
Context Propagation: Always pass trace_id and span_id headers through all agent boundaries.
- Very specific: line 30
Telemetry Standards: Use OpenTelemetry semantic conventions for LLM operations (e.g., llm.request.model, llm.usage.completion_tokens).
- Distinctive: line 49
Trace Coverage: All tool calls and subagent invocations must be wrapped in spans.
- Distinctive: line 54
Avoid logging sensitive user data (PII) by sanitizing inputs before sending to external observability backends.
- Distinctive: line 55
Use asynchronous telemetry exporters to ensure observability does not contribute to agent latency.
- Distinctive: line 66
Langfuse: Use for session-level grouping, evaluation scores, and prompt management.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Observability & Telemetry
Overview
This skill defines the operational standards and instrumentation requirements for monitoring agentic workflows. It ensures that complex, multi-agent systems built within KILO-KIT remain transparent, debuggable, and cost-effective. Observability in this context spans from real-time tracing of individual subagent reasoning to macro-level analysis of cost-per-task and loop-detection across distributed systems.
When To Use
Activate this skill when:
- Designing new complex agent workflows requiring distributed tracing.
- Debugging performance regressions or unexplained agent failures.
- Implementing production monitoring for cost optimization.
- Setting up feedback loops for regression testing based on real production traces.
- Configuring OpenTelemetry or integrating with observability platforms like Langfuse/Helicone.
Core Pillars
- Traceability: Capturing parent-child relationships across subagent calls and tool invocations.
- Quantification: Measuring latency, token consumption, and cache effectiveness.
- Detection: Identifying anomalies in agent behavior (e.g., infinite recursion, repetitive tool errors).
- Learning: Converting trace data into gold-standard datasets for future regression testing.
Instrumentation Workflow
To maintain high observability, follow this workflow:
- Context Propagation: Always pass
trace_idandspan_idheaders through all agent boundaries. - Structured Logging: Log all input/output payloads at the start and end of every tool call or reasoning step.
- Telemetry Standards: Use OpenTelemetry semantic conventions for LLM operations (e.g.,
llm.request.model,llm.usage.completion_tokens). - Platform Integration: Configure the agent SDKs to push spans directly to backend exporters (Langfuse/Helicone/Jaeger).
- Session Aggregation: Group all traces belonging to a single user task under a persistent
session_id.
Key Metrics
- Token Efficiency: Completion tokens vs. prompt tokens ratio.
- Cost per Task: Real-time dollar cost of the entire agentic conversation.
- Latency Breakdown: Time spent in LLM inference vs. external tool execution.
- Cache Hit Ratio: Effectiveness of persistent caching layers for repetitive queries.
- Reasoning Depth: Number of steps taken to arrive at a solution.
Loop Detection & Anomaly Alerts
To prevent runaway costs and infinite loops:
- Depth Limiter: Enforce a maximum stack depth for agent recursion.
- Repetition Threshold: Monitor for semantic similarity in back-to-back agent turns.
- Tool Error Rate: Alert when a specific tool returns consecutive non-transient errors.
- Spike Detection: Trigger alerts for sudden surges in token consumption that deviate from the 3-day rolling average.
Quality Gates
- Trace Coverage: All tool calls and subagent invocations must be wrapped in spans.
- Cost Budgeting: Automated failure if a single task exceeds the
max_costthreshold. - Feedback Validation: Any trace flagged by a user as "incorrect" must automatically trigger the generation of a potential regression test case.
Instrumentation Best Practices
- Avoid logging sensitive user data (PII) by sanitizing inputs before sending to external observability backends.
- Use asynchronous telemetry exporters to ensure observability does not contribute to agent latency.
- Periodically sample traces in high-traffic environments to balance overhead and visibility.
Golden Dataset Extraction
The system should implement a mechanism to:
- Export flagged traces (user corrections).
- Clean and format the input context and reasoning path.
- Store as a YAML-based test case in
tests/regression/. - Automatically run against the agent whenever the system prompt is updated.
Integration Patterns
- Langfuse: Use for session-level grouping, evaluation scores, and prompt management.
- Helicone: Leverage for caching, load balancing, and real-time observability at the proxy level.
- OpenTelemetry: The foundation for trace propagation and multi-service correlation.
KPI Definition
- First-Call Resolution: Percentage of tasks completed without secondary user intervention.
- Tool Success Rate: Ratio of successful tool invocations to total attempts.
- System Stability: Ratio of "completed" status to "errored/interrupted" status per session.
- Agent Throughput: Average time-to-completion for standard task types.
References
- OpenTelemetry LLM Semantic Conventions
- Langfuse Documentation
- Helicone Documentation
- KILO-KIT Observability Best Practices
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

