This document provides a high-level introduction to Sim Studio, an AI agent workflow platform for building and deploying automated agentic workforces. It covers the system's purpose, core capabilities, architectural patterns, and technology stack.
Sim Studio is an open-source platform designed to visually orchestrate AI agents, tools, and LLMs. Users build workflows by connecting "blocks" (logic units) into directed acyclic graphs (DAGs) on a visual canvas README.md24-29 These workflows can be executed instantly, deployed as APIs, or triggered via webhooks and schedules README.md11-18
The system is architected as a Next.js 16 monorepo using the Bun runtime for high-performance execution package.json3-10 apps/sim/package.json6-9
The platform features a ReactFlow-based canvas apps/sim/package.json168 that allows for drag-and-drop workflow construction. It supports real-time collaborative editing powered by a dedicated Socket.io server apps/sim/package.json179
Sim Studio integrates with 30+ AI providers, including OpenAI, Anthropic, Google Gemini, and local providers like Ollama apps/sim/package.json38-172 The Agent Block allows these models to use 200+ built-in tools to perform complex tasks README.md24-25
An integrated Copilot allows users to generate nodes, fix workflow errors, and iterate on designs using natural language README.md31-36
The platform supports document uploads (PDF, DOCX, XLSX) to a vector store, enabling agents to perform RAG (Retrieval-Augmented Generation) using PostgreSQL with pgvector README.md38-43 docker-compose.prod.yml119
The following diagram illustrates the high-level relationship between the user interface, the application logic, and the infrastructure components.
Sim Studio Architecture Map
Sources: docker-compose.prod.yml1-134 apps/sim/package.json128-193 README.md11-18
Sim Studio leverages a modern, type-safe stack designed for scale and developer velocity.
| Layer | Technology | Key Package/Version |
|---|---|---|
| Runtime | Bun | ^1.2.13 apps/sim/package.json7 |
| Framework | Next.js | 16.1.6 apps/sim/package.json145 |
| Frontend | React | 19.2.4 apps/sim/package.json161 |
| Database | PostgreSQL | pg17 with pgvector docker-compose.prod.yml119 |
| ORM | Drizzle | ^0.44.5 apps/sim/package.json112 |
| Auth | Better Auth | 1.3.12 apps/sim/package.json96 |
| Real-time | Socket.io | ^4.8.1 apps/sim/package.json179 |
| State | Zustand | ^4.5.7 apps/sim/package.json193 |
For a comprehensive breakdown, see Technology Stack.
The project is organized as a Turborepo monorepo package.json12-13 separating the core application from shared libraries.
Code Entity Space Bridge
Sources: package.json7-10 apps/sim/package.json88-197 apps/docs/package.json18 apps/sim/next.config.ts142
Sim Studio implements enterprise-grade security patterns:
next.config.ts to prevent XSS and unauthorized data exfiltration apps/sim/next.config.ts4-9isolated-vm) to prevent SSRF and unauthorized system access apps/sim/next.config.ts90ENCRYPTION_KEY and API_ENCRYPTION_KEY docker-compose.prod.yml17-18Sources: apps/sim/next.config.ts11-220 docker-compose.prod.yml11-25
Refresh this wiki
This wiki was recently refreshed. Please wait 6 days to refresh again.