Copilot Agent Session Streaming [Enterprise]
Dillip Chowdary
July 21, 2026 · 5 min read · Source: GitHub Changelog
Bottom Line
Enterprises can finally stream Copilot agent sessions (prompts, responses, tool calls) to SIEM/Purview — a prerequisite for governance of agentic coding at scale.
Key Takeaways
- ›Public preview for GitHub Enterprise Cloud with enterprise managed users.
- ›Covers cloud agents on github.com/ghe.com, Copilot CLI, VS Code, Visual Studio, JetBrains, Eclipse partners.
- ›Enable “Copilot Usage Records Streaming” and “Copilot Usage Records API” in AI Controls.
- ›Streaming endpoint for collectors/SIEM; Microsoft Purview supported in public preview.
- ›REST API: GET /enterprises/{enterprise}/copilot/usage-records for last 48 hours.
GitHub’s July 2, 2026 changelog notes that Copilot agent session streaming is now in public preview.
Why it matters
Agentic coding without audit trails is ungovernable. Security and compliance teams need the same visibility into agent tool calls that they already demand for human admin actions.
What you get
- Visibility into prompts, responses, and tool calls across Copilot clients
- Streaming to your event collector / SIEM
- On-demand REST retrieval for the last 48 hours
Enablement steps
- Open the Copilot subpage under AI Controls
- Enable everywhere for Copilot Usage Records Streaming and API
- Configure audit log streaming endpoint (or Microsoft Purview)
- Validate a sample agent session appears in your collector
GET /enterprises/{enterprise}/copilot/usage-records
Primary source: GitHub Changelog →
Verify claims against the original before changing production systems.