Skip to content

The-Pocket/Tutorial-Cursor

Repository files navigation

Build Cursor with Cursor

Cursor is cool! But what if we use it to build an open-source, customizable AI coding agent? We’ll develop a “Cursor Agent” that writes, reviews, and refactors code—right within Cursor itself. It’s meta, it’s moddable, and it’s powered by the power of Cursor. Let’s build Cursor…with Cursor.

  • To install:

    pip install -r requirements.txt
  • To run the Agent

    python main.py --query "For Trusted by industry leaders, add two more boxes." --working-dir ./project
  • How does it work? The best starting point to learn is the design doc and the flow code.

  • Note: This project hasn't been pressure-tested or optimized. We intentionally keep it simple for learning.

I built this Cursor Agent using Cursor itself!

  • I built using Agentic Coding, the fastest development paradigm, where humans simply design and agents code.

  • The secret weapon is Pocket Flow, a 100-line LLM framework that lets Agents (e.g., Cursor AI) build for you

  • Step-by-step YouTube development tutorial:



Examples

We provide an example project of SaaS product homepage for the code agent to edit.

To run the page:

cd project
npm install
npm run dev

Here are some example queries you can try:

python main.py --query "For Trusted by industry leaders, add two more boxes." --working-dir ./project

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published