Trace AI Agents in MATLAB with OpenTelemetry @MATLAB
Trace AI Agents in MATLAB with OpenTelemetry  @MATLAB
Uploaded October 2026 | Updated November 2026, 2 hours ago
Learn how to instrument an agentic chatbot using the MATLAB® Interface to OpenTelemetry Support Package and export traces, metrics, and logs to your existing observability platform. Follow each request as it moves through large language model (LLM) calls, tool executions, and agent decisions, and visualize the complete execution path with distributed tracing.

This example demonstrates how OpenTelemetry can help engineers and platform teams understand the behavior of AI-powered applications running as part of larger distributed systems. By capturing telemetry from MATLAB and Simulink® workflows, you can identify performance bottlenecks, correlate activity with upstream and downstream services, and gain increased visibility into performance, quality, and cost drivers such as token usage.

Because telemetry is exported using the OpenTelemetry standard, the same instrumentation can be integrated with observability platforms such as Datadog, Splunk, Grafana, Jaeger, and other OpenTelemetry-compatible backends. This enables MATLAB applications, Simulink models, and production deployments to participate in the same monitoring and troubleshooting workflows already used across the enterprise.

Whether you are building AI applications, deploying MATLAB algorithms as services, or operating complex IT and engineering systems, OpenTelemetry provides a vendor-neutral way to bring observability to MATLAB and Simulink workloads and connect them to your broader platform engineering strategy.

Related resources:
- View an example on GitHub: github.com/mathworks/OpenTelemetry-MATLAB/blob/main/examples/ai_agent/AddObservabilityToAIAgent.md
- Explore how MATLAB and Simulink integrate with your enterprise IT strategy: bit.ly/3Vbk4os
- MATLAB Interface to OpenTelemetry: bit.ly/4rEnpsm

--------------------------------------------------------------------------------------------------------
Get a free product trial: goo.gl/ZHFb5u
Learn more about MATLAB: goo.gl/8QV7ZZ
Learn more about Simulink: goo.gl/nqnbLe
See what's new in MATLAB and Simulink: goo.gl/pgGtod

© 2026 The MathWorks, Inc. MATLAB and Simulink are registered trademarks of The MathWorks, Inc.
See mathworks.com/trademarks for a list of additional trademarks. Other product or brand names may be trademarks or registered trademarks of their respective holders.
Trace AI Agents in MATLAB with OpenTelemetryWhat Is Radar Toolbox?What Is Simulink Variant Manager?Connect Simulink to Agentic AIHow to Use Python Code in SimulinkUsing SIR Epidemic Modeling and Control to Teach Process Dynamics and Control to Chemical EngineersUnderstanding and Processing Point Clouds | Deep Learning for 3D Object Detection, Part 1What Is Time Series Modeling?What Are Bode Plots?Convert Specialized Power Systems (SPS) models to Simscape Electrical modelsWhat Is Econometrics Toolbox?Modeling Time Delays in MATLAB
MATLAB |

Trace AI Agents in MATLAB with OpenTelemetry

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER