2025-05-08 08:08:05 -07:00
2025-05-08 08:08:05 -07:00
2025-03-14 18:09:10 -07:00
2025-03-18 16:05:30 -07:00
2025-04-01 12:10:58 -07:00
2025-05-07 22:40:09 -07:00

Sim Studio Logo

License: Apache-2.0 Discord Twitter PRs welcome Documentation

Sim Studio is a lightweight, user-friendly platform for building AI agent workflows.

Getting Started

Run on Sim Studio Cloud

The fastest way to get started is to use our cloud-hosted version - no setup required!

Self-host Sim Studio

If you prefer to self-host, there are several options available:

The easiest way to self-host:

npx simstudio
# This will set up and run Sim Studio locally with minimal configuration

Option 2: Using Docker Compose

# Clone the repository
git clone https://github.com/simstudioai/sim.git
cd sim

# Create environment file (update BETTER_AUTH_SECRET and ENCRYPTION_KEY with secure random values)
cp sim/.env.example sim/.env

# Start with Docker Compose
docker compose up -d --build

Once running, access the application at http://localhost:3000/w/

Working with Local Models

Sim Studio supports integration with local LLM models:

# Pull local models
./sim/scripts/ollama_docker.sh pull <model_name>

# Start with local model support
./start_simstudio_docker.sh --local

# For systems with NVIDIA GPU
docker compose up --profile local-gpu -d --build

# For CPU-only systems
docker compose up --profile local-cpu -d --build

Connecting to Existing Ollama Instance

If you already have Ollama running locally:

# Using host networking (simplest)
docker compose up --profile local-cpu -d --build --network=host

Or add this to your docker-compose.yml:

services:
  simstudio:
    # ... existing configuration ...
    extra_hosts:
      - "host.docker.internal:host-gateway"
    environment:
      - OLLAMA_HOST=http://host.docker.internal:11434

Development Setup

Prerequisites

  • Node.js 20+
  • Docker (recommended)
  • PostgreSQL (if not using Docker)

Required Environment Variables

For local development, create a .env file with these minimum variables:

DATABASE_URL=postgresql://postgres:postgres@db:5432/simstudio
BETTER_AUTH_SECRET=<generate_a_secure_random_value>
ENCRYPTION_KEY=<generate_a_secure_random_value>

⚠️ Note: Without RESEND_API_KEY, verification codes will be logged to the console for local testing.

Dev Container Option

  1. Open in VS Code with the Remote-Containers extension
  2. Click "Reopen in Container" when prompted
  3. Run npm run dev or use the sim-start alias

Manual Setup

cd sim/sim
npm install
cp .env.example .env
npx drizzle-kit push
npm run dev

Troubleshooting

Common issues and solutions:

  • Authentication problems: Check console logs for verification codes if RESEND_API_KEY is not set
  • Database connection errors: Verify PostgreSQL is running and credentials are correct
  • Port conflicts: Check if port 3000 is already in use by another application

Tech Stack

Contributing

We welcome contributions! Please see our Contributing Guide for details.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Made with ❤️ by the Sim Studio Team

Description
No description provided
Readme Apache-2.0 597 MiB
Languages
TypeScript 71.8%
MDX 27.7%
CSS 0.2%
Python 0.1%