ConnectOnionConnectOnion

Vibe Coding Guide

Build AI Agents in 60 Seconds with Cursor

Get Cursor
No Coding Experience Required

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 Methods

Method 1: Local Files

Recommended
  1. 1

    Run Setup

    co init
  2. 2

    Open Cursor AI

    In your project folder

  3. 3

    Drag File to Chat

    .co/docs/co-vibecoding-*.md
  4. 4

    Ask Cursor

    "Create an agent for..."

Method 2: Copy from Web

Quick
  1. 1
  2. 2

    Click Purple Button

    "Copy All Docs"

  3. 3

    Open Cursor Chat

    CMD+L or CTRL+L

  4. 4

    Paste & Ask

    Describe your agent

Live Example

See it in action

You 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:

Understands Context

"plus" → add()

Picks Right Tool

Automatically selects functions

Natural Responses

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

1

Install ConnectOnion

$ pip install connectonion

Takes about 10 seconds

2

Initialize Project

$ co init

Creates .co/docs/ folder with all documentation

3

Open Cursor AI

Open Cursor in your project folder

Don't have Cursor? Download free

4

Drag Documentation

Drag .co/docs/co-vibecoding-*.md into Cursor chat

This gives Cursor all the context it needs

5

Describe Your Agent

Tell Cursor what kind of agent you want to create

"Create an agent that..."

6

Run Your Agent!

$ python agent.py

Congratulations! Your agent is live!

Ready to Build Your First Agent?

Join thousands of developers creating AI agents without writing complex code.

Download Cursor