r/ChatGPTCoding • u/hannesrudolph 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
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
39
u/goqsane Jun 03 '25
Itâs not as good as you believe it is.
0
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
→ More replies (1)0
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.
→ More replies (7)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)→ More replies (1)6
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)
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.
→ More replies (2)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/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 ?
→ More replies (2)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!
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
3
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.
→ More replies (3)1
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
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
4
u/sonofchocula Jun 03 '25
Roo rules. This solved my biggest complaint (which wasnât aimed at Roo to begin with).
3
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
-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
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.
3
u/hannesrudolph FOUNDER Jun 03 '25
It is enabled by default now but can be disabled. https://docs.roocode.com/features/intelligent-context-condensing#configuration
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!
→ More replies (2)1
u/jammy-git Jun 03 '25
Why does it only do it once the context window fills up?
→ More replies (2)1
u/hannesrudolph FOUNDER Jun 04 '25
You can trigger it manually or reduce the threshold (% of context) to auto trigger!
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
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
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
1
1
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
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
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
5
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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?