Remix.run Logo
cjonas 4 hours ago

This approach seems interesting, but in my experience, a single "agent" with proper context management is better than a complicated agent graph. Dealing with hand-off (+ hand back) and multiple levels of conversations just leaves too much room for critical information to get siloed.

If you have a narrow task that doesn't need full context, then agent delegation (putting an agent or inference behind a simple tool call) can be effective. A good example is to front your RAG with a search() tool with a simple "find the answer" agent that deals with the context and can run multiple searches if needed.

I think the PydanticAI framework has the right approach of encouraging Agent Delegation & sequential workflow first and trying to steer you away graphs[0]

[0]:https://ai.pydantic.dev/graph/

sdeiley 3 hours ago | parent [-]

This isnt true for big code bases. Subagents or orchestration become vital for context handholding

mikert89 3 hours ago | parent [-]

yeah i think sub agents are needed, missed that in my comment