Sinatra Docs
Self-hosting

1. Check out Sinatra OSS

Clone the repo and install dependencies.

git clone https://github.com/sinatra-dev/sinatra.git
cd sinatra
pnpm install
pnpm typecheck

pnpm typecheck runs tsc --build across all workspace packages and confirms the install is healthy. It should finish without errors.

What's in the repo

PathWhat it is
packages/apiFastify webhook + OAuth receiver.
packages/workerTemporal worker hosting the agent workflow + activities.
packages/sharedPrisma schema, OAuth, sandbox abstraction, agent engines, KMS.
packages/websiteMarketing site (separate concern from the product).
packages/docsThis documentation site.
docker-compose.dev.ymlLocal stack: Postgres + Temporal dev server.
docs/Internal contributor docs (architecture, debugging, workflow state).

You won't need to edit anything in the package code to set up self-host. Configuration is entirely env-driven and (per-tenant) database-driven.

Next

Two ways to proceed — both produce the same end state:

  • Sequential: do the GitHub App, then Linear App, then sandbox, then LLM keys.
  • In parallel: open four browser tabs and do them concurrently. Steps 2–5 don't depend on each other.

We'll walk through them in order. Continue to Create the GitHub App →