Sinatra coding agent
An autonomous coding agent that turns Linear tickets, labeled GitHub issues, Slack mentions, Telegram messages and tasks from its CLI, MCP server or HTTP API into pull requests. The remote MCP server (OAuth) lets Claude, ChatGPT, Cursor and other clients start, follow up on and stop tasks.
Hosted MCP Server
npx add-mcp 'https://api.sinatra.dev/v1/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
sinatra
The AI coding agent you can invoke from anywhere.
sinatra (sinatra.dev) is a coding agent with its own sandbox. Hand it work from Linear, GitHub, Slack or Telegram and it codes and runs your tests there, never on your laptop. It opens a draft PR. Its workflow never merges or deploys: merging stays with you and your CI. It is unrelated to the Ruby web framework of the same name (sinatrarb.com).
Set it up from your agent
If you are an agent setting sinatra up for a person, follow https://www.sinatra.dev/agent-setup.md. It covers sign-in, the workspace, the repository and model, a first task, and what sinatra can do. Docs index: https://www.sinatra.dev/llms.txt.
People can connect their own client instead:
- Claude Code:
claude mcp add --transport http --scope user sinatra https://api.sinatra.dev/v1/mcp, then/mcpto sign in. - Codex (0.147 or newer, included with ChatGPT plans):
codex mcp add sinatra --url https://api.sinatra.dev/v1/mcp. - Grok: grok.com/connectors, Add a custom connector, server URL
https://api.sinatra.dev/v1/mcp. - Cursor: add
{"mcpServers":{"sinatra":{"url":"https://api.sinatra.dev/v1/mcp"}}}to~/.cursor/mcp.json. - Terminal:
npm i -g sinatra.dev, thensinatra login.
How it works
- Assign a ticket. Assign a Linear issue to sinatra or add the Sinatra
label to a GitHub issue (
sinatraaion the hosted app; sinatra provisions it on the repos the GitHub App can access). It picks the ticket up within seconds. Setup is a GitHub App install, Linear if you use it, and a model key or subscription. - It writes the code. It checks out your repo in its own sandbox, makes the change, and runs your tests. If they fail, it gets two tries to fix them.
- You review and merge. You get a PR with a summary and sinatra's own review notes. Leave a review comment and it pushes the fix to the same branch.
Product
- It reviews its own PR before you do. PRs open as drafts. Before marking one ready, sinatra reviews the diff against the ticket and posts what it found. If tests still fail, sinatra says so on the ticket. They don't block the PR, so check them before you merge. Request changes and it reworks the same branch and replies in the thread.
- It reviews the PRs your team opens. Turn on PR reviews and sinatra reviews pull requests your team opens, whether the code was written by hand, in Cursor or in Claude Code. It looks for bugs and security problems and comments on the lines they're in, ranked P0 to P3. Each review runs on the author's own model, and each repo can opt out.
- It can see your database, errors and analytics. Connect Neon, Supabase, PostHog, Sentry, PlanetScale, Cloudflare, Notion or Vercel once and every task can use it through that service's own MCP server. You sign in at the provider or paste a token. The token stays encrypted on our side and never enters the sandbox. What an agent can change depends on the access you grant.
- Run a task on a schedule. Save a prompt once and sinatra starts it as a task on a schedule: bump dependencies every Monday, check for flaky tests every night. Each run counts against your plan's agents at a time, like any task you start. Pause it, or run it right now, from the dashboard, the CLI or MCP.
- It runs on the subscription you already pay for. Connect your Claude,
ChatGPT or Cursor subscription, or an API key. sinatra never bills for model
usage. Set secrets and standing instructions once for the whole workspace,
and commit a
.sinatrarc.jsonwhen a repo needs its own test command or setup steps.
Integrations
Hand it work from wherever the request already is. A workspace is one GitHub organization or personal account. Install the app once, add repos as you go, and invite as many people as you like.
- GitHub: add the Sinatra label (
sinatraai) to an issue to hand it over. It opens the branch and PR, reads your checks, and answers review comments. - Linear: assign a ticket to sinatra or mention it in a comment. It posts progress on the ticket and links the PR.
- Slack: mention @Sinatra in a channel. It works in that thread and opens a PR when the request needs code. Docs: https://docs.sinatra.dev/docs/configuration/slack
- Telegram: message @SinatraDevBot (https://t.me/SinatraDevBot). Each request gets its own topic with its status and a Stop button, and the PR when there is one. Docs: https://docs.sinatra.dev/docs/configuration/telegram
- CLI, MCP and API: start tasks from the
sinatraCLI, from Claude Code, Cursor, claude.ai or ChatGPT through the remote MCP server athttps://api.sinatra.dev/v1/mcp, or over HTTP with a personal access token. They run like any other task and show up in the dashboard. Install the CLI withnpm i -g sinatra.dev, runsinatra login, then typesinatra "fix the flaky test"inside a checkout. You can set up and manage the workspace from the same tools. Docs: https://docs.sinatra.dev/docs/cli-and-api
How it compares
sinatra starts from a GitHub label or a Linear assignment, runs on the subscription or key you already pay for (Claude, ChatGPT, or an API key), and charges one flat price per workspace. Sinatra never bills for model usage. Full comparison: https://www.sinatra.dev/alternatives
Pricing
- Free: $0 forever. 1 agent at a time, plus 1 waiting, no daily limit. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Each agent works up to 60 minutes on Free. At 60 minutes the agent stops and saves its work. Upgrade to let it finish. No card.
- Pro: $20 / mo. 3 agents at a time, plus 10 waiting. Agents work until they're done. One price for the whole workspace. Invite as many people as you like. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Billed monthly, cancel anytime.
- Team: $99 / mo. 10 agents at a time, plus 25 waiting. Agents work until they're done. One price for the whole workspace. Invite as many people as you like. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Billed monthly, cancel anytime.
- Scale: $249 / mo. 25 agents at a time, plus 100 waiting. Agents work until they're done. One price for the whole workspace. Invite as many people as you like. Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Billed monthly, cancel anytime.
- Enterprise: Custom annual contract. Custom running and waiting limits, annual contract. Talk to us. We scope security requirements, support, and contract terms with you.
Assign as many tickets as you want. Your plan sets how many agents work at once, and the rest wait in the queue and start on their own. If the queue is full, Sinatra says so on the ticket.
FAQ
Is there a free plan?
Yes, and it doesn't need a card. Free is 1 agent at a time, plus 1 waiting, with no daily limit. Each agent works up to 60 minutes on Free. At 60 minutes the agent stops and saves its work. Upgrade to let it finish. Paid plans are one monthly price for the whole workspace, however many people are in it: Pro $20 (3 agents at a time, plus 10 waiting), Team $99 (10 agents at a time, plus 25 waiting), Scale $249 (25 agents at a time, plus 100 waiting). Agents work until they're done on every paid plan. Enterprise has custom limits on an annual contract. A workspace connects at most one GitHub organization or personal account. Bring your own Claude, ChatGPT or Cursor subscription, or an API key.
What models does it use?
Whatever you connect: your own Claude, Codex / ChatGPT or Cursor subscription, or a workspace Anthropic or OpenRouter API key. A subscription you connect only runs your own tasks; workspace keys are shared with the team. If you haven't chosen a default, Sinatra picks from what's connected and posts the engine and model it chose on the ticket. To choose one yourself, set Your default in Settings, under Models. Sinatra never bills for model usage, and the token and cost numbers it shows are estimates, not charges.
Can I start a task without a ticket?
Yes. Install the CLI with npm i -g sinatra.dev, run sinatra login, then run sinatra "fix the flaky test" inside a checkout. Claude Code, Codex, Cursor, claude.ai and ChatGPT can start and follow tasks over MCP once you sign in with your Sinatra account (on ChatGPT, starting a task needs a Business, Enterprise or Edu workspace). Scripts can use the HTTP API with a personal access token from the dashboard. These tasks run like any other: their own sandbox, a PR when there's code, and they count against your plan. Setup is at docs.sinatra.dev/docs/cli-and-api.
Does it work in Slack?
Yes, on every plan. A workspace owner or admin connects Slack in Settings and invites Sinatra to the channels you want. Mention @Sinatra with what you want done and it works in that thread: it answers, asks back if the request is vague, and opens a PR when it changes code. A reply that mentions Sinatra always reaches it; one without a mention does when Sinatra judges it's meant for it. If the workspace has more than one repo, add repo: owner/name to the message. Each person needs to be a workspace member whose Slack account Sinatra can match, by email or with Sign in with Slack. Direct messages aren't supported. Setup is at docs.sinatra.dev/docs/configuration/slack.
Does it work in Telegram?
Yes, on every plan, and it's on in every workspace unless an owner or admin turns it off. Message @SinatraDevBot in a direct message; groups aren't supported. The first time, the bot asks you to link your Sinatra account. Each request gets its own topic, where Sinatra posts a status message with a Stop button while it works and the PR when there is one. Reply in the topic to follow up: a message sent while the agent is running waits and starts the next agent once this one hands back. If the workspace has more than one repo, add repo: owner/name to the message. Setup is at docs.sinatra.dev/docs/configuration/telegram.
Does it touch production?
Sinatra's own workflow never merges or deploys. It works on a branch and opens a pull request, and merging stays with you and your CI, so branch protection and required reviews still apply. The sandbox can reach public hosts, and your scripts and the credentials you give it decide which of your services its commands can act on. Credentials and model keys are stored encrypted and only used for the task you assigned. We don't use your code to train our own models, and we don't sell it.
Where does my code live?
In a sandbox only your workspace can use. Sinatra checks out your repo there and stops the sandbox when the task ends; an idle sandbox stops after two hours and is archived an hour later. We don't copy your checkout into our database. We do keep repo metadata, the branches and PRs we open, the commit we started from, token and cost totals per run, and the webhook payloads GitHub, Linear, Slack and Telegram send us. Those include issue, comment and message text, and for a review comment, the diff hunk it was left on. Sandbox traffic goes through our egress proxy: public hosts are reachable and audited, private and cloud metadata addresses are blocked, and credentials only go to their approved hosts. More at sinatra.dev/security.
My codebase is huge. Will it cope?
Each task gets a full checkout in its own sandbox, so the agent can search the whole repo before it changes anything.
Does it write tests?
The agent is told to add or update tests for behavior changes, and to read your existing tests first so new ones match your style. Point .sinatrarc.json at your test command and Sinatra runs it once the agent is done, with up to two tries to fix failures. If tests still fail, the PR stays open and the failure is reported on the ticket. Each run ends with a note on what it verified and what risk it left, and its self-review looks for weak assertions and untested branches.
Links
- Site: https://www.sinatra.dev
- Pricing: https://www.sinatra.dev/pricing
- Startup program: https://www.sinatra.dev/startups
- Slack: https://www.sinatra.dev/use-cases/slack-coding-agent
- Telegram: https://www.sinatra.dev/use-cases/telegram-coding-agent
- Code review: https://www.sinatra.dev/features/code-review
- Connectors: https://www.sinatra.dev/features/connectors
- Recurring tasks: https://www.sinatra.dev/features/recurring-tasks
- Cloud sandbox: https://www.sinatra.dev/features/cloud-sandbox
- Bring your own model: https://www.sinatra.dev/features/bring-your-own-model
- MCP server: https://www.sinatra.dev/use-cases/mcp-server
- CLI and API: https://www.sinatra.dev/use-cases/cli-and-api
- Documentation: https://docs.sinatra.dev/docs
- Demo: https://www.sinatra.dev/demo