BRK291 · Breakout
GitHub Intelligence: The intelligence layer for the self-improving SDLC
Speakers: John Lam, Aditya Sharad
Microsoft’s player cannot open a video at a given time: once it plays, skip to the time shown.
What the session covers
GitHub's Aditya Sharad and John Lam present four primitives for a self-improving SDLC: Copilot memory, Copilot dreaming, lexical and semantic code search, and agentic search. A demo analyses two weeks of merged PRs and Copilot sessions in one repository to find failure themes, and the agentic search architecture is explained (GitHub memory, MCP server, disposable GitHub sandbox, daily-refreshed SQLite cache, live GitHub API). Dreaming learns review rules from PRs and sessions in the background and feeds them into Copilot code review; memory was observably helpful in 22% of over 8,000 analysed sessions. Use cases include organization-wide playbooks (e.g. Log4J removal), feature-flag cleanup and an internal trace tool for debugging agentic search requests. Copilot memory is GA in all paid plans, dreaming is in public preview and agentic search is available through preview enrollment.
Best for: Engineering leaders and platform teams on GitHub Copilot who want to understand how memory, dreaming, code search and agentic search work technically and how to use them across a whole repo estate.
New material starts at 01:25. After a short speaker introduction and framing, the agentic search demo analysing PRs and Copilot sessions starts at 01:25.
Where to skip: Start at 01:25; the architecture at 04:00, dreaming at 11:02, agentic search scope at 24:37 and the trace-tool demo at 28:51 are the core; availability is at 32:26. The 16:45–24:37 stretch is mostly conceptual use cases and can be skimmed.
Chapters (13)
- 00:00 Recap Depth 100 · Novelty 0/3
Speaker introductions and framing of the self-improving development lifecycle
Aditya Sharad (GitHub, context and intelligence for Copilot agents) and John Lam (Microsoft, on loan to GitHub) introduce the session. They frame the goal as engineering systems that learn from the problems they encounter rather than relying on humans to make every change. They also stress that teams need better insight into what these learning systems are doing. They then announce a demo that moves from a concrete question to how the answer was generated.
- 01:25 Demo Depth 200 · Novelty 2/3
Demo: asking agentic search what blocked Copilot sessions and merged PRs
In the Copilot app, John asks a question about one repository: pull requests merged over a two-week window plus the Copilot sessions of its contributors, and what the top causes of failure were. Because the query is long-running, he switches to a precomputed result produced by agentic search. It lists sources of friction, how PRs and sessions are linked, work done with and without an agent, failure themes (files not read, missing artifacts, missing production observability) and recommendations. Aditya explains the use for engineering managers and for feeding findings back into Copilot products, and mentions generating diagrams and system understanding the same way.
- 04:00 Deep dive Depth 300 · Novelty 2/3
Agentic search architecture: memory, MCP server, disposable sandbox, SQLite cache
John walks through the block diagram: the prompt is augmented with GitHub memory, passed to an MCP server, which runs agentic search inside a disposable GitHub sandbox discarded after each request to keep data private. Four information sources are used: GitHub data (PRs, commits, issues), code search, Copilot session search, and a GitHub SQL cache stored in SQLite and refreshed daily to avoid API rate limits. GitHub API tools in the sandbox fetch fresh data, and the agent merges cached and live results. The sandbox is the same infrastructure used by Copilot cloud agents, GitHub Copilot chat and GitHub in Slack or Teams.
- 07:20 Deep dive Depth 300 · Novelty 1/3
Copilot memory: enterprise controls, Copilot SDK integration and measured impact
Aditya lists the four primitives (Copilot memory, Copilot dreaming, code search, agentic search) and describes Copilot memory, which stores user preferences and repository conventions across agent sessions and clients. Enterprises can control memory at enterprise, organization, repository and user level and audit and export it; memory is integrated via the Copilot SDK and stored in Azure. An analysis of over 8,000 sessions using models plus human spot checks found memory observably helpful in 22% of sessions, mostly for preference alignment and in a little under half for efficiency gains that also reduce token use.
- 11:02 Deep dive Depth 300 · Novelty 2/3
Copilot dreaming: learning review rules from PRs for Copilot code review
Dreaming is presented as a background counterpart to memory that runs only if enabled. Real screenshots show human reviewers repeating the same comments (e.g. no change notes for certain changes, evaluation diligence); after dreaming, Copilot code review raises the same comments automatically, annotated as coming from dreaming. No instructions or memories were written manually: dreaming analyses PRs and sessions via background cloud agent jobs and turns them into reusable skills and instructions. It also curates personal and repository memories so they stay accurate, relevant and deduplicated.
- 14:24 Deep dive Depth 300 · Novelty 1/3
Code search across the repo estate: lexical and on-demand semantic search
John explains that agents usually grep locally checked-out code, which fails for questions spanning thousands or tens of thousands of repositories, such as how a dependency is used elsewhere. Aditya describes two flavours: lexical search on an optimized engine indexing default branches with exact matching, and semantic search that indexes repos on demand and reasons about meaning via an AI model. Both are embedded across Copilot agent surfaces and also used by dreaming and agentic search; models layer semantic search on top of tools like ripgrep.
- 16:45 Demo Depth 200 · Novelty 1/3
Demo rerun: non-deterministic results and a multi-day self-improvement loop
The live query from the start completes and gives similar counts of PRs and troubled sessions, but a different priority order, showing non-determinism that requires human judgment. Aditya describes acting on the findings, rerunning the search to measure whether failure categories such as tool call failures disappear. He outlines an automation loop spanning multiple sessions and days: search, attempt a fix, search again, and try a different approach if unresolved.
- 19:03 Deep dive Depth 200 · Novelty 1/3
Organization-wide playbooks: generalizing fixes like Log4J removal across repos
John describes using agents to find a team's well-executed use of a dependency, generate a generalizable playbook and apply it first to the five least or most risky repositories. His example is removing Log4J by learning from a team's Log4J-free implementation and rolling it out systematically at lower cost. Aditya stresses that such cross-organization questions are hard within a single repo or session, and that code search plus dreaming enable a self-improving estate rather than a single self-improving repo.
- 22:34 Deep dive Depth 200 · Novelty 1/3
Using the primitives to understand systems: agent-written diagrams and the 'why'
Aditya shows how he used these primitives to understand how Copilot memory and dreaming work, including scopes, internal wiring and an agent-written communication diagram. The agent also found changes that crossed the boundary between the two systems. John notes that code explains the what and how, while the why lives in documents, issues and PRs, which agentic search brings together to avoid reverting changes made for a reason.
- 24:37 Deep dive Depth 300 · Novelty 2/3
Agentic search scope, feature-flag cleanup and keeping customizations current
Agentic search queries the full history of repository data (PRs, issues, commits), bridging cached and live data like the GitHub API and MCP server, with optional inclusion of session data, and can be wired into any Copilot client for custom analytics and automations. Aditya uses it to trace feature flags across systems; John describes systematic cleanup of flags once telemetry (e.g. Datadog) shows all traffic on one branch. Aditya adds that dreaming should detect outdated instructions, skills, memories and code review instructions and suggest modifications.
- 28:51 Demo Depth 300 · Novelty 2/3
Demo: internal trace tool showing an agentic search request step by step
John shows a sequence diagram of a prompt's flow that was itself generated by agentic search, then an internal vibe-coded tool for inspecting requests. It displays end-to-end time, token usage, credits consumed, model, number of calls and time per step, and the team uses it for debugging, including spotting an unnecessary call bug. For the prompt asking for the diagram, the trace shows many lexical code search calls followed by file viewing and grepping. Aditya notes the recursion of using the capability to explain and debug itself.
- 32:26 New Depth 200 · Novelty 2/3
Availability: dreaming in public preview, agentic search preview and instance setup
Aditya states availability: Copilot memory in all paid Copilot plans, Copilot dreaming in public preview, code search already available in agent clients and sessions, and agentic search a new capability to build with customers via a preview enrollment link. John explains that enabling agentic search creates an instance listing the organization's users with access and its repositories. An organization administrator must turn it on, giving control over who can access the information.
- 33:53 Closing Depth 100 · Novelty 0/3
Recap of the four primitives, related sessions and call to join the preview
Aditya recaps Copilot memory, Copilot dreaming, lexical and semantic code search, and agentic search for long-running, broad SDLC questions in enterprises. He points to related Ignite sessions and links to try memory, dreaming and the agentic search preview. John asks attendees to opt in to be contacted for research so the tool can be co-developed, calling this the beginning of a recursive self-improvement loop for repositories and whole code estates.
Announcements (4)
-
Copilot memory across GitHub Copilot agent services
Copilot memory remembers user preferences and repository conventions and follows the user across agent sessions and clients, with enterprise, organization, repository and user controls.
All paid Copilot plans
Speaker’s quote (at 07:45)
„Copilot memory, which is now available across Copilot agent services in GitHub, is a system that allows Copilot to be more effective over time.“
-
Copilot dreaming
Background cloud agent jobs that curate memories, instructions and code review guidance by reflecting on past PRs and sessions.
Speaker’s quote (at 32:26)
„Copilot dreaming is in public preview, available for you to try out if you want to have that kind of self-curating improvement“
-
Code search in Copilot agent clients
Lexical and semantic code search provided as a tool to agents in all Copilot agent clients and sessions.
Speaker’s quote (at 32:26)
„Code search is already available in each of your agent clients and agent sessions.“
-
GitHub agentic search
Agentic search over GitHub data, code, Copilot sessions and live API data in a disposable sandbox, enabled per organization instance by an admin.
Speaker’s quote (at 32:26)
„An agentic search that kind of brings these together is a new capability that we would like to build with you.“
Demos (3)
-
An engineering manager finds out where teams got stuck by analysing merged PRs and Copilot sessions in a repository over two weeks.
Steps (5)
- Open the Copilot app.
- Ask a question scoped to a repository, PRs merged in a two-week window and contributors' Copilot sessions, asking what got in the way and the top causes of failures.
- Wait for the long-running agentic search (a precomputed result was shown).
- Review the answer: friction in sessions, PR-to-session correlation, work with and without an agent.
- Review failure themes and the agent's recommendations on where to focus.
Prerequisites: Access to the agentic search preview enabled for the organization; session data inclusion is optional.
-
Verify the earlier failure analysis by reviewing the live run and use it as the basis for an iterative improvement loop.
Steps (4)
- Return to the live run of the same question about PRs and Copilot sessions.
- Compare the number of PRs and troubled sessions with the precomputed answer.
- Note the different priority order caused by non-determinism and apply human judgment.
- Implement fixes and rerun the same search to check whether failure categories changed.
Prerequisites: Access to the agentic search preview.
-
GitHub engineers generate an architecture diagram with agentic search and inspect how the request executed in order to debug the product.
Steps (5)
- Ask agentic search to create a diagram tracing the flow of a prompt through agentic search.
- Open the resulting sequence diagram.
- Open the internal trace tool for that request.
- Review the roll-up: model, number of calls, wall-clock time, tokens and credits consumed.
- Step through tool calls: tool search, lexical code search calls, file viewing and grep, and identify unnecessary calls.
Prerequisites: Agentic search access; the trace tool is internal to GitHub.