Open-source AI agent for real-world task automation
Top 2.7% on sourcepulse
Suna is an open-source generalist AI agent designed to act on behalf of users to accomplish real-world tasks through natural conversation. It targets users needing automated workflows for research, data analysis, and complex problem-solving, offering a unified interface for diverse capabilities.
How It Works
Suna employs a modular architecture comprising a Python/FastAPI backend for API endpoints and LLM integration (via LiteLLM), a Next.js/React frontend for the user interface, isolated Docker containers for agent execution with sandboxed tools, and Supabase for data persistence, authentication, and real-time features. This design allows for secure, isolated execution of agent tasks, including browser automation, file management, and command-line operations, while leveraging a robust backend and database for scalability and user management.
Quick Start & Requirements
backend/.env
) and frontend (frontend/.env.local
) environment files with Supabase, Redis, Daytona, and LLM API keys. Install dependencies (npm install
in frontend, pip install -r requirements.txt
in backend).npm run dev
in frontend
) and backend (python api.py
in backend
) in separate terminals. Alternatively, use docker compose -f docker-compose.ghcr.yaml up
after configuring environment variables.Highlighted Details
Maintenance & Community
Licensing & Compatibility
Limitations & Caveats
The setup requires multiple external services (Supabase, Redis, Daytona) and API keys, which may incur costs. LLM integration requires specific prompt adjustments for non-Anthropic providers to ensure correct tool call output.
1 day ago
1 week