Skip to content

Conversation

@joshuayao
Copy link
Collaborator

@joshuayao joshuayao commented Nov 19, 2025

Description

The LangChain open_deep_research has gone quite(last commit is ~ 3 months ago). LangChain has explicitly shifted strategy from building "single-purpose" agentic apps to building a "general harness" for agents. The LangChain blog explicitly published a post titled "Doubling down on DeepAgents," positioning it as the primary harness for building autonomous, long-running agents. DeepAgents also provide sample code for building deep research capability.

In this PR, we will transit from open_deep_research to the Deep Research of DeepAgents for OPEA DeepResearchAgent.

Issues

#2333

Type of change

List the type of change like below. Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds new functionality)
  • Breaking change (fix or feature that would break existing design and interface)
  • Others (enhancement, documentation, validation, etc.)

Dependencies

  • deepagents
  • httpx
  • langchain_openai
  • langchain-tavily
  • langgraph-cli[inmem]
  • markdownify
  • rich
  • tavily-python

Tests

  • tests/test_compose_on_gaudi.sh

Copilot AI review requested due to automatic review settings November 19, 2025 06:57
@github-actions
Copy link

github-actions bot commented Nov 19, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 9 package(s) with unknown licenses.
See the Details below.

License Issues

DeepResearchAgent/requirements.txt

PackageVersionLicenseIssue Type
langgraph-checkpoint3.0.1NullUnknown License
langgraph-runtime-inmem0.18.0NullUnknown License
obstore0.7.3NullUnknown License
tavily1.1.0NullUnknown License
daytona0.115.0NullUnknown License
deepagents0.2.7NullUnknown License
langgraph-api0.5.16NullUnknown License
langsmith0.4.43NullUnknown License
protobuf6.33.1NullUnknown License

Scanned Files

  • DeepResearchAgent/requirements.txt

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR transitions the DeepResearchAgent from the deprecated open_deep_research implementation to the LangChain DeepAgents harness, which LangChain now positions as their primary framework for building autonomous agents.

Key changes:

  • Complete replacement of open_deep_research dependency with deepagents and associated libraries
  • New agent factory pattern for creating research agents with configurable parameters
  • Enhanced environment configuration with granular control over research behavior and model settings

Reviewed Changes

Copilot reviewed 15 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DeepResearchAgent/utils.py Removed old agent creation utility that used open_deep_research
DeepResearchAgent/tests/test_compose_on_gaudi.sh Added case-insensitive grep for more flexible test validation
DeepResearchAgent/research_agents/deepagents/utils.py Added Rich-based utilities for formatting and displaying agent messages
DeepResearchAgent/research_agents/deepagents/tools.py Implemented Tavily search and reflection tools for the research agent
DeepResearchAgent/research_agents/deepagents/prompts.py Added comprehensive prompt templates for research workflow and agent instructions
DeepResearchAgent/research_agents/deepagents/README.md Added README referencing DeepAgents source
DeepResearchAgent/research_agent.py Refactored to use new agent factory and handle DeepAgents response format
DeepResearchAgent/requirements.txt Updated dependencies from open_deep_research to deepagents ecosystem
DeepResearchAgent/requirements.in Added new dependency specifications for deepagents
DeepResearchAgent/docker_compose/intel/hpu/gaudi/set_env.sh Enhanced with detailed comments, validation, and new configuration options
DeepResearchAgent/docker_compose/intel/hpu/gaudi/compose.yaml Updated service configuration with tool calling support and new environment variables
DeepResearchAgent/deep_researcher.yaml Removed old configuration file
DeepResearchAgent/agent_factory.py Added factory for creating DeepAgents research agents with configurable prompts
DeepResearchAgent/README.md Updated documentation to reflect DeepAgents implementation
DeepResearchAgent/Dockerfile Updated to copy new research_agents directory and agent_factory

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joshuayao joshuayao added the WIP label Nov 19, 2025
@joshuayao joshuayao linked an issue Nov 19, 2025 that may be closed by this pull request
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Future-Proofing Deep Research

1 participant