NVIDIAElizabeth GoodmanTutorial
Developing NVIDIA Holoscan Applications with CLI, Skills, and AI Coding Agents
Summary
NVIDIA Holoscan is a platform for real-time AI applications at the edge, and HoloHub provides reference applications and components. This post describes an engineer-guided workflow in which a coding agent builds a separate Python endoscopic tool segmentation application from the existing MONAI model, sample video, and Holoscan patterns. The Holoscan CLI, invoked through ./holohub, exposes shared commands for scaffolding, running, modes, tests, and benchmarking, while development skills and documentation guide the agent through project-specific operations. The application connects video replay, preprocessing, TensorRT inference, segmentation postprocessing, telemetry, and HoloViz visualization, with visual, smoke, and benchmark modes; the post reports that the CLI-plus-skills-plus-docs/examples configuration produced a separate application in 40 minutes using 11M tokens, and concludes that this combination offered the lowest resource overhead among the compared configurations.
Context
The work investigates whether a general-purpose coding agent can use the same examples, documentation, and development tools as an engineer to build a real-time endoscopic tool segmentation application. The stated objective includes live segmentation-mask visualization, statistical analysis, runtime telemetry, and repeatable benchmarking while reusing an existing model and sample video without modifying its weights.
Approach / What changed
The workflow divides the goal into smaller, reviewable iterations. An engineer sets goals and constraints; the agent inspects HoloHub examples, documentation, and development skills, uses the ./holohub CLI to scaffold, build, run, test, and benchmark the application, and the engineer reviews code, outputs, and tests before defining the next iteration. The implementation reuses Holoscan operators and adds application modes for visualization, smoke testing, and benchmarking.
Takeaways
The workflow uses small, verifiable iterations so code, outputs, and tests can inform the next engineering prompt and design decision.
Benchmark mode processes 300 frames using Holoscan Data Flow Tracking and exports measurements and plots, making latency review more repeatable.
In the comparison, CLI guidance, development skills, and documentation/examples produced a separate application in 40 minutes with 11M tokens; the other configurations used 15M and 20M tokens and had implementation or efficiency drawbacks.
Source and freshness
- Source
- developer.nvidia.com
- Published
- Added to Yomu
- Last updated
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.