{"type":"post","id":"building-an-agent-harness-for-otel-instrumentation-with-20f477","slug":"building-an-agent-harness-for-otel-instrumentation-with-20f477","title":"Building an Agent Harness for OTel Instrumentation with GenAI Semantic Conventions and Weaver","description":"Alibaba engineers describe an agent harness that generates OpenTelemetry instrumentation for GenAI frameworks, then checks its output against semantic conventions and runtime behavior.","retrieval_nugget":"Alibaba engineers describe an agent harness that generates OpenTelemetry instrumentation for GenAI frameworks, then checks its output against semantic conventions and runtime behavior. The useful lesson for builders is the separation of agent implementation from reviewable planning and machine-enforced validation: a model’s confidence is not a conformance test.","published_at":"2026-11-20","updated_at":"2026-11-20","record_date":"2026-11-20","date_kind":"published_at","topics":["agent-harness","claude"],"entities":["OpenTelemetry","Alibaba Cloud","OpenTelemetry Weaver","LoongSuite Python","CrewAI","LangChain","Claude Agent SDK"],"related_patterns":["harness-architecture-outlives-model-choice"],"novelty_label":"new_fact","what_changed":"OpenTelemetry describes an agent harness for GenAI instrumentation using semantic conventions and Weaver.","prior_refs":["https://newruntime.com/posts/trace-agents-with-opentelemetry-on-the-claude-platform-a01c87/"],"source_url":"https://opentelemetry.io/blog/2026/agent-harness-genai-instrumentation","source_urls":["https://opentelemetry.io/blog/2026/agent-harness-genai-instrumentation"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:building-an-agent-harness-for-otel-instrumentation-with-20f477","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/building-an-agent-harness-for-otel-instrumentation-with-20f477/","markdown":"https://newruntime.com/posts/building-an-agent-harness-for-otel-instrumentation-with-20f477.md","json":"https://newruntime.com/posts/building-an-agent-harness-for-otel-instrumentation-with-20f477.json"},"markdown_url":"https://newruntime.com/posts/building-an-agent-harness-for-otel-instrumentation-with-20f477.md","next_reads":[{"type":"topic","path":"/topics/agent-harness/","url":"https://newruntime.com/topics/agent-harness/","title":"Agent Harness","reason":"Explore the agent-harness topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/agent-harness.md","json_url":"https://newruntime.com/topics/agent-harness.json"},{"type":"topic","path":"/topics/claude/","url":"https://newruntime.com/topics/claude/","title":"Claude","reason":"Explore the claude topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/claude.md","json_url":"https://newruntime.com/topics/claude.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
