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 typecheckpnpm typecheck runs tsc --build across all workspace packages and confirms the install is healthy. It should finish without errors.
What's in the repo
| Path | What it is |
|---|---|
packages/api | Fastify webhook + OAuth receiver. |
packages/worker | Temporal worker hosting the agent workflow + activities. |
packages/shared | Prisma schema, OAuth, sandbox abstraction, agent engines, KMS. |
packages/website | Marketing site (separate concern from the product). |
packages/docs | This documentation site. |
docker-compose.dev.yml | Local 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 →