Sinatra Docs
Getting started

Concepts

Glossary of the terms you'll see across the docs and the codebase.

A short glossary for the terms used in the dashboard and these docs.

Workspace

A workspace is the unit of isolation and billing: each plan is one flat price for a workspace, however many people are in it. It connects at most one GitHub organization or personal account and, optionally, one Linear organization and one Slack workspace. Telegram needs no connection: it's on in every workspace until an owner or admin turns it off. A workspace made without GitHub can connect it later. It holds memberships, shared API keys, personal model connections, and billing settings. Workspace-scoped data access and sandbox ownership checks isolate each customer's tasks and credentials.

Roles

Each workspace member has one role:

  • Owner: full control. Manages members, invites, access requests, billing, and ownership transfer. Every workspace has exactly one owner.
  • Admin: changes operational settings such as connected repos, model credentials, and agent preferences. Cannot manage access or billing.
  • Member: views the workspace and its tasks, links personal identities and model subscriptions, and changes their own repository agent preferences. Cannot change shared settings.

See Workspaces and access for invitations and joining. Adding members doesn't change the price; see Billing.

Task

A task is a conversation with Sinatra about a piece of work, usually one Linear or GitHub issue, a Slack thread, a Telegram topic, or a request you started from the CLI, an MCP client or the API. You ask, the agent works, you reply, and it works again. A task can answer a question, propose a plan, or change code.

A pull request is something a task produces, not the task itself. One task can open several PRs, and it keeps taking replies after a PR merges. A task doesn't end when its PR does.

The dashboard shows each task in one of four states:

  • In progress: the agent is working on it now.
  • Waiting: its agent is ready to start and starts on its own when your plan has room. See How the queue works.
  • Needs your input: the agent asked something, a run failed, billing or access needs fixing, or on Free the agent reached its 60-minute limit and the task needs an upgrade to finish.
  • Idle: the agent has nothing left to do, or someone stopped it. A reply picks it up again.

The codebase calls a task's durable record a workstream. It preserves status and links across restarts and follow-ups. See How it works for the states and the raw statuses behind them.

Agent

An agent is what starts each time Sinatra is asked to work on a task (an assignment, a mention, a reply, a prompt from the CLI, MCP or API) or starts work itself, such as a CI fix. It works until it hands back: with an answer, a question, a plan, or a pull request. A task starts a new agent each time, so one task can have many agents over its life, one after another.

Your plan sets how many agents work at a time and how many more can wait, not how many tasks or agents you have. On Free each agent works up to 60 minutes; on paid plans agents work until they're done. See Billing.

The codebase calls an agent a turn.

Invocation

An invocation is starting an agent: the assignment, mention, reply, prompt or CI failure that sets one going. A message that reaches an agent already working steers that agent instead of invoking a new one. See Steering a run.

Access token

An access token is a personal token for the sinatra CLI, the MCP server, and the HTTP API. Claude Code, Codex, Cursor, claude.ai, ChatGPT and Grok can sign in to the MCP server with your Sinatra account instead. Create a token on the dashboard's CLI & API page. It acts as you in every workspace you belong to, with your role in each, and stops working in a workspace you leave. It expires after 30, 90 or 365 days, and you can revoke it at any time. See Create a token.

Agent session

An agent session groups agent execution and usage records within a task. Follow-ups or restarts can produce additional sessions, and a follow-up can resume the previous agent conversation. A new session does not necessarily create a new sandbox: the task can reuse its existing environment.

Linear also calls its agent conversation UI an agent session. Its activity feed is where Sinatra posts progress and where Linear provides the Stop control.

Sandbox

A sandbox is the isolated environment where the agent runs, with a checkout of the repo and access to task credentials. It belongs to a task and can be reused for follow-ups. Stopped or archived sandboxes may be resumed; they are not permanent storage. See Sandboxes for retention and network access.

Run

A run is one agent process inside an agent's work. Most agents have a main run, and can add runs to fix failing tests and to review their own PR. On paid plans an agent that reaches its 2-hour checkpoint carries on in a new run that resumes the same session. Runs don't count against your plan; the agent they belong to does. See Billing.

Engine

The engine is the agent harness running inside the sandbox: claude-code or oh-my-pi. The effective default depends on model access. Choose compatible engine, model and effort values under Settings → Models → Your default, or use the workspace default; see Models.

.sinatrarc.json

A per-repo JSON config file committed to the target repository to control sandbox setup, test command, and CI behavior. It cannot choose the engine, model or reasoning effort; see Models. See the configuration reference.