Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

maf-tracing

Skill by microsoft

Adds OpenTelemetry tracing and logging to Microsoft Agent Framework workflows. It exports to Azure Application Insights, a generic OTLP endpoint, or both, configured through environment variables. Aimed at developers building MAF projects.

  • Score 86
  • 11k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install maf-tracing

Built from the published package, never by AI.

git clone --depth 1 https://github.com/microsoft/promptflow /tmp/promptflow && mkdir -p ~/.claude/skills && cp -r /tmp/promptflow/.github/skills/maf-tracing ~/.claude/skills/maf-tracing

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install maf-tracing in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The maf-tracing skill sets up tracing and logging for Microsoft Agent Framework (MAF) workflows. It configures OpenTelemetry export to Azure Application Insights, a generic OTLP endpoint such as Jaeger, Zipkin or Grafana Tempo, or both. Connection details are read from environment variables, and the skill adds the required packages to requirements.txt.

According to the source, MAF emits spans for executor invocations, agent calls and LLM requests automatically, so no changes are needed inside Executor classes. The skill adds exporter setup and a call to configure_otel_providers() at application startup, before any workflow.run() call. It also generates a .env.example template. It is aimed at developers who want to observe, debug or monitor agent workflows built with agent-framework.

Written from the project's SKILL.md and checked against it.

What it can do

  • Application Insights exportSends workflow traces to Azure Application Insights using a connection string.
  • OTLP exportSends traces to an OTLP-compatible endpoint such as Jaeger, Zipkin or Grafana Tempo.
  • Dual exportSends telemetry to both Application Insights and an OTLP endpoint at the same time.
  • Python logging integrationExports Python logging calls through OpenTelemetry when the user asks for logging.
  • Requirements updateAppends the needed tracing packages to requirements.txt without duplicating existing entries.
  • Environment templateGenerates a .env.example file listing the required tracing environment variables.
  • Setup placementPlaces the setup code at the start of the entry-point script, before workflow.run().

What you need

  • Python project using agent-framework
  • Azure Application Insights connection string, for Application Insights export
  • OTLP-compatible backend such as Jaeger or Grafana Tempo, for OTLP export

Try asking

  • Add Application Insights tracing to my MAF workflow project.
  • Set up OTLP tracing to Jaeger for my agent-framework app.
  • Add logging and tracing to my workflow and create a .env.example file.

Good to know

  • Exporter setup must run before configure_otel_providers(), and both must run before any workflow.run() call.
  • Setup code must not be placed inside Executor classes.
  • gRPC export needs the separate gRPC exporter package and OTEL_EXPORTER_OTLP_PROTOCOL set to grpc.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .github/skills/maf-tracing/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md15 KB

Alternatives to maf-tracing

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

maf-tracing: common questions

Do I need to change my Executor classes to get traces?

No. The source says MAF emits OpenTelemetry spans for executor invocations, agent calls and LLM requests automatically, so no instrumentation changes are needed inside Executor classes.

Which export destination does the skill use by default?

If the user asks for tracing without naming a destination, the skill defaults to both Application Insights and OTLP.

Where is the Application Insights connection string read from?

The source says it comes from the Azure Portal under App Insights, Overview, and is read from the APPLICATIONINSIGHTS_CONNECTION_STRING environment variable.

How do I install maf-tracing?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is maf-tracing free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is maf-tracing safe to use?

It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to maf-tracing?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

maf-tracing Install

Add to stack

Loading.