Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Building a Deep Research Assistant with Deep Agents

AI summary

A Juejin tutorial demonstrates a small deep-research assistant built with Deep Agents. A main agent plans the work and delegates research topics to researcher subagents with isolated contexts, while an analyst uses QuickJS for computation and an editor reviews drafts. The system uses Bocha web search and a filesystem backend, with subagents communicating mainly through files rather than full conversation histories. Skills provide on-demand workflow guidance rather than hard constraints. The article also covers streaming events, validation, retries, permissions, checkpointing, and observability.

In-depth insight

The tutorial presents a concrete pattern for multi-agent research, including context isolation, file-based coordination, and role separation. It also demonstrates why enforceable boundaries should be implemented through tools, middleware, permissions, and validation rather than relying only on prompt instructions.

本文面向已经了解 LangChain、LangGraph 基本概念,但没有使用过 Deep Agents 的读者。

我们将一起复现一个“小型深度调研助手”:

  • 根据用户问题制定调研计划;
  • 调用博查搜索 API 获取网页资料;
  • 把不同子主题委派给多个调研员;
  • 使用 QuickJS 做数据处理;
  • 将资料整理成中文报告;
  • 通过文件而不是长对话传递中间结果。

这个 Demo 的代码量不大,但它包含了很多 Agent 工程中的核心概念:工具、子 Agent、上下文隔离、文件系统后端、Skill、流式事件和提示词边界。


一、为什么不用一个普通 Agent

一个普通 Agent 通常只有一个对话上下文:

#Deep Agents#LangChain#LangGraph#Bocha Web Search#QuickJS#FilesystemBackend

Original · 13 min readRead the original
Group chat

No comments yet. Start the conversation.