Optimize Your AI Agent Workflows with NVIDIA NeMo Agent Toolkit Profiler
Key Takeaways
The NVIDIA NeMo Agent toolkit profiler is used to optimize AI agent workflows by identifying bottlenecks and leveraging features for parallel tool calling and performance. The demo showcases how to use the profiler to gain insights into the performance and behavioral characteristics of an agent workflow.
Full Transcript
my name is Dro and I'm a Solutions architect Nidia today I'll be showing you how to use the Nvidia agent IQ profiler to get deeper insights into the performance and behavioral characteristics of your agent workflow for this demo we're looking at agent Morpheus an AI agent example for a analysis let's kick off a r of agent IQ before we explore some of the configurability of the agent itself the agent Morpheus system built by Nvidia can quickly triage vulnerabilities and software containers and code this is incredibly helpful as analyzing software for vulnerabilities is often a critical but timec consuming step in the development process the input to the agent is a vulnerability that needs to be triaged this also includes information about the documentation as well as where to find the code itself a large language model then creates a checklist of things it needs to investigate in order to triage the vulnerability the same checklist is then processed by another agent in parallel the agent performs retrieval augment of generation on the code in addition to the documentation of the container to understand if a particular vulnerability exists once all our checklist items are executed in parallel there are two other model steps that occur first all of the findings are summarized and then created into a Vex justification which is a justification about a vulnerability existing in a container or not that is then passed to the user this process end to end saves a lot of time with agent morphus where would usually take security analysts and operators hours if not days to do agent morphus will finish it in a minute as we'll see as we see the agent thinking and observations on the right hand side let's explore how the agent is configured in agent IQ you have functions which are the tools and agents themselves that do various things for example we have one to search a vector database another to search the internet to search the software builds and materials Etc we'll also have llms that are used in the execution for example we'll have an LM for a checklist for a vector database for the retriever execution and so on the first step to create and run a profiler on a workflow is to ensure the profiler is part of the evaluation harness that's native to agent IQ so you must add a configuration item at the bottom of the configuration yo file that tells agent IQ how to use a profiler then we'll tell agent IQ where to save the data as well as where the input data exists that's going to be used by the profiler then we'll tell agent IQ what kind of metrics we' want to look at for example if we have hyper parameters with the each of those metrics we should add them here let's try Computing estimates for workflow runtime we can also forecast how many unique tokens are created by the agent and llm in the execution of the workflow at each step we can also identify bottlenecks in workflows and we'll explore all of this as we look at the output of the profiler we see on the right that the profiler has successfully completed and now we can explore some of its output one of the primary outputs of the profiler is Trace of the execution of the agent itself we can look at all of the intermediate steps thoughts actions tool usage for the agent including where it came from what its function ancestry was how long it took and even what framework it came from for example if an agent system was implemented on Lang chain as well as llama index we'd still be able to trace all of those in a single view now this may be a little hard to read so we also standardize a data in a data frame that contains all of the same information just in a columnar format that may be a little bit easier to interpret but more importantly we also have open Telemetry Integrations that allow us to view this data in a UI such as Phoenix we can look at each of the agent tool calls and the execution look at the latency of the llms look at what went into a tool and what the outputs were we can do this for llms tools retrievers Etc all natively and transparently to the user so whether they're implementing a lang chain llama index or another framework we're able to comprehensively observe intermediate steps another metric we can look at is inference optimization which is helpful when collaborating with engineering teams to optimize workflow run times for example we could identify commonly used prompt prefixes so that we could pre-populate key value caches for NVIDIA Nim to increase throughput and reduce latency we can get a better understanding of how workflow runs or how many unique tokens there are between every agent calling an llm which may allow us to make smarter decisions about the serving of the llm M itself we can also look at workflow run times and latency confidence intervals from a developer perspective we provide additional metadata this allows us to look at understanding how workflows Run in real time we also provide a profiling report this allows developers to look at for example where the bottlenecks and their workflows are is it with the llm or is it a certain tool the last example we'll look at is how workflow runs at various concurrencies we can look at llm latencies at multiple concurrencies so we can make smarter decisions about how to deploy these workflows for example if we're seeing a lower latency at a high concurrency that's good but if we wanted to reduce our latency at a high concurrency maybe we'd make smarter deployment decisions about the cluster on which this runs but all of this is to allow developers to pinpoint where their bottlenecks are where they can optimize their workflow so that the next time it runs it will run faster
Original Description
NVIDIA NeMo Agent toolkit is an open-source library for connecting and optimizing teams of AI agents. With the Agent toolkit profiler, developers can identify bottlenecks and leverage features for parallel tool calling, performance, and more.
This demo shows you how to use the Agent toolkit profiler to get deeper insights into the performance and behavioral characteristics of your AI agent workflows. We walk you through how Agent Morpheus works, an AI agent example for CVE analysis that can quickly triage vulnerabilities in software containers and code.
By the end of the video, you’ll be able to pinpoint where bottlenecks are and where you can optimize your AI workflow so it will run faster.
00:00 - Introduction
00:25 - Agent Morpheus Architecture
01:35 - Agent Configuration
03:35 - Open Telemetry Integration
04:03 - Inference Optimization
📥 Download NVIDIA NeMo Agent toolkit profiler: http://github.com/NVIDIA/AgentIQ
📖 Read our introductory technical blog: https://nvda.ws/4iGTQ3y
📝 Explore documentation: https://docs.nvidia.com/agentiq
📝 Learn more: https://nvda.ws/4ivavH7
AI agent, AI agents
#AIAgent #AIAgents
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from NVIDIA Developer · NVIDIA Developer · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
Ray Tracing Essentials Part 2: Rasterization versus Ray Tracing
NVIDIA Developer
Ray Tracing Essentials Part 3: Ray Tracing Hardware
NVIDIA Developer
Ray Tracing Essentials Part 4: The Ray Tracing Pipeline
NVIDIA Developer
NsightGraphics 2020 2 Release Spotlight
NVIDIA Developer
Ray Tracing Essentials Part 5: Ray Tracing Effects
NVIDIA Developer
Ray Tracing Essentials Part 6: The Rendering Equation
NVIDIA Developer
Ray Tracing Essentials Part 7: Denoising for Ray Tracing
NVIDIA Developer
Spatiotemporal Importance Resampling for Many-Light Ray Tracing (ReSTIR)
NVIDIA Developer
Announcing Cloud-Native Support for Jetson Platform
NVIDIA Developer
JetsonTV: Build your next project with NVIDIA Jetson
NVIDIA Developer
Nsight Compute Feature Spotlight: Roofline Analysis, Asynchronous Copy, Sparse Data Compression
NVIDIA Developer
Nsight Systems Feature Spotlight: OpenMP
NVIDIA Developer
Isaac Sim 2020: Deep Dive
NVIDIA Developer
NVIDIA Jetson: Enabling AI-Powered Autonomous Machines at Scale
NVIDIA Developer
NVIDIA Tools to Train, Build, and Deploy Intelligent Vision Applications at the Edge
NVIDIA Developer
Jetson Xavier NX Developer Kit: The Next Leap in Edge Computing
NVIDIA Developer
Synthesizing High-Resolution Images with StyleGAN2
NVIDIA Developer
NVIDIA Robotics: Isaac SDK and Sim 2020.1
NVIDIA Developer
Accelerating COVID-19 Research with GPUs
NVIDIA Developer
Visualizing 150 Terabytes of Data
NVIDIA Developer
Boosting Performance and Utilization with Multi-Instance GPU
NVIDIA Developer
Running Multiple Workloads on a Single A100 GPU
NVIDIA Developer
NVIDIA Nsight Feature Spotlight: GPU Trace
NVIDIA Developer
Spark 3 Demo: Comparing Performance of GPUs vs. CPUs
NVIDIA Developer
NVIDIA Jetson Nano Wins Edge AI and Vision Alliance Award
NVIDIA Developer
NVIDIA IndeX on Google Cloud Platform Marketplace
NVIDIA Developer
DeepStream SDK: Best practices for performance optimization
NVIDIA Developer
Efficiently Deploying GPU Accelerated 5G CloudRAN for Edge AI Inferencing
NVIDIA Developer
NVIDIA PhysicsNeMo - Accelerating Scientific & Engineering Simulation Workflows with AI
NVIDIA Developer
NVIDIA Deep Learning Institute Instructor-Led Training Available Remotely
NVIDIA Developer
Advancing AR Glasses
NVIDIA Developer
Blender Cycles: RTX On
NVIDIA Developer
Real-Time GPU-Accelerated Data Analytics of 250 million Flight Data Records of 737 Max grounding
NVIDIA Developer
Assessing Property Damage with AI
NVIDIA Developer
RAPIDS: GPU-Accelerated Data Analytics & Machine Learning
NVIDIA Developer
DaVinci Resolve Turns RTX On
NVIDIA Developer
RAPIDS with Plotly Dash : GPU-Accelerated Census 2010 Visualization
NVIDIA Developer
NVIDIA IndeX for arivis5D Cloud Platform
NVIDIA Developer
NVIDIA Backchannel: Behind the Scenes of Marbles at Night RTX
NVIDIA Developer
NVIDIA Backchannel: Sneak Peek into Marbles RTX in Omniverse
NVIDIA Developer
How to Create "Paint" in Substance Painter
NVIDIA Developer
Accelerate AI development for Computer Vision on the NVIDIA Jetson with alwaysAI
NVIDIA Developer
Securing Next Generation Apps over VMware Cloud Foundation with Bluefield-2 DPU
NVIDIA Developer
Accelerated Data Centers with NVIDIA and VMware
NVIDIA Developer
GPU-Accelerated Motion Blur in Blender Cycles
NVIDIA Developer
NVIDIA Clara Guardian Virtual Patient Assistant
NVIDIA Developer
Revolutionizing Supercomputing with NVIDIA UFM Cyber-AI
NVIDIA Developer
Inventing Virtual Meetings of Tomorrow with NVIDIA AI Research
NVIDIA Developer
Learning a Contact-Adaptive Controller for Robust, Efficient Legged Locomotion
NVIDIA Developer
Getting started with Jetson Nano 2GB Developer Kit
NVIDIA Developer
NVIDIA Jetson Developer Community AI Projects
NVIDIA Developer
Open-source projects on NVIDIA Jetson Nano 2GB Developer Kit
NVIDIA Developer
Real-Time Ray Tracing with Project Lavina
NVIDIA Developer
Jetson AI Fundamentals - S1E2 - Hello Camera
NVIDIA Developer
Develop Optimized Conversational AI Models with NVIDIA NeMo on DGX A100
NVIDIA Developer
Jetson AI Fundamentals - S1E4 - Image Regression Project
NVIDIA Developer
Jetson AI Fundamentals - S2E1 - JetBot Intro and Hardware
NVIDIA Developer
Jetson AI Fundamentals - S2E2 - JetBot Software Setup
NVIDIA Developer
Jetson AI Fundamentals - S1E1 - First Time Setup with JetPack
NVIDIA Developer
Jetson AI Fundamentals - S1E3 - Image Classification Project
NVIDIA Developer
More on: Agent Foundations
View skill →Related Reads
📰
📰
📰
📰
Meet Your New Lab Partner: How AI Went From Reading Papers to Running Experiments
Medium · AI
Meet Your New Lab Partner: How AI Went From Reading Papers to Running Experiments
Medium · Data Science
Approve Slack Messages From an AI Agent
Dev.to · sekera-radim
Prentis, new AI lab co-founded by Reid Hoffman, Mark Pincus in talks to raise $100M
TechCrunch AI
Chapters (5)
Introduction
0:25
Agent Morpheus Architecture
1:35
Agent Configuration
3:35
Open Telemetry Integration
4:03
Inference Optimization
🎓
Tutor Explanation
DeepCamp AI