You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/product/insights/ai/agents/getting-started.mdx
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,58 @@ result = await agents.Runner.run(
194
194
195
195
```
196
196
197
+
### .NET - Microsoft.Extensions.AI SDK
198
+
199
+
The Sentry .NET SDK supports AI agent monitoring through the Microsoft.Extensions.AI integration, which automatically captures spans for your AI agent workflows using the library's built-in telemetry.
}, "GetWeather", "Gets the current weather for a location")
240
+
]
241
+
}.AddSentryToolInstrumentation();
242
+
243
+
varresponse=awaitchatClient.GetResponseAsync(
244
+
"What's the weather in New York?",
245
+
options);
246
+
```
247
+
248
+
197
249
<Alerttitle="Don't see your SDK?">
198
250
199
251
You can also instrument AI agents manually by following our [manual instrumentation guides](/platforms/python/tracing/instrumentation/custom-instrumentation/ai-agents-module).
0 commit comments