AgentProf: Semantic Profiling for AI Agents
AgenticOS 26 AgenticOS Workshop (co-located with SOSP'26), Prague, Sep 2026. 🏆 Best Paper Award
AI agents increasingly orchestrate long-running, multi-step activities involving thousands to millions of interactions with users, tools, and system resources. To improve quality, safety, and cost efficiency, developers need to determine where failures concentrate, which workflows trigger unsafe effects, and which task categories consume the most budget. AgentProf introduces a semantic operation stack model that adapts profiling to agent trajectories. Uniform operations represent all agent activities, and operation stacks replace the runtime call stack, enabling hierarchical attribution at different levels of granularity from the same data. AgentProf implements this model as an offline profiler with pluggable algorithms for intent attribution and stack construction, compiling local agent trajectories into pprof-compatible profiles.
