Remix.run Logo
nurettin 12 hours ago

You don't load the entire project into the context. You let the agent work on a few 600-800 line files one feature at a time.

storystarling 10 hours ago | parent [-]

Right, but how does it know which files to pick? I'm curious if you're using a dependency graph or embeddings for that discovery step, since getting the agent to self-select the right scope is usually the main bottleneck.

embedding-shape 10 hours ago | parent | next [-]

I gave you a more complete answer here: https://news.ycombinator.com/item?id=46787781

> since getting the agent to self-select the right scope is usually the main bottleneck

I haven't found this to ever be the bottleneck, what agent and model are you using?

nurettin 3 hours ago | parent | prev [-]

If you don't trigger the discovery agents, claude cli uses a search tool and greps 50-100 lines at a go. If discovery is triggered, claude sends multiple agents to the code with different tasks which return with overall architecture notes.