Project

research-agent

Research agent for paper search, analysis and idea generation

README

Research Agent Orchestration System for Hermes

A multi-agent research workflow system where specialized sub-agents collaborate via a shared knowledge base to produce literature reviews and research proposals.

Architecture

hermes-research-agent/
├── README.md
├── requirements.txt
├── workflow.py              # Main workflow orchestrator
├── tools/
│   ├── __init__.py
│   ├── delegate_tools.py     # Shared KB tools for sub-agents
│   └── research_task_runner.py  # CLI entry point for sub-agents
├── roles/                   # Agent system prompts
│   ├── __init__.py
│   ├── literature_searcher.py
│   ├── paper_analyzer.py
│   ├── review_writer.py
│   └── idea_generator.py
├── shared/                   # Shared knowledge base (JSON files)
└── results/                 # Output results (one subdir per task)

How It Works

1. Main agent receives user request: "我想做关于 XXX 的文献综述"

2. Main agent spawns sub-agents using delegate_task

3. Sub-agents communicate via shared JSON files

4. Main agent coordinates execution order and synthesizes final output

Sub-Agent Roles

AgentRoleInputOutput
Literature SearchSearch academic databasesTopicshared/literature_search.json
Paper AnalyzerDeep analysis of papersshared/literature_search.jsonshared/paper_analysis.json
Review WriterWrite structured reviewshared/paper_analysis.jsonresults/{task_id}/literature_review.md
Idea GeneratorPropose research directionsshared/paper_analysis.jsonshared/proposed_ideas.json

Installation

pip install -r requirements.txt

Usage

Main Workflow (via Hermes)