May 13, 2026
A cross-thread querying workflow on top of T3 Code and a realization about what agentic coding unlocks for OSS

This feature started from a very simple frustration.
While using T3 Code, I realized that past implementation threads held a lot of value in the conversations between the agent and me that I wanted to go back and reference often. I would remember having an important realization somewhere:
- a future architectural concern,
- a “v2 later” note while intensely prototyping,
- a design tradeoff I wanted to revisit,
- etc.
But once the thread was out of sight, and into history, actually recovering that context became difficult. It would be nice if I could just ask..the..project...
So my first primitive workaround was to just export the conversations, load them into NotebookLM, and ask questions there. That worked well enough to prove the idea. But eventually, the obvious question became:
Why not build this workflow directly into the application itself?
That led to the first version of "Notebook Mode" (Google, please don't send your lawyers):
- selecting threads as sources,
- and asking one-shot questions against prior conversations without leaving the app.
- (oh and a traditional text search on the side)
It still is very much so just a small personal workflow enhancement for me, but it has made me appreciate OSS far more than I ever did, even as an avid FOSS enthusiast. I now see a future where the Big-green "Code" button stops being a frustration for even the average person and where the “OSS” part starts becoming one of the biggest strengths of the product itself, where reshaping it around yourself is beginning to feel genuinely attainable.
We might be entering a world where “fine, I’ll just fork it” slowly becomes a normal user workflow instead of an extreme developer activity.
Here seems as good a point as any to point you guys to the amazing work done by @t3dotgg, @juliusmarminge, and the incredible community behind T3 Code that made this fork possible in the first place. Highly recommend checking it out.
In brief, this is an additional view/mode on top of T3 Code which you can toggle by pressing the button near the project’s name, or via the key binding.

Doing so would provide 2 modes:

Old-school verbatim text search where you can search for an exact string of text across selected threads.

A one-shot, NotebookLM-style query mode where you can ask questions against selected implementation threads and get a synthesized response back.
It would let you backtrack, summarize, retrieve, re-live - essentially query all the conversation you had with your agent while building a feature. The Context Health shows how well the selected conversation history is expected to fit in the model’s context window.
You know what they say.. "show don't tell", so here’s a quick demo of Notebook Mode reconstructing the implementation timeline of the feature from the actual development threads themselves:

What were the major milestones, realizations and turning points during the implementation of this feature?
Keep the timeline concise and high signal.
- Prototype framing
The feature started as a NotebookLM-style mode for looking back over past implementation threads, with ephemeral chat and thread selection instead of normal project/thread navigation.
- Raw-dump MVP decision
After discussing tool/query-based retrieval, the first implementation intentionally chose the simpler path: selected threads would be lazy-loaded, filtered to `user`/`assistant` messages, and dumped into context only on submit.
- Notebook mode shipped as a real UI mode
A dedicated notebook toggle, source selection in the sidebar, an ephemeral notebook chat surface, and a transient server RPC were added so notebook questions would not create normal persisted T3 threads.
- First major failure: “it searches/fragments, not remembers”
Once tested, the raw-dump/retrieval behavior felt too much like search instead of understanding. The key realization was that broad, natural questions like “how did this evolve?” were not well served by tiny lexical windows and cautious evidence prompts.
- Retrieval redesign
The feature shifted toward server/local retrieval ideas: first lexical/metadata/windowing, then later conversation-map / prepared-source thinking. There was a long realization that Notebook-style behavior likely needs retrieval over prepared sources, not just giant prompt dumps.
- Search/Ask split
The UI was then redesigned into two distinct modes:
- `Search`: local, IDE/Zed-style folded search results
- `Ask`: one-shot model-backed answer from selected conversation context
This was a major turning point because it clarified the product behavior.
- Ask prompt strategy refined
`Ask` kept the “complete source if it fits, otherwise guarded” behavior for a while, while `Search` became precise and independent. Eventually, search was pushed toward whole-corpus local search, while Ask stayed bounded by prompt limits.
- Search became local and more literal
Search evolved from tokenized/prefix/stop-word-based matching into a more normal literal substring search over the full selected corpus, with worker-based async execution and stoppable runs so large searches would not freeze the UI.
- Large-context / prompt-budget realization
Testing on bigger projects exposed that Notebook Ask was constrained not just by model limits, but by T3’s own shared request caps and UI assumptions. This led to notebook-specific prompt budget handling, better error surfacing, and clearer “context health” UI.
- Heavy UI polish phase
The feature then went through a large polish pass:
- notebook-specific iconography
- cleaner top bar
- context health/status pills
- search-result expansion controls
- hover copy controls
- stricter sidebar disabling during notebook mode
- keyboard shortcut to enter notebook mode
- Maintainability became a first-class concern
A later turning point was recognizing that the working implementation touched too many core/shared files for a long-lived fork. The feature was then refactored to isolate notebook behavior into notebook-owned modules and reduce future merge pain.
- Upstream sync as a structural milestone
Merging upstream `main` was not just a sync step; it forced a cleanup of notebook integration boundaries. During that merge, notebook turn handling, route surfaces, and sidebar pieces were separated more cleanly so future upstream syncs would be less painful.
- Final state
By the end, the feature had become:
- a dedicated notebook mode
- split into local Search and one-shot Ask
- heavily polished in UI/UX
- more modular for fork maintenance
- still intentionally evolving, especially around large-context Ask behavior and future retrieval quality.
The next evolution will probably involve moving beyond “single-shot context stuffing” toward more structured retrieval systems, potentially with more agentic retrieval loops where the model can iteratively explore implementation history through tools instead of receiving one giant static dump of context.
This is also why Ask is intentionally a one-off interaction instead of a persistent chat loop, so the context does not continuously degrade or balloon in size. Another current assumption is that the user can also be intentional about which threads they select and query against.
There’s still a lot of unexplored space here around retrieval quality, long-term project memory, and what agentic development environments could eventually evolve into.
But hey, maybe you could help me out with that?
You can find: