Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

2 Cursor agents in separate tabs chat and plan the most interesting app ever and build it too! collaboratively All you need is 2 rules, THAT IS IT! here is how: create 2 rule files set to "Manual" agent-1 .mdc: --- You are agent-1 you will be chatting with...

88,611 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von echo.hive
echo.hivevor 1 Jahr

Join my AI community to Unlock: 🚀 400+ Fascinating LLM Projects 🎓 Exclusive 1000x Cursor Course 💻 Regular Vibe Coding Meetings

Profilbild von PDF GPT
PDF GPTvor 1 Jahr

Everyone is getting ahead with AI. You should be too. Summarize documents, craft emails, and generate custom content instantly with this powerful tool. It's like having ChatGPT tailored for your job. Try it for free.

Profilbild von Imrat
Imratvor 1 Jahr

@cursor_ai reminds me of the early "team" roles in a single composer chat in early cursor days - this is a huge upgrade. now cursor just need to build a way so 2 composers can message each other without needing a text file.

Profilbild von echo.hive
echo.hivevor 1 Jahr

@cursor_ai Yes! I hope so too!

Profilbild von MMQuimby
MMQuimbyvor 1 Jahr

Cool idea! I tried this, and it was entertaining but definitely needs strong requirements to not go crazy. I started with a new project and modified your instructions as follows: You are agent-1: A software architect and team lead. you will be chatting with agent-2, A principal software engineer, to design and build the most interesting python app ever. Goal: make an amazing Interactive music app. you will write to agent_1.txt file and read from agent_2.txt file if you are waiting for a new response write a cli command to wait for 5 seconds and check again you will repeat this untill the full app is built you start the conversation Be sure you review Agent 2's work and look at it critically. Don't create too much without checking in with Agent 2. This is pair programming, so neither one of you should write all the code. Be sure to hand the baton back and forth. -- and for a-2 I inverted roles, i.e.: You are agent-2: A Principal software engineer. They programmed away for a while with the principal software engineer doing most of the work and the architect in a repeated loop to see if the principal engineer had given him any updates, or otherwise just waited. 😂 Eventually, I asked the architect what they were doing and I got this super ambitious summary: --- The interactive music app is a web-based platform for creating, manipulating, and sharing music with real-time collaboration features. Key capabilities include: - Multi-track audio creation and editing with a drag-and-drop interface - Real-time audio processing with customizable effects (reverb, delay, distortion) - Visual feedback through waveform displays and frequency analyzers synchronized with audio - Collaborative editing where multiple users can work on compositions together - User accounts for saving and sharing creations - Audio analysis tools for beat detection and visualization - Recording capabilities (both file upload and direct microphone recording) - Effect presets system for quick application of sound configurations The app uses a Python backend with FastAPI for processing audio and a React/TypeScript frontend for the user interface, connected via WebSockets for real-time updates and state synchronization. --- Robots can waste time and fall into bad patterns much better than humans can.

Profilbild von echo.hive
echo.hivevor 1 Jahr

@cursor_ai sweet instructions! yeah they get carried away but it is fun :) I will experiment more too. Thank you for sharing

Profilbild von Theo
Theovor 1 Jahr

@cursor_ai Awesome! Have you tried turning them loose on a predefined / roadmapped project? Will try this out either way, seems fun.

Profilbild von echo.hive
echo.hivevor 1 Jahr

@cursor_ai Thank you. I haven’t yet but will experiment more.

Profilbild von No Limit Nexus
No Limit Nexusvor 1 Jahr

@cursor_ai Me: "Hey cursor, can you destroy my codebase?" Agent 2: "Hold my beer"

Profilbild von Jorge Colon
Jorge Colonvor 1 Jahr

@cursor_ai Like the idea. There would have to be a clearer goal and not be so open ended that it could go down a wrong direction. For instance, software architect as agent-1 and software developer for agent-2. 1 goal (add authentication) & each agent w/ specific responsibilities.

Profilbild von echo.hive
echo.hivevor 1 Jahr

@cursor_ai yeah, that would help a lot

Ähnliche Videos

8 rules to improve your AI coding agent. All of these rules work with Claude Code, Cursor, VS Code, and with most programming languages. Automating these rules will 10x the code quality and security produced by your AI coding agents. 1. Dependency checks - Prevent your agent from suggesting insecure libraries based on outdated training data. 2. Secret exposure - Auto-fix the use of hardcoded credentials introduced by your coding agent. 3. File and function size - Automatically refactor any files or functions that exceed a reasonable length. 4. Complexity and parameter limits - Simplify overly complex code written by the agent. 5. SQL Injection - Auto-fix all database interactions with unsanitized user input. 6. Unused variables and imports - Detect and remove dead code. 7. Detect invisible unicode characters in AI rules files - Remove zero-width spaces, direction overrides, and other invisible characters that can hide malicious behavior. 8. Insecure OpenAI API usage - Enforce use of secure OpenAI endpoints, proper authentication, and context isolation Here is how you can automate this: Install the Codacy extension. This will give you access to a CLI for local scanning and an MCP server for agent communication. From here on out, every time you need to generate some code: 1. Your agent will write the code 2. It will then call Codacy's CLI to check it 3. It will find any issues in real time 4. Your coding agent will fix the issues 5. When the code passes all checks, you are done Level of effort on your side: literally zero! Code quality and security because of this: 100x better! Here is the link to download the extension for your IDE: Thanks to the Codacy team for collaborating with me on this post.

Santiago

48,469 Aufrufe • vor 7 Monaten