Skip to content

Commit 37f44f3

Browse files
committed
inital upload
1 parent d2517ea commit 37f44f3

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed

articles/ai-foundry/how-to/develop/trace-agents-sdk.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: This article provides instructions on how to trace your application
55
author: lgayhardt
66
ms.author: lagayhar
77
ms.reviewer: amibp
8-
ms.date: 08/21/2025
8+
ms.date: 09/22/2025
99
ms.service: azure-ai-foundry
1010
ms.topic: how-to
1111

@@ -182,6 +182,14 @@ with tracer.start_as_current_span("example-tracing"):
182182
run = project_client.agents.runs.create_and_process(thread_id=thread.id, agent_id=agent.id)
183183
```
184184

185+
### Alternative: AI Toolkit for VS Code
186+
187+
AI Toolkit gives you a simple way to trace locally in VS Code. It uses a local OTLP-compatible collector, making it great for development and debugging.
188+
189+
The toolkit supports AI frameworks like Azure AI Foundry Agents Service, OpenAI, Anthropic, and LangChain through OpenTelemetry. You can see traces instantly in VS Code without needing cloud access.
190+
191+
For detailed setup instructions and SDK-specific code examples, see [Tracing in AI Toolkit](https://code.visualstudio.com/docs/intelligentapps/tracing).
192+
185193
## Trace custom functions
186194

187195
To trace your custom functions, use the OpenTelemetry SDK to instrument your code.

articles/ai-foundry/how-to/develop/trace-application.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to trace applications that use OpenAI SDK in Azure AI Fou
55
author: lgayhardt
66
ms.author: lagayhar
77
ms.reviewer: ychen
8-
ms.date: 08/29/2025
8+
ms.date: 09/22/2025
99
ms.service: azure-ai-foundry
1010
ms.topic: how-to
1111
---
@@ -268,6 +268,15 @@ Configure tracing as follows:
268268
}
269269
```
270270

271+
## Trace locally with AI Toolkit
272+
273+
AI Toolkit offers a simple way to trace locally in VS Code. It uses a local OTLP-compatible collector, making it perfect for development and debugging without needing cloud access.
274+
275+
The toolkit supports the OpenAI SDK and other AI frameworks through OpenTelemetry. You can see traces instantly in your development environment.
276+
277+
For detailed setup instructions and SDK-specific code examples, see [Tracing in AI Toolkit](https://code.visualstudio.com/docs/intelligentapps/tracing).
278+
279+
271280
## Related content
272281

273282
* [Trace agents using Azure AI Foundry SDK](trace-agents-sdk.md)

0 commit comments

Comments
 (0)