9cb01f4abe05af0b0d538eaf9b42fea67861580b
DeepAgent Context Engineering
FileSystem 기반 Context Engineering 을 원활히 수행하는 Multi Agent 구성을 위한 DeepAgent(From LangChain's deepagents library)
DeepAgent Technical Guide
DeepAgent - Research
모듈 구조 요약
research_agent/
├── agent.py # 메인 오케스트레이터 (create_deep_agent)
├── prompts.py # 오케스트레이터 및 Simple SubAgent 프롬프트
├── tools.py # tavily_search, think_tool
├── utils.py # 노트북 시각화 헬퍼
│
├── researcher/ # 자율적 연구 에이전트 모듈 (NEW)
│ ├── __init__.py # 모듈 exports
│ ├── agent.py # create_researcher_agent, get_researcher_subagent
│ └── prompts.py # AUTONOMOUS_RESEARCHER_INSTRUCTIONS
│
├── skills/ # Skills 미들웨어
│ └── middleware.py # SkillsMiddleware (Progressive Disclosure)
│
└── subagents/ # SubAgent 유틸리티
└── definitions.py # SubAgent 정의 헬퍼
핵심 파일 설명
| 파일 | 역할 |
|---|---|
agent.py |
메인 에이전트 생성 및 구성 |
researcher/agent.py |
CompiledSubAgent 패턴의 자율적 연구 에이전트 |
researcher/prompts.py |
"넓게 탐색 → 깊게 파기" 워크플로우 정의 |
prompts.py |
오케스트레이터 워크플로우 및 위임 전략 |
DeepAgent UI(made by LangChain)
git clone https://github.com/langchain-ai/deep-agents-ui.git
cd deep-agents-ui
npm install -g yarn
yarn install
yarn dev
참고자료
Description
Languages
Python
52.7%
Rust
29.4%
Jupyter Notebook
12.9%
TypeScript
4%
JavaScript
0.5%
Other
0.5%