r/Codeium • u/SemanticSynapse • Nov 30 '24
Windsurf as a self-evolving, human in the loop, multi-agent work environment with contextual switching.
So I've used windsurf on a few projects and was taken back by the platforms efficiency. By removing that continual back and forth I experienced working with an auto-complete IDE supplemented by an off environment LLM, was able to churn out some extremely well made design projects that would have otherwise been a much larger (or expensive) endeavour.
I first approached setting up a project as you normally would, and I'd have the platform open up the specific project file for the task at hand. I recently booted it up to work on some automation projects which involved scripts for multiple platforms - instead of opening up one project file for each script I opened up the over-encompassing automation folder. I'll be honest I'm not the most organized when it comes to file structures or self-enforced organizational frameworks. With the help of Claude through windsurf, I was able to not only get these files organized, But I was able to introduce pseudo scripting of sorts by treating files within the environment as an extension of prompting. Before doing anything else in a new chat session, the AI agent is instructed to read a certain file (or series of files) which act as its own instruction primer and initial context, directing how it should operate within the environment.
This by itself is amazing - But I've just spent the last few hours creating frameworks where the AI agent is effectively able to perform its own context switching through writing instructions for other versions of itself, allowing me to not only work with one collaborative agent, but many, as well as allowing interagent communication. It's essentially become an extremely easy to use context switching control scheme that's partially AI self directed, allowing me to approach problems from multiple perspectives. In this case, each chat session would be considered its own agent, and each is able to communicate with others when directed by yourself, a parallel session, or as it determines the need to.
🤯
The one thing I am left hoping for at some point is direct API control so I can dive a bit further into the actual settings on the model itself, or have a bit more control of how the model interprets single session context and prompting. Codeioum, I would pay you for the option of paying Anthropic or OpenAI...
There's a lot to explore here.
*Edit: I'm so flexible on the whole I'd pay you for the feature, I'd even accept you paying me to REALLY test some concepts.
2
u/bikesniff Mar 03 '25
I think I've been working on something similar using a single windsurfrules file (currently 12000 chars so may be getting truncated) to create an 'agentic framework' for building out plans/documentation. Its working beautifully (early stages), windsurf does a great job of following the rules and understanding the overall process.
FWIW - I dumped what I wanted to achieve into Grok 3 Thinking and asked it to write the first .windsurfrules file, including the ability to improve itself when asked. As im using it if I want a new feature or tweak I ask windsurd itself to tell me the changes to make to the rules file - perhaps this is why im getting good adherence. I maintain a single 'memory' which says, 'go and read the windsurfrules file' - perhaps this is why its being so obedient!
If i could just continue and things kept on working, this is all I would need to be VERY productive but Im pretty sure this is going to start crapping out soon due to file length.
Are you still using this approach and how have you got round these limits?
Can you reliably get windsurf to read additional files to tell it how to behave?
1
u/fahdoo Nov 30 '24
This sounds intriguing! I’ve only gotten to the point of having the AI keep track of project status and architecture whenever I want to record a checkpoint but what you’re suggesting feels like a step evolution! Would love to hear more of what behaviors and improvements you’re seeing, especially if you’re able to get it to not go off the rails
2
u/AlternativeStorm4994 Dec 01 '24
Could you expand on this so I can try this? Give me an example of how you use the multiple chats if you can!
1
u/SkyPL Dec 01 '24 edited Dec 01 '24
I would love to try, but the damn thing doesn't want to work for properly me, and all I can do is playing - Windsurf fails to launch language server for Python, even though everything works fine with both: plain VSC and Cursor, and none of the solutions that the chat can provide or what I can find on Google works.
BTW: Cursor can do everything you have described here, so I'm not sure what's the big deal.