Settings

Theme

Replicating Cursor's Agent Mode with E2B and AgentKit

e2b.dev

36 points by wittydeveloper 10 months ago · 12 comments

Reader

bsnisar 10 months ago

This is helpful, some clarity now how Cursor's Agent mode works under the hood. Also big plus for "LLM empathy". Going to try your approach for our own project.

Have you noticed the agent getting stuck in any particular spots when building more complex projects?

  • wittydeveloperOP 10 months ago

    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.

Ed_Nedin 10 months ago

The local Cursor? Great move avay from monopoly!

terezatizkova 10 months ago

Can it also do a search through documentation? Cursor agent can do that.

  • wittydeveloperOP 10 months ago

    Not the version featured in the blog post, but adding a MCP server like Stagehand could enable it to search on the web!

swanYC 10 months ago

How does it compare to Claude Code?

  • wittydeveloperOP 10 months ago

    Claude Code is a complete tool that is ready to be used locally, focusing on Anthropic API features, while this coding agent is for educational purposes (like OpenAI's Swarm) and works with any LLM provider. Thought this Coding Agent could also be used in a real setting as a Pull Request or GitHub Coding Agent!

kmatrah 10 months ago

Can I also do it in Python?

kingitaj 10 months ago

Super dopeee!!!

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection