Repository navigation
Deep research mode: agents that investigate, not just answer #1644
Replies: 3 comments 1 reply
|
@rumplestilzken this is an important topic for us, and we want to build it. I'm making this the canonical thread for it. Where things stand:
A few things are already decided:
Where your input shapes the design:
Answers with a concrete research task you'd hand to it are the most useful kind. Related: #292 (deep research for academic work), #319 and #973 (earlier agent proposals), #878 (MCP), #473 (retrieval in chat). Status: exploring. Canonical thread for deep research mode. |
|
I'll look into your answer and see what cns be done and in what stages.
Already got the retreival and citation are high priority.
I will say that given your rojects current neich you want to make it look
and feel like a different tool than an agent with the capability to both
perform agentic tasks and offload via mcp to a proper agent if requested. I
get the feeling you want to keep this project as accessible as possible.
I think if we diagnose properly the stages of development and plan
accordingly we can make these changes without convoluting the UI, base
process and underlying built-in-tactness.
Notes
2. Will review #1315
Questions
1. I think the less the better. I don't think the average user cares much
for the thinking and thinking process that goes into processing, beyond a
mild curiosity and then immediate disinterest. If we show them thinking, it
really doesn't matter in what part of the process it is reasoning past. An
agent would show it, I think the source based nature relieves us of the
duty of reporting the details. I actually have to disagree with myself
here, as a power user I like seeing it all. I just don't think most people
fit the bill.
2. I think there should me a smart valve, not a reasoning valve (although
that would be connected with the agemtic approach), basically giving the
user access to a shortlist of options. Scrawling from source only to web
search and should be toggled per chat (source, notebook, notebooks). Until
we find out how your user base uses the feature it should be locked into
integrity.
3. Although notes collected would be a valuable feature, and it emulates
how an agent uses memory to keep state and exceptionally smart at dealing
with each users use case. That should be a secondary condition. As useful
as it is in agemtic design, I think it would step all over the bed you have
raised for WHY Open Notebook is different from an agent. Perhaps a staging
area that they can review draft notes from the model and move them from
staging to upstream could be considered. Drafts wouldn't get ingested
during regular flow and once upgraded to notes they would act accordingly.
Agents can be very hungry for the files they create and people working with
sources may get confused or aggravated by notes that are stale or getting
in the way of their prompt. Should probably come closer towards the end of
this particular phase of the project to protect the integrity of what is
built by the demand of your user base.
***@***.***
…On Sun, Nov 29, 2026, 10:58 AM Luis Novo ***@***.***> wrote:
@rumplestilzken <https://github.com/rumplestilzken> this is an important
topic for us, and we want to build it. I'm making this the canonical thread
for it.
Where things stand:
1.
*What exists today is a fixed workflow, not an agent* (verified). Ask
runs the same three steps every time: plan up to five searches, answer each
one, combine them into a final answer with citations (guide
<https://github.com/lfnovo/open-notebook/blob/main/docs/3-USER-GUIDE/search.md#ask>).
It's a LangGraph flow with a fixed shape: the model fills in the search
terms, but it can't decide to search again after reading the results, open
a source it found, follow a lead or stop when it has enough. Notebook chat
is simpler still: it sends the selected context in a single call. What
you're describing, and what we want, is a real agentic system that chooses
its next step based on what it has found so far.
2.
*The direction is already written* in #1315
<#1315> under
"Progressive agency": a *focused* mode that stays cheap and
predictable, and a *deep research* mode where an agent plans, searches
iteratively, opens and compares sources and expands as it goes. Both share
the same retrieval, evidence and citation checks.
3.
*How it's meant to fit together.* The plan has three layers, and
keeping them separate is what lets small local setups and powerful ones
share the same product:
Research core
(scope, search, evidence, citations)
│
┌─────────────┼──────────────┐
│ │ │
Focused mode Deep mode MCP server
(short flow) (agent) (your own agent)
- *The research core* is the part that knows how to search your
content, what counts as evidence, where each passage came from and whether
a citation really points to it. It doesn't depend on any agent framework.
- *Focused mode* is a short, predictable flow on top of that core:
retrieve once, answer once. It keeps working with small local models and no
tool calling.
- *Deep mode* puts an agent on top of the same core. The candidate
harness is LangChain's Deep Agents
<https://docs.langchain.com/oss/python/deepagents/overview>, which
already handles planning, tool use, context management and sub-agents. The
agent decides *what to look for next*; the core still decides *what
counts as evidence and how it's cited*. That's why a deep answer
and a focused answer cite the same way and are checked the same way: deep
mode doesn't get better citations, it gets more effort to find and compare
evidence.
- *MCP* exposes the same core to an agent you already run. There
the reasoning happens on your side, but search and evidence still come from
Open Notebook.
In short: the agent is the engine that drives the investigation, not
the place where the rules about evidence live. That keeps the harness
replaceable and keeps citations trustworthy whichever mode you use.
4.
*Order:* retrieval comes first. Better search and citations are the
current priority, and a deep mode built on weak retrieval would just search
badly more times. Deep mode comes after that.
A few things are already decided:
- *Deep mode is your choice.* You pick it for a question; the system
doesn't switch on its own.
- *Control works like it does in other research agents:* you start a
run and can stop it. Redirecting an agent mid-run is hard to do reliably
with small local models, so we're not designing around it.
- *Models:* we'll support every model that can do the job, local ones
included where they're capable enough.
- *Inside or outside:* both. Deep mode runs inside Open Notebook, and
an agent you already use (Claude, Codex, any MCP client) can drive the same
search and evidence through MCP (#878
<#878>).
Where your input shapes the design:
1. *How much do you want to see while it works?* Every step (each
search, each source it opens), a running summary, or only progress, budget
and errors? And once it's done, should the steps stay attached to the
answer?
2. *Where should it be allowed to look?* Only the current notebook,
all your notebooks, the web, connected libraries (#291
<#291>)? Set once,
or chosen per run?
3. *What can it write?* Only the final answer, or also notes and new
sources along the way? If it can add them, should each one wait for your
approval?
Answers with a concrete research task you'd hand to it are the most useful
kind.
Related: #292 <#292>
(deep research for academic work), #319
<#319> and #973
<#973> (earlier agent
proposals), #878 <#878>
(MCP), #473 <#473>
(retrieval in chat).
Status: *exploring*. Canonical thread for deep research mode.
—
Reply to this email directly, view it on GitHub
<#1644?email_source=notifications&email_token=AA27YVSYD4Y5DVP3ZLSRXZT53RBRFA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGAZTKMZYUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-20003538>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA27YVWOUSU75LJVDKFCBG353RBRFAVCNFSNUABIKJSXA33TNF2G64TZHM4DONRSHA3DCNRXHNCGS43DOVZXG2LPNY5TCMJUGA2TSMZYUF3AE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
|
Proposal Enclosed. |
Uh oh!
There was an error while loading. Please reload this page.
What are you trying to do?
I think it is time to move away from single-turn-single-response.
By intelligently splitting up a request into smaller requests with a single call to the model as a "warm-up" and bringing to light what was intended by the source request, the response is likely to be many times better than a single raw query to the model with sources, then firing multiple requests to the model for the final answer and intelligently concatenating with a final call.
What feels difficult or missing today?
I can ask the same question in Hermes with 1017 and Open Notebook and the Hermes answer wins every time
What outcome would help?
Not quite an agent/harness, but an upgrade to how Open Notebook handles responses.
How do you handle this today?
Single-turn-single-request
Additional context, examples, or possible directions
No response
How would you like to participate?
Before posting
All reactions