June 12, 2026
Agent Workflow Notes from Deep Research
Notes on how Deep Research turns open-ended research questions into a traceable AI agent workflow.
Deep Research is not a “ask once, answer once” chat box. It is closer to a research workspace: after the user enters a research question, the backend uses LangGraph and LangChain to coordinate search, source filtering, analysis, and report generation. The frontend then presents conversation progress, source lists, reasoning state, and the final report.
The real stack today is Next.js 16, React 19, TypeScript, Tailwind CSS, Zustand, and Supabase JS on the frontend. The backend uses Python 3.11+, FastAPI, Uvicorn, LangGraph, LangChain, OpenAI-compatible APIs, and the Supabase Python SDK.
Why It Needs a Workflow
Open-ended research should not jump straight to a final paragraph. The user needs the process:
- which sources were searched;
- which materials were filtered out;
- why some evidence entered the report;
- whether the final answer can be traced back to sources.
The value of an agent is not just tool calling. The value is making a multi-step process observable and reusable.
Current Design Focus
The README already defines the core goal clearly: Deep Research should turn one complex research task into a traceable, reusable, and presentable workflow. That means the product cannot be designed around only an input box. It has to be designed around the research process.
The things I care about most right now:
- Research task state should be visible, not hidden behind a generic loading state.
- Source lists should be part of the report, not a loose appendix.
- Intermediate reasoning and summaries should stay short enough to review.
- Observability tools such as Langfuse trace should help debug workflow quality, not only token usage and latency.
For AI agents, the hard part is not generating more text. The hard part is making the generation process recoverable, explainable, and easy to iterate.
Deep Research 不是一个“问一句、答一句”的聊天框。它更像一个研究工作台:用户输入研究问题之后,后端用 LangGraph / LangChain 编排搜索、信息筛选、分析整理和报告生成,前端再把对话进度、来源列表、推理状态和最终报告展示出来。
这个项目目前的真实技术栈是:前端 Next.js 16、React 19、TypeScript、Tailwind CSS、Zustand、Supabase JS;后端 Python 3.11+、FastAPI、Uvicorn、LangGraph、LangChain、OpenAI 兼容接口和 Supabase Python SDK。
为什么要做成工作流
复杂研究的问题不适合直接返回一段最终答案,因为用户真正需要的是判断过程:
- 系统查了哪些资料;
- 哪些资料被筛掉了;
- 模型为什么把某些信息放进报告;
- 最终报告是否能追溯到来源。
所以 agent 的价值不只是“能调用工具”,而是把多步骤过程拆开,让每一步都能被观察和复用。
当前设计重点
Deep Research 的 README 里已经把核心目标写得很明确:它要把一次复杂研究拆成可追踪、可复用、可展示的完整流程。这个方向决定了产品设计不能只围绕输入框,而要围绕“研究过程”来组织页面。
我现在更关心这几个点:
- 研究任务的状态流要清楚,不要让用户只看到 loading。
- 来源列表要成为报告的一部分,而不是最后随便附上。
- 中间推理和摘要需要足够短,方便回看。
- Langfuse trace 这类观测能力应该服务于调试流程质量,而不是只看 token 和耗时。
AI agent 做到最后,最难的不是让模型生成更多文字,而是让生成过程可恢复、可解释、可继续迭代。