Vibe Coding Guide
Build AI Agents in 60 Seconds with Cursor
From Idea to Working Agent in 3 Steps
Just drag our docs into Cursor AI and describe what you want. The AI handles everything else.
1. Drag
Our docs file
2. Describe
Your agent idea
3. Run
Your new agent
Getting Started
2 Simple MethodsMethod 1: Local Files
- 1
Run Setup
co init - 2
Open Cursor AI
In your project folder
- 3
Drag File to Chat
.co/docs/co-vibecoding-*.md - 4
Ask Cursor
"Create an agent for..."
Method 2: Copy from Web
- 1
Visit Docs
docs.connectonion.com - 2
Click Purple Button
"Copy All Docs"
- 3
Open Cursor Chat
CMD+L or CTRL+L
- 4
Paste & Ask
Describe your agent
Live Example
See it in actionYou ask Cursor:
"Using ConnectOnion docs, create a calculator agent"
Cursor automatically generates:
from connectonion import Agent
def add(a: float, b: float) -> float:
"""Add two numbers."""
return a + b
def multiply(a: float, b: float) -> float:
"""Multiply two numbers."""
return a * b
# Create agent
calculator = Agent(
"calculator",
tools=[add, multiply],
instructions="You are a helpful calculator"
)
# Use it
result = calculator.input("What is 5 plus 3?")
print(result) # Output: "5 plus 3 equals 8"The Magic Happens
Your agent automatically:
"plus" → add()
Automatically selects functions
Speaks human, not code
Prompt Templates
Copy and customize these prompts for Cursor:
Basic Agent
Perfect for getting started
"Using ConnectOnion docs, create a calculator agent"Web Scraper
Extract data from websites
"Using ConnectOnion docs, create an agent that can scrape product prices from e-commerce sites"Email Assistant
Send automated emails
"Using ConnectOnion docs, create an agent that sends email notifications when certain conditions are met"Custom Idea
Describe your own agent
"Using ConnectOnion docs, create an agent that [describe what you want your agent to do]"Why This Works So Well
Complete Context
Our docs contain everything Cursor needs:
- Full API documentation
- Working examples
- Best practices
AI Understanding
Cursor's AI can:
- Generate complete code
- Handle complex logic
- Fix errors automatically
Step-by-Step Setup
Install ConnectOnion
Takes about 10 seconds
Initialize Project
Creates .co/docs/ folder with all documentation
Drag Documentation
Drag .co/docs/co-vibecoding-*.md into Cursor chat
This gives Cursor all the context it needs
Describe Your Agent
Tell Cursor what kind of agent you want to create
"Create an agent that..."
Run Your Agent!
Congratulations! Your agent is live!
Ready to Build Your First Agent?
Join thousands of developers creating AI agents without writing complex code.
