Research agent for paper search, analysis and idea generation
A multi-agent research workflow system where specialized sub-agents collaborate via a shared knowledge base to produce literature reviews and research proposals.
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)
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
| Agent | Role | Input | Output |
| Literature Search | Search academic databases | Topic | shared/literature_search.json |
| Paper Analyzer | Deep analysis of papers | shared/literature_search.json | shared/paper_analysis.json |
| Review Writer | Write structured review | shared/paper_analysis.json | results/{task_id}/literature_review.md |
| Idea Generator | Propose research directions | shared/paper_analysis.json | shared/proposed_ideas.json |
pip install -r requirements.txt