selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

Sim logo

Self-host Sim

v0.9.47

Visual workspace for building and deploying AI agents

ReleaseOpen SourceApache-2.0
Updated22 hours ago
LanguageTypescript
Setup difficultyModerate
Stars
30 070
Ports
3000 (Main application (simstudio service; compose maps 3000:3000)), 3002 (Realtime WebSocket server (realtime service; compose maps 3002:3002))
Docker
ghcr.io/simstudioai/simstudio
Install with Docker Compose
Sim screenshot 1Sim screenshot 2Sim screenshot 3Sim screenshot 4

What is Sim?

Should you self-host Sim?

Sim scores 78/100 on selfhost.directory (how scoring works) and ranks #14 of 209 in AI Agents. It has 30 070 GitHub stars, +302 in the last 30 days.

It shipped 179 stable releases in the past year. The latest, v0.9.47, came out on 7 November 2026. New versions land roughly every 1 days.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is Huginn (81/100, 50 367 stars). It scores higher overall, so compare the two before you pick. See Sim vs Huginn side by side.

Features

  • Audit LoggingFlag AUDIT_LOGS_ENABLED.
  • Built-in tables
  • CLI
  • Knowledge bases
  • Local LLM Support
  • macOS desktop appmacOS 12+, Apple Silicon and Intel.
  • Permission groupsFlag ACCESS_CONTROL_ENABLED (with NEXT_PUBLIC_ twin).
  • REST API
  • Run logs and tracing
  • Scheduled workflowsNeeds CRON_SECRET set.
  • Shared file storage
  • Single sign-on (SAML/OIDC)In self-hosted installs these features need no subscription; they are switched on with ENTERPRISE_ENABLED or the per-feature flag plus its NEXT_PUBLIC_ twin.
  • Visual Workflow Builder

Sim README

How to install Sim

Install Sim with Docker Compose

Environment variables
SIM_VERSION, POSTGRES_PASSWORD, POSTGRES_USER, POSTGRES_DB, BETTER_AUTH_SECRET, ENCRYPTION_KEY, INTERNAL_API_SECRET, CRON_SECRET, NEXT_PUBLIC_APP_URL
docker compose -f docker-compose.prod.yml up -d

Six services start: simstudio, realtime, db (PostgreSQL 17 with pgvector), redis, cron and a one-shot migrations job. Put it behind TLS with a reverse proxy that routes /socket.io to the realtime service on 3002.

How to configure Sim

  • DATABASE_URLDatabase (Required)
  • BETTER_AUTH_SECRETAuthentication (Required unless DISABLE_AUTH=true)
  • ENCRYPTION_KEYSecurity (Required)
  • INTERNAL_API_SECRET
  • NEXT_PUBLIC_APP_URLhttp://localhost:3000NextJS (Required)

Sim releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

FAQ

Can I customize the PostgreSQL credentials?

Yes, set POSTGRES_USER and POSTGRES_DB in .env before first start; POSTGRES_PASSWORD is mandatory, and Postgres only applies these when it creates the volume.

Why is there a Redis container?

Redis provides pub/sub for live Chat task status and table events plus shared caches; its port is intentionally not published so it cannot clash with a local Redis.

Do scheduled workflows work on Docker Compose?

Yes — the cron service in the stack runs the same jobs the Helm chart schedules as Kubernetes CronJobs, using docker/crontab, but it needs CRON_SECRET set or it exits while the rest of the stack keeps running.

More in AI Agents

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…