simstudioai/sim

Sim is the collaborative workspace to build, deploy, and monitor AI agents and workflows. Used by 100,000+ builders.

Sim – Workspace for Building, Deploying, and Managing AI Agents

What it is

Sim is an open‑source platform that lets you create, run, and monitor AI agents and their workflows. It provides a web UI (and a macOS desktop client) where you can:

  • Connect to dozens of integrations (Slack, Notion, Salesforce, databases, etc.) and any major LLM.
  • Build agents visually with a flow‑editor, via chat, or by writing code.
  • Store structured data (tables), files, and knowledge bases that agents can query.
  • Watch runs, logs, schedules, and overall workflow activity.

In short, Sim aims to be a single “workspace” for every surface of an AI‑driven product.


Quick start options

Mode How to start
Cloud‑hosted Visit https://sim.ai – the service is run by the Sim team.
Self‑hosted Run npx sim-setup (or bun run sim-setup from a cloned repo). This wizard creates a sim/ directory, generates secrets, provisions PostgreSQL, and launches Docker‑Compose services.
Desktop (macOS) Download the native client from https://sim.ai/api/desktop/update/download. It can point at a self‑hosted deployment.

Core capabilities

  • 270+ integrations (5,400+ actions, 520+ triggers) and support for every major LLM.
  • Visual workflow builder powered by ReactFlow.
  • Chat‑first agent creation – you can design agents by conversing with the UI.
  • Data stores: built‑in tables (SQL‑like), file storage, and searchable knowledge bases.
  • Monitoring: real‑time logs, run history, schedules, and health dashboards.
  • Extensible execution: background jobs via Trigger.dev, remote code execution via E2B, and sandboxed VM execution.

Self‑hosting details

  • Prerequisites: Node.js 20+, Docker.
  • Installation: npx sim-setup walks you through:
    1. Creating a deployment folder.
    2. Generating secrets (BETTER_AUTH_SECRET, ENCRYPTION_KEY, etc.).
    3. Writing a .env file.
    4. Connecting a Chat API key.
    5. Starting the stack with Docker Compose.
  • Management commands (run inside the deployment folder):
    npx sim-setup start | stop | restart
    npx sim-setup update      # pull latest images
    npx sim-setup status      # health check
    npx sim-setup logs        # tail logs
    npx sim-setup doctor      # diagnose config problems
    npx sim-setup reset       # wipe data (keeps .env archived)
    
  • Optional features can be added without re‑running the full wizard, e.g. npx sim-setup add slack, add storage, add knowledge, etc.
  • Local LLM support: you can plug in Ollama or vLLM containers for on‑premise models.

Tech stack (at a glance)

Layer Technology
Front‑end Next.js (App Router), Tailwind CSS, Shadcn UI, ReactFlow
Runtime Bun
Database PostgreSQL + Drizzle ORM
Auth Better Auth
State Zustand, TanStack Query
Docs Fumadocs
Monorepo tooling Turborepo
Real‑time Socket.io
Background jobs Trigger.dev
Remote code exec E2B
Sandboxed exec isolated‑vm

Who’s behind it?

Sim is developed by a team in San Francisco (see the banner in the README). The project is Apache‑2.0 licensed and welcomes community contributions via the standard GitHub workflow.


When to use Sim?

  • You need a single UI to manage agents, data, and integrations.
  • You prefer self‑hosting for data privacy or cost control.
  • You want to mix low‑code (visual flow) and code‑first approaches.
  • You plan to run custom LLMs locally (Ollama/vLLM) alongside hosted ones.

If you only need a tiny script or a single‑LLM wrapper, Sim is probably overkill; it shines for multi‑agent, multi‑integration products.


Where to learn more?


All information above is taken directly from the repository’s README; no external speculation is added.

Related

  • Project
  • Project
  • Project
  • Project
  • Project