Skip to content

Conversation

lkk12014402
Copy link
Collaborator

Description

  1. add deep research agent microservice with langchain
  2. add benchmark script for accuracy

@Copilot Copilot AI review requested due to automatic review settings July 6, 2025 13:18
Copy link

github-actions bot commented Jul 6, 2025

Dependency Review

✅ No vulnerabilities or license issues found.

Scanned Files

None

@lkk12014402 lkk12014402 changed the title Add deep research agent [WIP] Add deep research agent Jul 6, 2025
@lkk12014402 lkk12014402 added this to the v1.4 milestone Jul 6, 2025
Copy link
Contributor

@Copilot 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

Adds a new Deep Research Agent microservice using Langchain, its configuration, Docker setup for Intel® Gaudi®, and a placeholder for accuracy benchmarks.

  • Introduces utils.py with config loading and agent creation logic.
  • Implements research_agent.py as the microservice entrypoint.
  • Provides Dockerfiles, compose files, and environment scripts for deployment on Gaudi.

Reviewed Changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
DeepResearchAgent/utils.py Load YAML config and create a Langchain agent
DeepResearchAgent/research_agent.py Define microservice endpoint and request handling
DeepResearchAgent/requirements.txt Add open_deep_research dependency
DeepResearchAgent/docker_compose/intel/set_env.sh Set and validate environment variables
DeepResearchAgent/docker_compose/intel/hpu/gaudi/compose.yaml Add full Docker Compose for Gaudi deployment
DeepResearchAgent/docker_compose/intel/hpu/gaudi/README.md Usage instructions and prerequisites
DeepResearchAgent/deep_researcher.yaml Default agent configuration
DeepResearchAgent/Dockerfile Build container for the research agent
Comments suppressed due to low confidence (2)

DeepResearchAgent/docker_compose/intel/hpu/gaudi/compose.yaml:178

  • Environment variable key uses DocSum_ but elsewhere it’s DOCSUM_. Standardize casing to avoid confusion or misconfiguration.
      DocSum_COMPONENT_NAME: ${DOCSUM_COMPONENT_NAME:-OpeaDocSumvLLM}

DeepResearchAgent/utils.py:4

  • New utility functions (load_config and create_agent) and the research agent logic lack automated tests. Consider adding unit or integration tests to cover config loading and agent execution.
def load_config(config_path: str):

@lkk12014402 lkk12014402 changed the title [WIP] Add deep research agent Add deep research agent Jul 7, 2025
Copy link
Collaborator

@minmin-intel minmin-intel left a comment

Choose a reason for hiding this comment

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

Should we make the agent microservice an openai compatible chat-completion api? so that it can work with the OPEA agent-ui microservice?

@lkk12014402
Copy link
Collaborator Author

Should we make the agent microservice an openai compatible chat-completion api? so that it can work with the OPEA agent-ui microservice?

the benchmark and ui will be added later

@chensuyue chensuyue merged commit 62318f9 into main Jul 10, 2025
20 checks passed
@chensuyue chensuyue deleted the deep_research_agent branch July 10, 2025 00:50
zhihangdeng pushed a commit to zhihangdeng/GenAIExamples that referenced this pull request Jul 29, 2025
alexsin368 pushed a commit to alexsin368/GenAIExamples that referenced this pull request Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add Deep Research Agent [Feature] Add Deep Research Agent Component
6 participants