A parallel research orchestration tool that leverages multiple AI assistants to conduct comprehensive research on any topic. The system spawns multiple cursor-agent
workers in parallel, each with specialized focus areas, then synthesizes their findings into a unified analysis.
- Parallel Research: Deploy 2-8 AI research assistants simultaneously
- Intelligent Orchestration: Automatic planning and role assignment based on query complexity
- Specialized Focus Areas: Each assistant tackles different aspects (facts, analysis, criticisms, case studies, etc.)
- Comprehensive Synthesis: Final unified report combining all perspectives
- Flexible Output: Support for both Markdown and plain text formats
- Directory Analysis: Optional analysis of specific codebases or project directories
- Organized Output: Timestamped, structured output directories for easy organization
- Cursor CLI: The system requires
cursor-agent
to be installed and available in your PATH - Python 3.13: For running the orchestration system
curl https://cursor.com/install -fsS | bash
Verify installation:
cursor-agent --help
- Clone or download the project:
git clone https://github.com/karayaman/cursor-cli-heavy.git
cd cursor-cli-heavy
- Create and activate virtual environment (recommended):
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
Run without arguments to enter interactive mode:
python main.py
The system will prompt you for:
- Research query
- Output format (markdown/text)
- Working directory (optional)
python main.py "Your research query here" [options]
-f, --format {markdown,text}
: Output format (default: markdown)-w, --workdir PATH
: Working directory to analyze (absolute path)--no-prompt
: Skip confirmation and run immediately
The system creates organized output directories with timestamps:
outputs/
βββ 2024-01-20-your-research-topic/
βββ research-plan.md # Initial research strategy
βββ planning-session.log # Orchestrator planning output
βββ orchestration-prompt.md # Orchestrator instructions
βββ assistants/
β βββ ra-1-findings.md # Research Assistant 1 findings
β βββ ra-2-findings.md # Research Assistant 2 findings
β βββ ra-3-findings.md # Research Assistant 3 findings
β βββ ra-4-findings.md # Research Assistant 4 findings
βββ final-analysis.md # Synthesized comprehensive report
- An orchestrator AI analyzes your query
- Determines optimal number of research assistants (2-8)
- Assigns specialized focus areas to each assistant
- Multiple
cursor-agent
instances run simultaneously - Each assistant researches from their specific angle:
- RA-1: Factual research and direct information
- RA-2: Analysis and metrics
- RA-3: Alternative perspectives and criticisms
- RA-4: Case studies and examples
- RA-5: Implementation challenges and risks
- RA-6: Future trends and research gaps
- RA-7: Ethical, legal, and societal implications
- RA-8: Contrarian views and edge cases
- A synthesis AI combines all findings
- Creates executive summary, key findings, and recommendations
- Identifies areas of agreement and disagreement
cursor-cli-heavy/
βββ main.py # Entry point and argument parsing
βββ ccheavy.py # Core CCHeavy class and orchestration logic
βββ requirements.txt # Python dependencies
βββ venv/ # Virtual environment (created after setup)
The system is designed to work out-of-the-box with sensible defaults:
- Default assistants: 4 (automatically adjusted based on query complexity)
- Maximum assistants: 8
- Default format: Markdown
- Model: GPT-5 (via cursor-agent)
python main.py "Quantum computing applications in cryptography"
python main.py "Market opportunities for sustainable packaging"
python main.py "Performance bottlenecks in this web application" -w /path/to/webapp
python main.py "Recent advances in neural network interpretability"
python main.py "Create a 2D Tetris game using HTML, CSS, and JavaScript. At the synthesis step, I want it to be implemented in the specified directory." -w /path/to/game/directory
- Ensure Cursor CLI is installed:
curl https://cursor.com/install -fsS | bash
- Restart your terminal after installation
- Verify with:
cursor-agent --help
- The system includes automatic retry logic
- Check
assistants/ra-X-stderr.log
files for error details - Ensure you have a stable internet connection
- Verify your Cursor CLI authentication
- Ensure the working directory (if specified) is readable
- Check that the current directory is writable for output creation
- All outputs are saved to isolated timestamped directories
- Temporary directories are automatically cleaned up
- colorama: Terminal color output (fallback included if not available)
- cursor-agent: AI research agent (external dependency)
This is a research orchestration tool. Contributions welcome for:
- Additional output formats
- Enhanced error handling
- Performance optimizations
- New assistant specialization areas
This project is licensed under the MIT License - see the LICENSE file for details.
Note: This tool requires an active Cursor CLI installation and internet connectivity for AI model access. The quality of research depends on the capabilities of the underlying cursor-agent
and GPT-5 model.