explaingit

grapeot/devin.cursorrules

5,963PythonAudience · vibe coderComplexity · 2/5LicenseSetup · easy

TLDR

A configuration kit that upgrades Cursor, Windsurf, and GitHub Copilot to behave like Devin, writing a plan before coding, revising it as work progresses, and learning from corrections.

Mindmap

mindmap
  root((repo))
    What it does
      AI editor upgrade
      Devin-like behavior
    Config files
      Cursor rules file
      Windsurf rules file
      Copilot instructions
    AI behaviors
      Plan before coding
      Self-evolving notes
      Web browsing tools
    Python tools
      Playwright browser
      DuckDuckGo search
      Multi-model calls
    Multi-agent mode
      Planner model
      Executor model
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Add structured planning to your Cursor or Windsurf editor so it writes a plan before touching any code

USE CASE 2

Let your AI editor browse web pages and run DuckDuckGo searches autonomously during a coding task

USE CASE 3

Set up a two-model multi-agent workflow where one AI plans and another executes to improve output quality

USE CASE 4

Configure your AI editor to accumulate project-specific lessons so it repeats fewer mistakes over time

Tech stack

PythonPlaywrightCursorCookiecutter

Getting it running

Difficulty · easy Time to first run · 5min
MIT license, use freely for any purpose including commercial projects.

In plain English

This repository is a configuration kit that adds more capable AI behavior to Cursor, Windsurf, and GitHub Copilot, the AI-assisted coding editors. The goal is to get those tools to behave more like Devin, an AI coding agent that was notable for writing out a plan before starting work, updating that plan as it went, and learning from corrections along the way. Devin charges per task, whereas Cursor costs a flat monthly fee, so this project aims to unlock similar behavior at a lower price. The main file you copy into your project is a rules file (.cursorrules for Cursor users.windsurfrules for Windsurf users, or a Copilot instructions file for GitHub users). These files tell the AI editor how to behave: write a plan first, revise the plan as things change, and record lessons learned whenever you correct a mistake. That last part is what the README calls self-evolution: the AI accumulates project-specific notes over time so it makes fewer repeated errors. The repository also includes a small set of Python tools that extend what the AI can do during a task. These tools let it browse web pages using a browser automation library called Playwright, run search engine queries through DuckDuckGo, and call other AI models to analyze text or images. The AI decides on its own when to use these tools based on what the task requires. There is also an experimental multi-agent mode on a separate branch. In that setup, one AI model acts as a high-level planner and another handles the step-by-step execution. The idea is that having two separate models check each other improves the quality of the result. Setup takes about a minute. The recommended path uses a tool called Cookiecutter that prompts you for a few choices and copies the right files into a new project folder. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Set up the devin.cursorrules configuration in my Cursor project using Cookiecutter. Walk me through every setup step and explain what each generated file does.
Prompt 2
I want my Cursor AI to browse documentation pages automatically during a task. Enable and test the Playwright web browsing tool from devin.cursorrules.
Prompt 3
Configure the multi-agent mode from devin.cursorrules with one model as the planner and another as the executor. Show me the exact config changes needed.
Open on GitHub → Explain another repo

← grapeot on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.