r/ChatGPTCoding • FOUNDER • Jun 03 '25

Discussion AI Coding Agents' BIGGEST Flaw now Solved by Roo Code

Stop your AI coding agent from choking on long projects! đŸ˜” Roo's Intelligent Context Condensing revolutionizes how AI handles complex code, ensuring speed, accuracy, and reliability.

You can even customize the prompt it uses to compress your context! As usual, with Roo, you’re in control.

https://docs.roocode.com/features/intelligent-context-condensing

137 Upvotes

160 comments sorted by

20

u/Both_Reserve9214 Jun 03 '25

Yo hannes, I respect the work you've done with Roo. What's your stance on indexing? The creator of Cline is vocally against it, but what do you think?

20

u/hannesrudolph FOUNDER Jun 03 '25 edited Jun 03 '25

Indexing is unbelievable! In side by side tests in ask mode asking questions about the codebase indexing comes out ahead every-time. Without indexing sometimes the LLM is able to surmise which files to look in based on proper directory structure and file names and utilize the more basic search tools available to find the same thing as o design does but always at the expense of tokens.

https://docs.roocode.com/features/experimental/codebase-indexing

In terms of Cline’s stance, we’re not up against them so it’s not really concerning to me that they’re taking a different direction. Cursor and Windsurf have made a lot of the correct calls on how to do things so we’re going to take our lead from them on this.

6

u/Both_Reserve9214 Jun 03 '25

Much respect to your decision! I think that is definitely the way to go.

At the end of the day, all these dev tools are meant to serve developers, so it only makes sense to take the best parts from each of them in order to maximize developer satisfaction

3

u/fullouterjoin Jun 03 '25

Indexing and context compression are different though. I think /u/Both_Reserve9214 might have slightly derailed the original thrust of the post.

7

u/Both_Reserve9214 Jun 03 '25

They are, but I specifically asked hannes' opinions for the former. The reason why I asked this was because I've honestly been super interested in seeing the difference of opinion between two awesome teams working on similar products (i.e, Cline and Roo Code).

Although I admit, my question might've derailed the original convo

→ More replies (1)

7

u/hacktheplanet_blog Jun 03 '25

Why is he against it?

6

u/fullouterjoin Jun 03 '25

Claims RAG breaks code understanding. I had a summary here which was pretty good but the deep link citations were broken so I deleted it. See the links anyway.

https://old.reddit.com/r/fullouterjoin/comments/1l2dyr2/cline_on_indexing_codebases/

Though indexing and Context Compression are different. I think you could absolutely index source code so that you can do rag like operations against it. Good dev documentation already has high semantically dense code maps.

1

u/roofitor Jun 03 '25

Yo hannes

Sebastian!

1

u/hannesrudolph FOUNDER Jun 04 '25

Huh?

1

u/roofitor Jun 04 '25

It’s an old Smurfs reference. I just Googled it and apparently I’m the only human alive that remembers it :)

→ More replies (5)
→ More replies (1)

13

u/i_said_it_first_2day Jun 03 '25

Not sure all the critics and folks downvoting the OP have actually used the feature - I was hitting context limits with Claude and condensing made the LLM available to me without the need to contact Anthropic sales (I wouldn’t have )- clicking on the condensed output shows you how it was actually condensed - it’s human readable so you can make your own judgement whether it left anything valuable or further customize the prompt - Caveat: it does take a while for long sessions and hung once for me but is valuable for it does.

→ More replies (4)

4

u/maddogawl Jun 03 '25

I’m loving this feature, thanks for this update!

1

u/hannesrudolph FOUNDER Jun 03 '25

thank you

39

u/goqsane Jun 03 '25

It’s not as good as you believe it is.

0

u/[deleted] Jun 03 '25

[deleted]

17

u/maschayana Jun 03 '25

No it's not. Cursor etc are all doing some variation of this btw, Roo didn't come up with a novel solution here.

2

u/hannesrudolph FOUNDER Jun 03 '25

Yes we are aware. We never said we did.

0

u/[deleted] Jun 03 '25

[deleted]

28

u/Admits-Dagger Jun 03 '25

Responding like this isn’t convincing me at all.

2

u/hannesrudolph FOUNDER Jun 03 '25

Ok? I’m not here to trick you or convince you. Just show you we have it and if you want to try it you can. You make your own decision and this video was never about convincing people that condensing was the way to go if they did not agree it was.

3

u/Xarjy Jun 03 '25

I've seen a bit about roo lately and was debating trying it, seeing what's apparently one of the devs (or maybe the only dev?) responding like a child just pushed me far far away.

Ill stay on cursor, thanks.

6

u/hannesrudolph FOUNDER Jun 03 '25

I was making a joke because the poster has a history of making salty, short, and borderline inflammatory comments.

If you’re looking for the best tools then my post shouldn’t change that. Best of luck.

→ More replies (3)

6

u/xamott Jun 03 '25

Lol good don’t try it that’s your loss not his

→ More replies (1)
→ More replies (1)
→ More replies (7)

3

u/goqsane Jun 03 '25

Rudolph. I use Roo Code every day. Many parallel workstreams running. Context condensing broke many of my workstreams. All with default settings. Using Gemini models mostly.

1

u/hannesrudolph FOUNDER Jun 03 '25

We don't want that! Would you be able to share with me how it broke your workstreams? You can disable it if you don't like it as well! Sorry about that.

→ More replies (2)
→ More replies (1)

5

u/AdministrativeRope8 Jun 03 '25

I wish your luck with your project, but if this just uses an LLM to summarize large context windows I assume it will have poor results.

LLMs summarization, at least for me, often leaves out a lot of important details, especially with summarized code this becomes a problem, since the agent only has a high level description of what a function does. Changing other code based on that might lead to unexpected behavior.

1

u/hannesrudolph FOUNDER Jun 03 '25

In Roo you can select the model used to condense and customize the prompt so that you can fine tune the results of the condensing. https://docs.roocode.com/features/intelligent-context-condensing

1

u/hannesrudolph FOUNDER Jun 03 '25

If you use Roo you can just turn it off if you don't want to use it.

1

u/hannesrudolph FOUNDER Jun 03 '25

If you use Roo you can just turn it off if you don't want to use it.

→ More replies (2)

1

u/lordpuddingcup Jun 03 '25

Hey any chance we can use the indexing feature you guys added with the Gemini embedding? If memory serves they’re basically free and I’m pretty sure currently rated as best in the leaderboards for context ?

1

u/hannesrudolph FOUNDER Jun 03 '25

You bet! you can already take it for a test drive if you like https://docs.roocode.com/features/experimental/codebase-indexing

1

u/lordpuddingcup Jun 03 '25

Doesn’t it only support OpenAI and ollama? Or can we use the Gemini OpenAI endpoint for embeddings too with it

1

u/hannesrudolph FOUNDER Jun 04 '25

Its still experimental and more are coming! For now just openai and ollama but that should change soon!

→ More replies (2)

1

u/ScaryGazelle2875 Jun 04 '25

Just saw the timeline feature in cline, thought it was pretty useful. Any chance if it might come to roo?

1

u/hannesrudolph FOUNDER Jun 04 '25

Always a chance! What do you like about it?

1

u/ScaryGazelle2875 Jun 04 '25

Navigating thru my chat helps me to understand what im discussing about, especially if i use gemini, the 1m token helps the chat stays in context for a long time, some issues requires a long chat back n forth. Having the ability to refer back to the part of the chat is amazing.

1

u/hannesrudolph FOUNDER Jun 04 '25

💡 good input. Thank you!

→ More replies (1)

3

u/g1yk Jun 03 '25

Is it better than cursor ?

→ More replies (2)

7

u/keepthepace Jun 03 '25

Don't they all do this? I hate when they do it silently and you just remark it through the accuracy of the answers and diff decreasing dramatically. Just tell me I need to restart a new chat, that would be a time saver.

1

u/Admits-Dagger Jun 03 '25

Agreed, I actually like knowing my state within the window.

→ More replies (3)

1

u/LukaC99 Jun 03 '25

Context condensing has been available in Claude Code from the start, and it's mediocre.

From a quick skim of the docs (as you haven't provided any substantial info, just marketing fluff/slop), this seems to be the same thing, prompting a model to summarize the conversation.

4

u/hannesrudolph FOUNDER Jun 03 '25

Yes basic context summarization isn't new. This does differ though.

Roo lets you explicitly control:

- Which model handles the condensing.

- When condensing kicks in (configurable thresholds).

- Whether it runs at all (you can disable it).

- The exact condensing prompt itself (fully customizable).

This isn't a minor tweak; it's fundamental control you don't get with Claude. Skimming docs and dismissing them as "marketing slop" won't give you that insight but I suppose it will provide you with the fodder for your argument was likely decided before skimming the docs.

1

u/regtf Jun 03 '25

This is exactly what Replit, Cursor, Lovable all do...

This isn't novel, new, or interesting.

You have created "burst processing" for AI, which is to say you named a feature that everyone already has.

2

u/hannesrudolph FOUNDER Jun 03 '25

Your argument seems to boil down to: "Because someone else has done something similar, it's not worth mentioning." That's dismissive and adds no value. Features don't lose their worth just because they exist elsewhere—especially when many tools *don't* offer them, despite user requests.

We've implemented something people have explicitly asked for, with a level of configurability not common elsewhere. If that's not relevant or interesting to you, fine. But claiming it's pointless because "everyone already has it" just isn't accurate.

0

u/[deleted] Jun 05 '25

[deleted]

1

u/hannesrudolph FOUNDER Jun 05 '25

So what are you proposing?

2

u/megadonkeyx Jun 03 '25

This is great, paired with orchestrator it let me work on a new project all day without having to lose the main concepts and goal.

I don't like to say "let me create code" as all I do is whinge at the AI and test.

2

u/BurleySideburns Jun 05 '25

I’m always open to giving it a go.

4

u/sonofchocula Jun 03 '25

Roo rules. This solved my biggest complaint (which wasn’t aimed at Roo to begin with).

3

u/suasor Jun 03 '25

Such a no-brainer, tbh

0

u/AdministrativeRope8 Jun 03 '25

I wish your luck with your project, but if this just uses an LLM to summarize large context windows I assume it will have poor results.

LLMs summarization, at least for me, often leaves out a lot of important details, especially with summarized code this becomes a problem, since the agent only has a high level description of what a function does. Changing other code based on that might lead to unexpected behavior.

1

u/hannesrudolph FOUNDER Jun 04 '25

You can customize the prompt used to summarize the details to fine tune it to your preferences.

1

u/Professional-Try-273 Jun 03 '25

When you are condensing you are losing information no?

1

u/NeighborhoodIT Jun 06 '25

Yes but the key is generally you dont need ALL the context only the stuff that's relative at that time

-10

u/Jealous-Wafer-8239 Jun 03 '25

Slop article

6

u/hannesrudolph FOUNDER Jun 03 '25

It’s the docs.

-1

u/nick-baumann Jun 06 '25

Seeing some confusion here.

Indexing is the process of scanning a codebase and building a searchable structure of its symbols, files, and relationships. Some tools -- like Cursor, Windsurf, and now Roo -- also embed this indexed data into a vector database, which allows them to perform semantic search or grounding for LLMs. This approach provides a cost-effective way to get broad codebase coverage but is debated in its effectiveness in generating quality context.

Context condensing, on the other hand, means using AI to summarize the context of a task -- such as a long discussion, a set of related files, or an active coding session -- into a shorter form. Roo now supports this as well. You've been able to do this via /smol in Cline for a while, and also via /compact in Claude Code.

3

u/hannesrudolph FOUNDER Jun 06 '25 edited Jun 06 '25

Only Roo lets you customize the prompt used for context condensing, which matters if you care about precisely what’s prioritized. Roo also lets you set (or disable) automatic condensing thresholds and choose the exact model used for condensing.

Regarding indexing, it’s a straightforward way to quickly track down specific parts of the code, allowing the tool to read the full file context when needed. Not sure what’s actually being debated here. Indexing in Roo is not used as a final context source. It’s a first-pass filter that helps narrow down where things might be, then full reads and regex search confirm it. That combo works well in practice and is far more efficient than brute-forcing file scans every time. Nobody is claiming embeddings alone are perfect, but calling this hybrid setup “debated” ignores how it’s actually used.

The debate about its effectiveness seems mainly limited to your blog, which you panic posted in direct reaction when Roo introduced indexing. For those unaware, he’s with Cline.

0

u/[deleted] Jun 03 '25

[deleted]

5

u/hannesrudolph FOUNDER Jun 03 '25

You can simply turn it off if you don't like it NO PROBLEM. https://docs.roocode.com/features/intelligent-context-condensing#configuration

We like to give users choices!

8

u/MateFlasche Jun 03 '25

It's 100% optional to activate and you can control threshold context length. I am also still figuring out if and how to best use it.

8

u/ThreeKiloZero Jun 03 '25

The last time I used cursor they were not doing actual context compression to extend the length of time the agents can work on the tasks. They were i think using weaker models to compress every prompt to the stronger models and not giving full context access.

I think the cool part about the Roo solution is that you can manage when context compression triggers and you can build your own recipe for the context compression. Claude code's for example is very effective.

So it lets both the orchaestrator agent adn the agents themselves to manage their own context, and perform better on longer running tasks / get more done in a single pass or task. It's been pretty stellar for me so far.

6

u/hatefax Jun 03 '25

Claude code 100% does this auto-compacts once the context window fills up. So not something massively new nor ground breaking

5

u/hannesrudolph FOUNDER Jun 03 '25

Yes we did not invent it. It is totally a click baity headline.

We do differ in implementation that we let you select the model, prompt use to compress, and threshold. If you don't like it you can also simply disable it!

1

u/hannesrudolph FOUNDER Jun 03 '25

Yes we did not invent it. It is totally a click baity headline.

We do differ in implementation that we let you select the model, prompt use to compress, and threshold. If you don't like it you can also simply disable it!

1

u/hannesrudolph FOUNDER Jun 03 '25

Yes we did not invent it. It is totally a click baity headline.

We do differ in implementation that we let you select the model, prompt use to compress, and threshold. If you don't like it you can also simply disable it!

1

u/jammy-git Jun 03 '25

Why does it only do it once the context window fills up?

1

u/hannesrudolph FOUNDER Jun 04 '25

You can trigger it manually or reduce the threshold (% of context) to auto trigger!

→ More replies (2)
→ More replies (2)

3

u/hannesrudolph FOUNDER Jun 03 '25

You can simply turn it off if you don't like it NO PROBLEM. https://docs.roocode.com/features/intelligent-context-condensing#configuration

We like to give users choices!

2

u/hannesrudolph FOUNDER Jun 03 '25

You can simply turn it off if you don't like it NO PROBLEM. https://docs.roocode.com/features/intelligent-context-condensing#configuration

We like to give users choices!

1

u/[deleted] Jun 03 '25

[removed] — view removed comment

1

u/AutoModerator Jun 03 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/[deleted] Jun 03 '25 edited Jul 15 '25

[removed] — view removed comment

9

u/hannesrudolph FOUNDER Jun 03 '25

It a bring your own key situation. Roo is free, API is not. We don’t sell API services.

1

u/omegahawke Jun 03 '25

It can still be less expensive in API costs

1

u/hannesrudolph FOUNDER Jun 04 '25

Are you saying you think it should cost less?

1

u/[deleted] Jun 03 '25

[removed] — view removed comment

2

u/hannesrudolph FOUNDER Jun 03 '25

thank you.

1

u/[deleted] Jun 04 '25

[removed] — view removed comment

0

u/hannesrudolph FOUNDER Jun 04 '25

What headline would you suggest?

Does Claude Code allow you to set the prompt, model, and threshold for the condensing?

1

u/[deleted] Jun 03 '25

[removed] — view removed comment

1

u/AutoModerator Jun 03 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

-15

u/[deleted] Jun 03 '25

[removed] — view removed comment

9

u/hannesrudolph FOUNDER Jun 03 '25

It has a customizable prompt and trigger threshold on top of the manual trigger. We also “stole” Claude’s multi-file read of you wanna bitch about that. Stole
 😂

0

u/[deleted] Jun 03 '25

[removed] — view removed comment

→ More replies (1)

5

u/[deleted] Jun 03 '25

claude code was in no way even close to having that feature first. it's been around in other apps for a long time

2

u/LukaC99 Jun 03 '25

Which is the point, pineh2 is arguing that OP is lying by saying AI Coding Agents' BIGGEST Flaw now Solved by Roo Code

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Jun 04 '25

[deleted]

1

u/AutoModerator Jun 04 '25

Sorry, your submission has been removed due to inadequate account karma.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.