Emir Karabeg 76dbc4a52f Feat/db sync (#94)
* feat(db-sync): added general sync file and implemented environment sync

* improvement(workflows-store): structured workflows store system better and added getter for values across stores

* fix(stores): deleted workflows/types since unused

* improvement(db-sync): added workflow event syncs and debounce

* improvement(db-sync): clean and upgraded db-sync system; environment sync implemented

* improvement(db-sync): added batch sync with registry; init bug needs fixing

* improvement(db-sync): finalized sync system and implemented for workflow

* fix(db-sync): fixed client-side rendering

* improvement(db-sync): created backwards sync system; environment implemented

* improvement(db-sync): added colors to db

* fix(db-sync): color sync with db

* improvement(db-sync): added workflow backwards sync; fixing color bug and race condition

* fix(db-stores): color sync

* feature(db-sync): db-sync complete; need to sync history

* improvement(db-sync): added scheduling

* fix(db-sync): environment sync to db
2025-03-03 19:43:39 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 14:00:32 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 19:43:39 -08:00
2025-02-26 02:09:56 -08:00
2025-03-02 14:15:17 -08:00
2025-02-16 18:39:59 -08:00
2025-02-17 14:57:35 -08:00
2025-02-26 02:09:56 -08:00
2025-02-26 02:09:56 -08:00
2025-02-15 12:53:30 -08:00
2025-03-03 19:43:39 -08:00
2025-03-03 14:00:32 -08:00

Sim Studio

Twitter License: MIT

Sim Studio is a powerful, user-friendly platform that allows developers and agents to build, test, and optimize agentic workflows.

Run

  1. Self-host
  2. Join the Waitlist for the cloud-hosted beta

Quick Start

The quickest way to get Sim Studio running locally:

  1. Clone the repository
git clone https://github.com/simstudioai/sim.git
cd sim
  1. Start with Docker
docker compose up -d

Or use the convenience script for automatic setup:

chmod +x start_simstudio_docker.sh
./start_simstudio_docker.sh

This will start Sim Studio at http://localhost:3000 with a local PostgreSQL database.

  1. [Optional] Configure Your Environment

In .env, configure Authentication secrets (required for login functionality) and optionally a Resend API key (for authentication emails).

Development Options

The quickest way to get started with development:

docker compose up -d

Or use the convenience script for automatic setup:

chmod +x start_simstudio_docker.sh
./start_simstudio_docker.sh

Option 2: VS Code / Cursor Dev Containers

For a great development experience with VS Code or Cursor:

  1. Install Prerequisites

    • Visual Studio Code
    • Docker Desktop
    • Remote - Containers extension for VS Code
  2. Open in Container

    • Open the project in VS Code
    • When prompted, click "Reopen in Container" (or use F1 → "Remote-Containers: Reopen in Container")
    • Wait for the container to build and initialize
  3. Start Developing

    • The container automatically sets up your environment
    • Type sim-start in the terminal to run the development server

This method works with GitHub Codespaces too - just click "Code" → "Codespaces" → "Create codespace on main".

Option 3: Manual Setup

If you prefer not to use Docker:

  1. Install dependencies
npm install
  1. Set up environment variables

Copy .env.example to .env and configure:

  • Database connection (PostgreSQL)
  • Authentication secret
  • Email provider (Resend)
  1. Set up the database
# Push the database schema
npx drizzle-kit push
  1. Start the development server
npm run dev
  1. Open http://localhost:3000

Tech Stack

Contributing

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

License

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

Made with ❤️ by the Sim Studio Team

Languages
TypeScript 77%
MDX 20.8%
JavaScript 1.9%
CSS 0.1%