Re:Replicating Cursor's Agent Mode with E2B and AgentKit
by wittydeveloper on Monday March 03, 2025 @10:48AM
(#43242877)
Yup, I definitely faced multiple loops or "blocked" scenarios when iterating on the prompt and tools.
The most obvious one is when the Agent generates a terminal command that requires some interactivity (ex: "confirm to ...").
This causes the Agent to build all files from scratch adding a 5x more steps than necessary.
I'm planning to try to make terminal STDIO work as a "human in the loop" pattern or even better as an "Agent in the loop" one.
Have you noticed the agent getting stuck in any particular spots when building more complex projects?