Inside the Agent Loop: build a .NET Flight Recorder for Github Copilot, Cursor and Claude
AI coding agents can read source files, invoke MCP server tools, execute commands and delegate work to subagents. But their chat transcript does not reveal the complete story.
Did the agent load the expected skill? Which MCP tool did it call, with which arguments? Was the call part of the main turn or a parallel subagent? How long did each step take and at what cost?
GitHub Copilot , Cursor and Claude Code expose supported hooks around sessions, prompts, tools, files, MCP calls, compaction and subagents. In this demo-driven session, we will use them to build a passive flight recorder in .NET.
You will then see how to correlate session, turn, tool and subagent identifiers to reconstruct the agent’s activity and summarize tool, MCP and skill usage.
No traffic interception, undocumented APIs or vendor marketing: just supported hooks, working code and honest observability boundaries.
About the speaker
Christophe Nasarre
In addition to developing and shipping software on Microsoft stacks for 30+ years, Christophe has been working as a Technical Reviewer for MSPress, Addison-Wesley and other publishing companies since 1996 on books such as "CLR via C#" and the last editions of Windows Internals. He has also wrote the second edition of Pro .NET Memory Management with Konrad Kokosa and Kevin Gosse.
He is providing tools and insights on .NET/Windows development and troubleshooting via https://medium.com/@chnasarre.
Look for his open source projects on https://github.com/chrisnas/
Christophe also presented technical sessions on stage both internally at Microsoft or for ISVs and customers at public event such as Microsoft TechDays, NDC Oslo, DotNext, .NET Dev Days, Azure Dev Summit or Techorama.
