# Team Think: A Two-Agent Collaborative LLM Planning Workflow with Code Web Chat #316
Replies: 5 comments 12 replies
-
|
What a great write-up. Happy to see how you utilised affixes to implement this.
|
Beta Was this translation helpful? Give feedback.
-
|
@illumineawake Also Gemini is extremely good at go lang, but all models fail hard on rust But approach to use several (like at least 2, but I think 6+ better) LLM is the future. A full research with all possible models and combinations is needed. This may lead us to ultimate vibe coding agents. With existing models. P.S. Even if you plan is 3 pages long, Gemini 2.5 fallback to put empty code for functions and write: Will implement later, dummy template etc, so It does not implement everything in a plan, and also if context is 1kk, the output at one iteration can be only 64k as I understood. BUT If the plan has sections with numbers, or chapters, then gemini FINISH everything, u just need to type For example if u ask gemini to write text about Tokyo for 40 a4 pages he wont, but if u ask it to create plan, devine it to chapters, and send additional 12 prompts like above then it does it without issues! So this means that LLM that implement the plan must get not 1, but multiple promts with like
|
Beta Was this translation helpful? Give feedback.
-
|
parabens e realmente incrivel |
Beta Was this translation helpful? Give feedback.
-
|
Hey! We were chatting on Reddit on my Gemini MCP. I might include your Team Think in my Gemini MCP full version, as it probably uses a different approach than the MCP approach. I'm currently looking at the A2A approach. It's in progress, but I'll need to test your approach; it looks very effective. |
Beta Was this translation helpful? Give feedback.
-
|
Yooo... Looks like I found some people thinking similarly to myself. I made something similar to Code Web Chat but its not a VS Code extension it runs as a python Qt app aicodeprep-gui I have been thinking about automating my common workflows.. for really hard problems, usually i go IDE ---> o3, o4-mini, Gemini 2.5 Pro, lately though Kimi K2... that model is fantastic. Nothing beats those web chat interfaces. I think the future will be using more than one model as standard. Smaller agent models to do the file edits, MCP, etc and multiple big models for difficult stuff. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Team Think — Two-Agent Collaborative Workflow
Recently, I've been noticing how much of a difference a solid, structured plan makes to the success of any technical implementation. A carefully created plan can significantly boost the quality of the end result, especially when dealing with complex coding tasks.
Additionally, I found great results from iterating between two different LLMs e.g. Gemini 2.5 Pro can create initial detailed plans due to its large context window, whereas ChatGPT O3 is an amazing reviewer, offering insightful critiques and actionable suggestions.
However, I started to run into practical issues:
To resolve these problems, I formalised this workflow and optimised it specifically for managing via Code Web Chat using presets.
The result is what I call "Team Think"
The concept behind "Team Think"
Team Think leverages two distinct but complementary AI agents, each with clearly defined roles and responsibilities:
AI 1 – Large Context Strategic Planner
This LLM should have a large context window (e.g., Gemini 2.5 Pro). AI 1’s main tasks include:
This reduces the burden on AI 2, allowing it to focus purely on high-quality critique and suggestions rather than being overwhelmed by unnecessary details.
AI 2 - Specialist Reviewer
This agent is generally powered by a more focused, reasoning-optimized LLM such as GPT-4o (O3). Its primary role is to critique and refine AI 1’s structured plan by:
How do I use it? (The Practical stuff!)
You have 2 prompts, 1 for each AI. I'll put both here and then walk through how I set this up in CWC
Prompt for AI 1 – Large Context Strategic Planner
Copy it exactly as it is from here:
https://pastebin.com/YVLdU2jE
This prompt was designed off of Google's Prompt Engineering guide they released earlier this year. There's a lot more that I could say about what is going on here, but this guide is getting very long as it is. Hopefully reading through the prompt is self-explanatory, but I'm happy to answer any questions
Prompt for AI 2 - Specialist Reviewer
Again, copy it exactly as it is from here:
https://pastebin.com/Lsy88DKp
Setting up CWC presets to streamline this workflow
Prompt 1 - Large Context AI 1
Prompt 2 - Specialist Reviewer
Now you're all setup! It should look a little like this:
AND
The Iterative Workflow with CWC Presets
Using CWC presets
Whatever you want to send to the relevant LLM will be put in by you in the Web Chat section of CWC. Because of how you have setup your presets this will put your instruction in the right spot of the prompt, alongside whatever files you pick.
Starting out a new plan would look like:
What's great is your plan is fully structured in a way that another AI LLM that does the actual implementation can easily follow and mark off items. This should be straight forward for you to setup (again use templates to save time). But this post is way too long so I won't cover it here.
Lastly
If anyone actually bothers to read this and has some insight or knowledge they think could improve this further I'm all ears. I'd love to automate this even more, doing that without interfering with TOS is a challenge. I think if there was a way to auto-select the suggested files from AI 1 in CWC that would make a huge difference.
Beta Was this translation helpful? Give feedback.
All reactions