Skip to content

Commit 48b7c3e

Browse files
authored
Merge pull request #1255 from kortix-ai/landing-wip
Landing wip
2 parents 3a9d8e2 + 4351a36 commit 48b7c3e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2179
-1185
lines changed

.cursor/rules/suna-project.mdc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
alwaysApply: true
33
---
44

5-
# Suna AI Agent Project - Cursor Rules
5+
# Suna AI Worker Project - Cursor Rules
66

77
## Project Overview
88

9-
Suna is an open-source generalist AI agent with a full-stack architecture:
9+
Suna is an open-source generalist AI Worker with a full-stack architecture:
1010

1111
- **Frontend**: Next.js 15+ with TypeScript, Tailwind CSS, Radix UI, React Query
1212
- **Backend**: Python 3.11+ with FastAPI, Supabase, Redis, LiteLLM, Dramatiq
@@ -37,7 +37,7 @@ project/
3737
│ ├── providers/ # Context providers
3838
│ └── contexts/ # React contexts
3939
├── backend/ # Python FastAPI backend
40-
│ ├── agent/ # AI agent core implementation
40+
│ ├── agent/ # AI Worker core implementation
4141
│ ├── services/ # Business logic services
4242
│ ├── utils/ # Shared utilities
4343
│ ├── supabase/ # Database migrations & config

README.md

Lines changed: 152 additions & 102 deletions
Large diffs are not rendered by default.

backend/agent/agent_builder_prompt.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import datetime
22

3-
AGENT_BUILDER_SYSTEM_PROMPT = f"""You are an AI Agent Builder Assistant developed by team Suna - think of yourself as a friendly, knowledgeable guide who's genuinely excited to help users create amazing AI agents! 🚀
3+
AGENT_BUILDER_SYSTEM_PROMPT = f"""You are an AI Worker Builder Assistant developed by team Suna - think of yourself as a friendly, knowledgeable guide who's genuinely excited to help users create amazing AI Workers! 🚀
44
5-
Your mission is to transform ideas into powerful, working AI agents that genuinely make people's lives easier and more productive.
5+
Your mission is to transform ideas into powerful, working AI Workers that genuinely make people's lives easier and more productive.
66
77
## SYSTEM INFORMATION
88
- BASE ENVIRONMENT: Python 3.11 with Debian Linux (slim)

backend/agent/gemini_prompt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime
22

33
SYSTEM_PROMPT = f"""
4-
You are Suna.so, an autonomous AI Agent created by the Kortix team.
4+
You are Suna.so, an autonomous AI Worker created by the Kortix team.
55
66
# 1. CORE IDENTITY & CAPABILITIES
77
You are a full-spectrum autonomous agent capable of executing complex tasks across domains including information gathering, content creation, software development, data analysis, and problem-solving. You have access to a Linux environment with internet connectivity, file system operations, terminal commands, web browsing, and programming runtimes.

backend/agent/prompt.py

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import datetime
22

33
SYSTEM_PROMPT = f"""
4-
You are Suna.so, an autonomous AI Agent created by the Kortix team.
4+
You are Suna.so, an autonomous AI Worker created by the Kortix team.
55
66
# 1. CORE IDENTITY & CAPABILITIES
77
You are a full-spectrum autonomous agent capable of executing complex tasks across domains including information gathering, content creation, software development, data analysis, and problem-solving. You have access to a Linux environment with internet connectivity, file system operations, terminal commands, web browsing, and programming runtimes.
@@ -571,6 +571,36 @@
571571
✅ Only stop if there's an actual error that blocks progress
572572
✅ Complete the entire workflow then signal completion
573573
574+
**🔴 CRITICAL WORKFLOW EXECUTION RULES - NO INTERRUPTIONS 🔴**
575+
**WORKFLOWS MUST RUN TO COMPLETION WITHOUT STOPPING!**
576+
577+
When executing a workflow (a pre-defined sequence of steps):
578+
1. **CONTINUOUS EXECUTION:** Once a workflow starts, it MUST run all steps to completion
579+
2. **NO CONFIRMATION REQUESTS:** NEVER ask "should I proceed?" or "do you want me to continue?" during workflow execution
580+
3. **NO PERMISSION SEEKING:** Do not seek permission between workflow steps - the user already approved by starting the workflow
581+
4. **AUTOMATIC PROGRESSION:** Move from one step to the next automatically without pause
582+
5. **COMPLETE ALL STEPS:** Execute every step in the workflow sequence until fully complete
583+
6. **ONLY STOP FOR ERRORS:** Only pause if there's an actual error or missing required data
584+
7. **NO INTERMEDIATE ASKS:** Do not use the 'ask' tool between workflow steps unless there's a critical error
585+
586+
**WORKFLOW VS CLARIFICATION - KNOW THE DIFFERENCE:**
587+
- **During Workflow Execution:** NO stopping, NO asking for permission, CONTINUOUS execution
588+
- **During Initial Planning:** ASK clarifying questions BEFORE starting the workflow
589+
- **When Errors Occur:** ONLY ask if there's a blocking error that prevents continuation
590+
- **After Workflow Completion:** Use 'complete' or 'ask' to signal workflow has finished
591+
592+
**EXAMPLES OF WHAT NOT TO DO DURING WORKFLOWS:**
593+
❌ "I've completed step 1. Should I proceed to step 2?"
594+
❌ "The first task is done. Do you want me to continue?"
595+
❌ "I'm about to start the next step. Is that okay?"
596+
❌ "Step 2 is complete. Shall I move to step 3?"
597+
598+
**EXAMPLES OF CORRECT WORKFLOW EXECUTION:**
599+
✅ Execute Step 1 → Mark complete → Execute Step 2 → Mark complete → Continue until all done
600+
✅ Run through all workflow steps automatically without interruption
601+
✅ Only stop if there's an actual error that blocks progress
602+
✅ Complete the entire workflow then signal completion
603+
574604
**TASK CREATION RULES:**
575605
1. Create multiple sections in lifecycle order: Research & Setup → Planning → Implementation → Testing → Verification → Completion
576606
2. Each section contains specific, actionable subtasks based on complexity

backend/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[project]
22
name = "suna"
33
version = "1.0"
4-
description = "open source generalist AI Agent"
4+
description = "open source generalist AI Worker"
55
authors = [{ name = "marko-kraemer", email = "[email protected]" }]
66
readme = "README.md"
77
license = { text = "Apache-2.0" }

backend/supabase/email-template.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ <h1 style="font-size: 28px; font-weight: 500; color: #111827; margin-top: 0; mar
2525
</h1>
2626

2727
<p style="font-size: 16px; line-height: 24px; color: #6b7280; margin-bottom: 32px; text-align: center;">
28-
Thank you for signing up! Suna, your AI Employee, is ready to assist you. Please confirm your email to get started.
28+
Thank you for signing up! Suna, your AI Worker, is ready to assist you. Please confirm your email to get started.
2929
</p>
3030

3131
<div style="text-align: center; margin-bottom: 32px;">
@@ -65,7 +65,7 @@ <h1 style="font-size: 28px; font-weight: 500; color: #111827; margin-top: 0; mar
6565
<tr>
6666
<td style="padding: 20px 30px; text-align: center;">
6767
<p style="font-size: 12px; color: #9ca3af; margin: 0;">
68-
Kortix AI — <span style="color: #155dfc;">Suna</span>, your AI Employee
68+
Kortix AI — <span style="color: #155dfc;">Suna</span>, your AI Worker
6969
</p>
7070
</td>
7171
</tr>

docs/SELF-HOSTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Suna Self-Hosting Guide
22

3-
This guide provides detailed instructions for setting up and hosting your own instance of Suna, an open-source generalist AI agent.
3+
This guide provides detailed instructions for setting up and hosting your own instance of Suna, an open-source generalist AI Worker.
44

55
## Table of Contents
66

docs/images/architecture_diagram.svg

Lines changed: 0 additions & 4 deletions
This file was deleted.

frontend/.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
NEXT_PUBLIC_ENV_MODE="LOCAL" #production, or staging
1+
NEXT_PUBLIC_ENV_MODE="local" #production, or staging
22
NEXT_PUBLIC_SUPABASE_URL=""
33
NEXT_PUBLIC_SUPABASE_ANON_KEY=""
44
NEXT_PUBLIC_BACKEND_URL="http://localhost:8000/api"

0 commit comments

Comments
 (0)