Sim Studio

What is Sim Studio?

Sim Studio is an open source platform to build and run AI agent workflows. You connect blocks for LLMs, tools, and integrations on a visual canvas. Then you run the workflows manually, on a schedule, by webhook, or through an API.

Services in the template

ServicePurpose
simstudioMain web app (port 3000)
realtimeSocket.IO server for live collaboration (port 3002)
gatewayCaddy proxy: sends /socket.io to realtime and all other traffic to simstudio
migrationsRuns the database migrations once, then stops
cronRuns scheduled workflows, polling triggers, and other background jobs
dbPostgreSQL 17 with pgvector
redisRate limits, pub/sub, and caches

Coolify generates all secrets (BETTER_AUTH_SECRET, ENCRYPTION_KEY, INTERNAL_API_SECRET, CRON_SECRET) and the database credentials.

Keep the encryption key

Do not change ENCRYPTION_KEY after the first deployment. Sim Studio uses it to encrypt stored credentials. If you change it, the app cannot read the old credentials.

Requirements

The simstudio container has a memory limit of 8 GB. Use a server with at least 12 GB of RAM.

Optional environment variables

VariableDescription
OLLAMA_URLURL of an Ollama server for local models
COPILOT_API_KEYAPI key for the Sim Copilot
TRUSTED_ORIGINSMore public origins to trust for auth, comma-separated
API_ENCRYPTION_KEYSeparate key to encrypt API keys (64 hex characters)

On this page