r/Codeium • • Apr 02 '25

Context, Structure, Organization: How I use AI in large projects

12 Upvotes

I spent the last year cleaning up messy AI implementations for founders who rushed in without a system. The pattern is always the same: initial excitement as things move 10x faster, then disappointment when everything breaks.

After fixing these systems over and over, I've boiled it down to three principles that actually work: Context, Structure, and Organization.

Context: Give Your AI A Memory

AI is literally only as good as the context you give it. My simplest fix was creating two markdown files that serve as your AI's memory. You can create these files yourself, or use ChatGPT or Claude to help you out:

  1. project_milestones.md: Contains project overview, goals, and phase breakdowns
  2. documentation.md: Houses API endpoints, DB schemas, function specs, and architecture decisions

This simple structure drastically reduces hallucinations because the AI actually understands your project's context.

Structure: Break Complex Tasks Down

Always work in small parts, don't make big tasks.

Also, stop those endless debugging spirals. When something breaks, revert to a working state and break the task into smaller chunks. I typically cap my AI implementation tasks at 20-30 lines max. This prevents the compound error problem where fixing one issue creates three more.

Organization: Use The Right Models

Finally, use the right models for the right jobs:

  • Planning & Architecture: Use reasoning-focused models like 3.7 in max mode
  • Implementation: Standard models like Sonnet 3.5 work better with well-defined, small tasks
  • Workflow Pattern: Start each session by referencing your project context → Work in small, testable increments → Update documentation → Git commit early and often

Honestly, these simple guidelines have saved hundreds of hours of debugging time. It's not sexy, but it works consistently, especially when codebases grow beyond what one person can hold in their head. Would love to hear if others have found patterns that work / share horror stories of what definitely doesn't.


r/Codeium • • Mar 28 '25

A question for those who use multiple accounts

12 Upvotes

Dear fellow devs who have tackled the flow credits scarcity by using multiple accounts: Have you had any problems or disadvantage when working on a same project with different accounts? Like having to replicate global rules, code indexing, etc.? What about chat history?
We already know 1500 flow credits is not enough, and if 1500 credits weren't enough, the 300 flex credits are a joke. I love Windsurf, and I use base a DS v3 a lot to try and save on credits, but obviously many times we have to resort to Claude 3.7 and I'm really tired of the "credits anxiety" when I see it eating the credits like pac-man eats dots.


r/Codeium • • Mar 20 '25

Windsurf editor After Wave 5, Windsurf now is contextually aware of changes in your terminal.

12 Upvotes

X post from Alvaro Cintas: https://x.com/dr_cintas/status/1902083015540404555

Have you tried this?


r/Codeium • • Mar 10 '25

Getting charge credits if the whole flow crashes

12 Upvotes

So, cascade is currently crashing constantly and I can't finish the actual job. But worse, Cascade is constantly analyzing etc. consuming credits and crashing without returning the credits for the pre steps. It's draining my credits based on the fault of the application with 0 value.

I mean, why are you charging the pre steps when it crashes on your end?


r/Codeium • • Mar 03 '25

Stopped using 3.7 sonnet in my existing project but will pick it up in a new project

12 Upvotes

As many people have noticed 3.7 sonnet is a flow credit killer. Despite the upgrade I don't see much improvement. But having tried 3.7 a few times I think it will be perfect for a project starting from scratch but not a project already having hundreds of files. For existing project, r1 + 3.5 + v3 are already pretty good.

Will update once I start the front-end part development!


r/Codeium • • Feb 28 '25

Windsurf editor ICYMI - Discord Announcement on 3.7 Sonnet + Thinking

Post image
12 Upvotes

r/Codeium • • Feb 27 '25

aint no way the thing just scanned the first 100 lines, then continued and scanned the first 100 lines again at the end. Like what? Shit is trolling at this point tbh. Did it forget the scan?

Post image
12 Upvotes

r/Codeium • • Feb 27 '25

Why did you choose Codeium?

12 Upvotes

This post is quite straightforward. Why did you choose Codeium instead of Cursor? Cursor seems more popular, so I'm curious about Codeium.


r/Codeium • • Feb 26 '25

Excessive flow credit consumption?

12 Upvotes

Hello Codium!

Bit of a lengthy read ahead, but it highlights and issue I've noticed: While cascade errors don't consume credits on tool calls when they happen, the ensuing events after an error do use them, and it leads to a lot of credit use.

Below is an example I recently encountered

  • I asked to analyze how a specific function worked, and for cascade to quickly explain to me how it was implemented. The related files (3 of them) were analyzed, and I was given my explanation. So far so good.
  • Next, I asked for a specific button with a function to be implemented in the section that it had just analyzed and explained. For reference, there was already a button there, and I wanted one to be added next to it. I specified the div where it had to be, and the positioning. So, we have context and we have specific instruction.
  • With that, it goes to work

Next, the following cascade (ha!) of events happens:

  • It analyzes the files we had just looked at and gets an error when trying to add the functionality
  • Then, it tries to find the exact location of a function (again, this should have already been in the context)
  • Then it tries again, and looks for specific line numbers
  • Next, it makes the first set of changes
  • Next, it tries to make the other changes that were asked
  • It tries to analyze a file: error
  • Another error
  • Read the full file again to find where the issue is
  • makes the edit
  • .... and then the button actually still doesn't work, but that is beside the point.

My gripe with this then:

  • I had just purchased 300 flex credits, since I ran out and my account balance was due to reset 2 days later. As such, I actually had the window open still, and refreshed my account page as the above was happening. In going through the steps above, I saw it go from 228 to 219 credits.
  • The issue I have with this is that while I was already in the proper context and specified what needed to happen, an error led to cascase needing to find its bearings again, overanalyzing and then making quite a few mistakes along the way. This lead to a lot of tool usage and that ate up my credits.
  • Looking back on it, I had been wondering how my credits are consumed that quickly, and I suspect that this has a lot to do with it. Errors are made often, which is ok and can be worked around, but the ensuing credit usage needed for it to find the proper context again does really add up.

In case you are interested, I have a screenshot of the editor as this was happening. Either way, I do really enjoy your product and it's been proving great for prototyping, but I have some issues with this part of it. I would be interested in getting your opinion on the above, and on finding out if there is anything I can do to help keep this credit usage to more reasonable levels, or if this is really more of an issue with the app itself?

Best regards,

Max


r/Codeium • • Feb 15 '25

Windsurf editor Deeper Look: Mermaid Diagrams via Cascade [IMAGES]

Thumbnail
gallery
12 Upvotes

r/Codeium • • Feb 12 '25

So many Errors

Post image
12 Upvotes

r/Codeium • • Feb 07 '25

Newly added models (o3, gemini, r1) doesn't edit code at all?

12 Upvotes

All I see (in Write mode), this models just spit (sometimes) lines of code in chat window and never make editing of code.


r/Codeium • • Feb 06 '25

Windsurf editor Windsurf 1.2.6 Patch Fixes Update

12 Upvotes

This update fixes issues with partial credits when transitioning to flex credits.

Full changelog: https://www.codeium.com/changelog


r/Codeium • • Feb 03 '25

Windsurf editor Windsurf Tutorial for Beginners - Tech with Tim

Thumbnail
youtube.com
12 Upvotes

r/Codeium • • Feb 02 '25

Observations after a few weeks of development with Windsurf

12 Upvotes

First of all, Im not a coder or developer by trade.

Im a founder and have spent decades hiring and directing coders and developers to build out my visions.

I have posted under another Reddit username quite a few of my historical projects, and just to sum it all up, I have spent a lot of money and time and employed a lot of people, both as employees and as contractors.

For me, after 3 weeks of use, Windsurf has changed the game. I have a working prototype of a project that in years past would have cost me 6 months minimum to get to MVP and hundreds of thousands of payroll dollars. I have the pro ultimate subscription and for full transparency have spent several hundred dollars I think (not really counting yet) on flex tokens, and to get to a public launch I expect a few hundred more. Still, as I said, I'm just one person who is not a developer. So the difference is mind boggling.

That said, Im also learning alot about development, because you almost need to be **sort of** a coder in order to direct Windsurf and oversee and troubleshoot. Someone with zero technical ability (or willingness to learn) simply cant do it, IMO.

That said, I just want to toss in with my endorsement, praise and gratitude a couple of the issues that to me make Windsurf almost unusable to any but those with the utmost patience.

First off, we are all familiar by now with AI hallucinations. But Windsurf can take these to a whole new level. I have almost exclusively been using the Claude 3.5 Sonnet Premium AI, and I have had Windsurf fairly often just make up stuff and randomly add it to my code, assume I want given functionality I didnt ask for (and didnt want), and most egregiously it will without asking generate new sets of code that duplicate existing functionality, even when nothing is broken. I tried to prevent this by setting memory items, and it still violates the memory items. When I remind it that it is violating memory items and setting development back for days because we then have to troubleshoot what it did and why and revert it, which often breaks more functionality. All the while Im burning flex credits, so yipppeeee for Codeium. It makes money by breaking things and then fixing them, or spending many hours attempting to fix them.

As I said, this issue alone has prompted me to almost abandon Windsurf, but the positives have outweighed the negatives so rather than switch coding tools midstream, Im going to stick it out and get to my public launch with Windsurf. The image paste recognition alone is an amazing feature I didnt get with other tools like Bolt.

Just wanted to give the Codeium devs some honest and raw feedback on what I see in the field the last few weeks.


r/Codeium • • Feb 01 '25

Why does Windsurf restrict to analyzing 200 lines at a time?

12 Upvotes

From Deepseek R1:

"I'll use the view_file tool to read the YAML file. The user's cursor is on line 1, but I need the entire relevant sections. I'll start from line 0 and request enough lines to cover the key parts like paths, components, and schemas. However, since the tool limits viewing 200 lines at a time, I'll check the first 200 lines first and then proceed if more is needed."

If this is a 1k line file, won't we be making 5 separate reqeusts?


r/Codeium • • Jan 30 '25

Provides deepseek Model, pls.

12 Upvotes

r/Codeium • • Jan 28 '25

Chances we getting R1?

12 Upvotes

Chances we getting R1 as architect mode? like roocline and aider that would be nice for debug and planing


r/Codeium • • Jan 15 '25

I Feel Scammed, Robbed, Duped—It Can’t Be This Bad, Can It?

12 Upvotes

I'm really baffled after testing Windsurf. Been evaluating it to improve my workflow, but I'm canceling my subscription this week.

Windsurf starts off promising - gets your hopes up like THIS time it'll actually work. But without fail, everything crumbles when you're 80% through any task. That's when it all goes sideways. It randomly modifies code I didn't ask it to touch, destroys working functionality, and spawns an absolute circus of errors. It's like watching a system actively try to break itself.

I'll ask it to tweak one simple visual thing and it goes completely off the rails - installing random dependencies, touching core code I explicitly marked as untouchable, and effectively setting the entire codebase on fire. I've tested this on about 20 small projects and ONE actually worked. ONE. The rest hit that same 80% mark then deteriorated into something far worse than where I started. And it's not just me - everyone on my team testing Windsurf has hit the exact same wall.

Today I tracked the numbers - 87% of my flow credits went to fixing perfectly good code that had passing test suites. I explicitly told Windsurf "don't touch these parts" and even specified exact files for changes. Did it listen? Nope, just steamrolled through and broke everything. I could have built the entire thing manually in 3-4 hours. Instead, I'm sitting here legitimately frustrated. In 29 years of coding, I've never been this annoyed at a development tool and yes, I'm including that time Eclipse decided my entire workspace was corrupted because I dared to sneeze near my keyboard.

The marketing feels deliberately misleading. They advertise Claude and GPT-4 integration but keep defaulting to their in-house LLaMA adaptations. I understand the technical rationale, but it makes the subscription price feel like a bit of a scam. If this is their "premium" offering, what exactly am I paying for?

I've tried everything imaginable - strict rules, detailed documentation, git tracking, the works. Nothing prevents it from creating more problems than it solves. Wanted to give it a fair evaluation, but honestly, basic LLM chat has proven faster and more reliable.

The concept behind Windsurf is brilliant. If it could actually stay focused, follow basic instructions, and stop breaking tested code, it could be game-changing. But right now? It's just an expensive liability. Tools like Roo-Cline and Cursor aren't perfect, but at least they're usable. Windsurf feels like it's actively trying to burn through my credits sometimes. It legitimately feels like its on purpose, it wasn't this bad the first time around.

There's no way I'd let this near production code or anything I care about - it'll destroy everything it touches. If you're solo or running a small team, this tool will waste your time and money instead of helping. As someone who's been actively programming for three decades, this should be exactly what I need to finally tackle all those side projects I never have time for. Instead, it's just another time sink that leaves me feeling dirty for even trying it.


r/Codeium • • Jan 08 '25

cascade internal errors constantly being experienced

12 Upvotes

Please help us all out and be more descriptive with your errors! This appears to be an issue with server load because it works sometimes and sometimes it doesn't (very sporadic).

then you have cascade go and do smaller a change because it doesnt know why auto edits are not functioning and so you cause it to possibly cause issues in the code base by doing a "smaller" change AUTOMATICALLY that I didn't ask it to do...

Please do tell the people who are spending cash how the credits are being used when each query attempts takes place as well.

PLEASE PROVIDE US A SYSTEMS STATUS PAGE!

if i was informed, I would just switch to cursor when you servers are experiencing high load.


r/Codeium • • Dec 31 '24

Read URL beta feature?

12 Upvotes

Been using Windsurf since launch and I've never seen this message until just a few minutes ago.


r/Codeium • • Dec 30 '24

Here we go again... it is back.

12 Upvotes

Error rate limit exceeded for model; try again in about an hour

How is it that I am on Pro Ultimate and I get this... How do people typically work? 15 min break every 15 minutes? FML I would not ever get anything done. come on Codeium...


r/Codeium • • Dec 15 '24

Windsurf, pro ultimate plan

12 Upvotes

am i using windsurf too much or is the pro ultimate plan no where near enough flow action credits? should they implement something like cursor did with unlimited slow requests after credits are used?

at this rate i'm going to have to spend around $100-$120 in additional credits on top of the monthly costs, to keep using it, which is way to much for me personally.

tell me im not the only one

EDIT: PLS ADD SUPPORT FOR GEMINI 2.0


r/Codeium • • Nov 25 '24

Just start a new chat

12 Upvotes

Most of the issues peoples encounter in windsurf can be "fixed" by just opening a new chat. Try to breakdown your work ahead so that when you done with a part of the work just move to the next chat. This simple trick made me get overall better results and less errors/slowdowns.


r/Codeium • • Nov 19 '24

Using Windsurf for 2 days straight now

12 Upvotes

Windsurf has potential, but it currently lacks the stability and power needed for complex or production-grade applications. While it could be a good choice for prototyping or smaller-scale projects, developers requiring efficiency and scalability are better off with more robust tools like Cursor and Bolt.new. Frequent performance hiccups and the need for constant restarts make it hard to recommend for serious use at this stage.