mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-08 14:43:54 -05:00
8bd26159a77b8b665bae70eb51e969d5f6d8e658
Sim Studio
Sim Studio is a powerful, user-friendly platform for building, testing, and optimizing agentic workflows.
Run
- Run on our cloud-hosted version
- Self-host
How to Self-Host
Fork this repository by clicking the "Fork" button at the top right of this page.
Note: Ensure you have VS Code or another editor, git, npm, and Docker (if you're not setting up manually) installed on your system.
There are several ways to self-host Sim Studio:
Option 1: Docker Environment (Recommended)
# Clone the repository
git clone https://github.com/YOUR_USERNAME/sim.git
cd sim
# Create environment file
cp .env.example .env
# Start the Docker environment
docker compose up -d
# Or use the helper script
./scripts/start_simstudio_docker.sh
After running these commands:
-
Access the Application:
- Open http://localhost:3000/w/ in your browser
- The
/w/path is where the main workspace interface is located
-
Useful Docker Commands:
# View application logs docker compose logs -f simstudio # Access PostgreSQL database docker compose exec db psql -U postgres -d simstudio # Stop the environment docker compose down # Rebuild and restart (after code changes) docker compose up -d --build
Option 2: Dev Containers
- Open VS Code or your favorite VS Code fork (Cursor, Windsurf, etc.)
- Install the Remote - Containers extension
- Open the project in your editor
- Click "Reopen in Container" when prompted
- Run
npm run devin the terminal
Option 3: Manual Setup
- Install Dependencies
# Clone the repository
git clone https://github.com/YOUR_USERNAME/sim.git
cd sim
# Install dependencies
npm install
- Set Up Environment
# Copy .env.example to .env
cp .env.example .env
# Configure your .env file with:
# - Database connection (PostgreSQL)
# - Authentication settings
- Set Up Database
# Push the database schema
npx drizzle-kit push
- Start Development Server
# Start the development server
npm run dev
- Open http://localhost:3000 in your browser
Tech Stack
- Framework: Next.js (App Router)
- Database: PostgreSQL with Drizzle ORM
- Authentication: Better Auth with GitHub OAuth
- UI: Shadcn, Tailwind CSS
- State Management: Zustand
- Flow Editor: ReactFlow
Contributing
We welcome contributions! Please see our Contributing Guide for details.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the Sim Studio Team
Description
Languages
TypeScript
69.4%
MDX
30.1%
Python
0.2%
CSS
0.1%