Skip to content

Commit e402fc4

Browse files
authored
[Cursor] docs: Add multi-agent system documentation to README (#29)
Add documentation about the experimental multi-agent support feature, including: - Architecture overview (Planner/Executor roles) - Key benefits of the multi-agent approach - Real-world example with DuckDuckGo debugging - Usage instructions for the multi-agent branch
1 parent 3d47100 commit e402fc4

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

README.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,57 @@ Transform your $20 Cursor/Windsurf into a Devin-like experience in one minute! T
1212
2. For Cursor users: The `.cursorrules` file will be automatically loaded
1313
3. For Windsurf users: Use both `.windsurfrules` and `scratchpad.md` for similar functionality
1414

15+
## Update: Multi-Agent Support (Experimental)
16+
17+
This project includes experimental support for a multi-agent system that enhances Cursor's capabilities through a two-agent architecture:
18+
19+
### Architecture
20+
21+
- **Planner** (powered by OpenAI's o1 model): Handles high-level analysis, task breakdown, and strategic planning
22+
- **Executor** (powered by Claude): Implements specific tasks, runs tests, and handles implementation details
23+
24+
[Actual .cursorrules file](https://github.com/grapeot/devin.cursorrules/blob/multi-agent/.cursorrules#L3)
25+
26+
### Key Benefits
27+
28+
1. **Enhanced Task Quality**
29+
- Separation of strategic planning from execution details
30+
- Better cross-checking and validation of solutions
31+
- Iterative refinement through Planner-Executor communication
32+
33+
2. **Improved Problem Solving**
34+
- Planner can design comprehensive test strategies
35+
- Executor provides detailed feedback and implementation insights
36+
- Continuous communication loop for optimization
37+
38+
### Real-World Example
39+
40+
A real case study of the multi-agent system debugging the DuckDuckGo search functionality:
41+
42+
1. **Initial Analysis**
43+
- Planner designed a series of experiments to investigate intermittent search failures
44+
- Executor implemented tests and collected detailed logs
45+
46+
2. **Iterative Investigation**
47+
- Planner analyzed results and guided investigation to the library's GitHub issues
48+
- Identified a bug in version 6.4 that was fixed in 7.2
49+
50+
3. **Solution Implementation**
51+
- Planner directed version upgrade and designed comprehensive test cases
52+
- Executor implemented changes and validated with diverse search scenarios
53+
- Final documentation included learnings and cross-checking measures
54+
55+
### Usage
56+
57+
To use the multi-agent system:
58+
59+
1. Switch to the `multi-agent` branch
60+
2. The system will automatically coordinate between Planner and Executor roles
61+
3. Planner uses `tools/plan_exec_llm.py` for high-level analysis
62+
4. Executor implements tasks and provides feedback through the scratchpad
63+
64+
This experimental feature transforms the development experience from working with a single assistant to having both a strategic planner and a skilled implementer, significantly improving the depth and quality of task completion.
65+
1566
## Setup
1667

1768
1. Create Python virtual environment:

0 commit comments

Comments
 (0)