ConnectOnionConnectOnion

AI agents shouldn't need 500 lines of boilerplate

v0.1.2 Production Ready

ConnectOnion

The simplest AI agent framework

Ship in 5 minutes, not 5 days

Terminal
$pip install connectonion
ConnectOnion Philosophy

Keep simple things simple

Make complicated things possible

How It Works

It's just this simple:

Agent =Markdown + Functions
Markdown
your prompt
+
Functions
your tools
=
Agent
AI assistant

Complete Example

This is all the code you need:

main.py
1from connectonion import Agent 2 3# 1. Write your prompt 4prompt = "You are a helpful assistant" 5 6# 2. Define your function 7def calculate(expression: str) -> str: 8 return str(eval(expression)) 9 10# 3. Create agent 11agent = Agent(prompt, tools=[calculate]) 12 13# That's it! Use it: 14result = agent.input("What's 42 * 17?") 15print(result) # "42 * 17 equals 714"
Python REPL
Interactive
42 * 17 equals 714

See the Difference

Same AI agent, different approach

1from connectonion import Agent
2
3def calculate(expression: str) -> str:
4    return str(eval(expression))
5
6agent = Agent("You are a helpful assistant", 
7              tools=[calculate])
8
9result = agent.input("What's 42 * 17?")
10print(result)

Same result, 85% less code

No boilerplate. No complexity. Just agents.

AI-Powered Development

Vibe Coding Now

Copy our docs once. Your AI assistant writes perfect ConnectOnion code forever.

Claude Code
Cursor
GitHub Copilot
ChatGPT

One click • Full context • Start immediately

1

Copy Documentation

Click the button above

2

Paste to Your AI

Any AI coding assistant

3

Start Building

AI writes perfect code

Direct access to the authors on Discord • Shape the framework with us

Start Simple, Ship Production-Ready

Zero setup complexity, full production capabilities

Zero Setup

Functions become tools instantly

Debug Mode

@xray shows everything

Auto History

Every interaction saved

Professional CLI

$ co init
✓ Project ready in 5 seconds
  • Project templates
  • Environment management
  • Best practices built-in

@xray Debugging

@xray
def process(data):
See everything
  • Real-time insights
  • Iteration tracking
  • Performance metrics

Ready to Start?

Build your first agent today

Terminal
$pip install connectonion