# Sinatra > Sinatra (sinatra.dev) is an autonomous coding agent that turns Linear tickets, labeled GitHub issues, Slack mentions, Telegram messages and tasks from a CLI, MCP client or script into pull requests. Assign a Linear issue to @sinatra, add the Sinatra label to a GitHub issue, ask it in Slack or Telegram, or start a task from your terminal, Claude Code, Codex, Cursor, claude.ai or ChatGPT; it opens a branch, writes the code, runs the tests, and ships a clean PR. It is unrelated to the Ruby web framework of the same name (sinatrarb.com). ## How it works - On Linear: assign the issue to @sinatra, or @-mention it in a comment. - On GitHub: add the Sinatra label to the issue (named after the GitHub App, `sinatraai` on the hosted app; Sinatra provisions it on the repos the GitHub App can access). The label is the only way to start a run from GitHub; comments steer a run that already exists. - In Slack: once a workspace owner or admin connects Slack, mention @Sinatra in a channel it has been invited to. It works in that thread, posts its progress and answer there, and opens a pull request when the request needs code. A reply in the thread that mentions Sinatra continues the task, and so does an unmentioned reply Sinatra judges is meant for it. Add `repo: owner/name` when the workspace has more than one repository. Every plan includes it. Direct messages are not supported. - On Telegram: message @SinatraDevBot (https://t.me/SinatraDevBot) in a direct message; groups are not supported. The first message asks you to link your Sinatra account. Each request gets its own topic, where Sinatra posts a status message with a Stop button and the pull request when it opens one. A reply in the topic continues the task. Add `repo: owner/name` when the workspace has more than one repository. Every plan includes it, and it is on in every workspace unless an owner or admin turns it off. - From your terminal, Claude Code, Cursor, claude.ai, ChatGPT, or a script: start a task with the `sinatra` CLI (npm package `sinatra.dev`), Sinatra's remote MCP server, or the HTTP task API. Every plan includes them. The CLI signs in with a Sinatra account through the browser, and Claude Code, Cursor, claude.ai, Claude Desktop and ChatGPT sign in to the MCP server the same way, over OAuth; the HTTP API and other MCP clients use a personal access token. These tasks are hosted runs like any other (sandbox, pull request, dashboard); there is no editor plugin, and the agent never runs on your machine. - Sinatra opens a branch, writes the code, and runs your tests. - It opens a pull request for review. Sinatra does not merge or deploy changes. Merging stays with you and your CI; repository scripts and supplied credentials govern access to external services. - Every account, including existing and paid accounts, requires a workspace API key or personal model subscription. Workspace keys are shared with authorized members; personal connections cover only the member who connects them. Provider charges and usage limits apply separately. - A task is a conversation, not a pull request. One task can open several PRs and keeps taking replies after a merge. The dashboard shows each task as In progress, Waiting, Needs your input, or Idle. - On a Linear, GitHub or Slack task, a message sent while a run is going reaches the running agent. Sinatra decides whether it applies now, before the run finishes, or starts a new agent for it afterwards. On a task started from Telegram, the CLI, MCP or API, a message sent mid-run waits and starts the next agent. ## Pricing - Free: $0, 1 agent at a time, plus 1 waiting. 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. No card. - Pro: $20 a month, 3 agents at a time, plus 10 waiting. Agents work until they're done. - Team: $99 a month, 10 agents at a time, plus 25 waiting. Agents work until they're done. - Scale: $249 a month, 25 agents at a time, plus 100 waiting. Agents work until they're done. - Enterprise: Custom running and waiting limits, annual contract. Talk to us. We scope security requirements, support, and contract terms with you. - One price for the whole workspace. Invite as many people as you like. A workspace connects at most one GitHub organization or personal account. - 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. - Bring your own Claude, ChatGPT or Cursor subscription, or an API key. Sinatra never bills for model usage. That's between you and your provider. Token and cost diagnostics are estimates, not Sinatra invoices, including when a provider subscription covers usage. - Paid plans bill monthly. Startups can get Team at half price for a year. ## Tools - [CLI](https://docs.sinatra.dev/docs/cli-and-api): install with `npm i -g sinatra.dev`, then run `sinatra login`. Package: https://www.npmjs.com/package/sinatra.dev - [MCP server](https://api.sinatra.dev/v1/mcp): Streamable HTTP with OAuth sign-in. Server card: https://www.sinatra.dev/.well-known/mcp/server-card.json - [HTTP API](https://api.sinatra.dev/openapi.json): OpenAPI spec. API catalog: https://www.sinatra.dev/.well-known/api-catalog ## For agents - [Agent setup](https://www.sinatra.dev/agent-setup.md): how an agent signs a person up, connects a repo and runs a first task - [Agent guide](https://www.sinatra.dev/AGENTS.md): how an agent starts and follows a Sinatra task over MCP, the CLI or the HTTP API - [Authentication](https://www.sinatra.dev/auth.md): OAuth with PKCE S256, scopes and personal access tokens - [Pricing](https://www.sinatra.dev/pricing.md): plans and limits in Markdown - [OpenAPI spec](https://www.sinatra.dev/openapi.json): the HTTP API's OpenAPI 3.1 document - [AI catalog](https://www.sinatra.dev/.well-known/ai-catalog.json): every agent-facing document this site serves ## Optional - [Full reference](https://www.sinatra.dev/llms-full.txt): pricing, comparison, and every FAQ inline ## Links - Site: https://www.sinatra.dev - Pricing: https://www.sinatra.dev/pricing - Startup program (Team at half price for a year, for teams under 100): https://www.sinatra.dev/startups - Alternatives hub (Sinatra compared to every coding agent worth shortlisting, one page each): https://www.sinatra.dev/alternatives - About (who builds Sinatra): https://www.sinatra.dev/about - Security (how your code is handled): https://www.sinatra.dev/security - Support (email us, what to include, reply within 2 business days): https://www.sinatra.dev/support - Use case, Linear tickets to GitHub PRs: https://www.sinatra.dev/use-cases/linear-tickets-to-prs - Use case, AI agent for GitHub issues: https://www.sinatra.dev/use-cases/github-issues-to-prs - Use case, AI coding agent in Slack (also the Slack app's landing page): https://www.sinatra.dev/use-cases/slack-coding-agent - Use case, coding agent MCP server for Claude Code, Codex, Cursor, claude.ai and ChatGPT: https://www.sinatra.dev/use-cases/mcp-server - Use case, background coding agent CLI and HTTP API: https://www.sinatra.dev/use-cases/cli-and-api - Use case, AI coding agent in Telegram: https://www.sinatra.dev/use-cases/telegram-coding-agent - Feature, AI code review on GitHub pull requests: https://www.sinatra.dev/features/code-review - Feature, connectors for your database, error tracker and analytics (Neon, Supabase, PostHog, Sentry, PlanetScale, Cloudflare, Notion, Vercel): https://www.sinatra.dev/features/connectors - Feature, recurring tasks that start an agent daily, on weekdays, weekly or monthly: https://www.sinatra.dev/features/recurring-tasks - Feature, a cloud sandbox for every task: https://www.sinatra.dev/features/cloud-sandbox - Feature, bring your own model subscription or API key: https://www.sinatra.dev/features/bring-your-own-model - Documentation: https://docs.sinatra.dev/docs - CLI, MCP and API docs: https://docs.sinatra.dev/docs/cli-and-api - Slack docs: https://docs.sinatra.dev/docs/configuration/slack - Telegram docs: https://docs.sinatra.dev/docs/configuration/telegram - Connectors docs (agents use Neon, Supabase, PostHog, Sentry and more through each provider's MCP server): https://docs.sinatra.dev/docs/configuration/connectors - Recurring tasks docs (schedules, what each run does, when a task pauses itself): https://docs.sinatra.dev/docs/configuration/recurring-tasks - Blog: https://www.sinatra.dev/blog - Changelog (what shipped, newest first): https://www.sinatra.dev/changelog - Demo: https://www.sinatra.dev/demo ## Recent changes - 2026-11-25 (improvement) Free workspaces now see the plan limit when the queue turns work away: https://www.sinatra.dev/changelog#2026-11-25-queue-full-upgrade-prompts - 2026-11-25 (feature) Run a task on a schedule: https://www.sinatra.dev/changelog#2026-11-25-recurring-tasks - 2026-11-25 (fix) Turned-away review checks no longer stick at "in progress": https://www.sinatra.dev/changelog#2026-11-25-turned-away-review-check-stuck - 2026-11-24 (feature) Agents can send us feedback over MCP: https://www.sinatra.dev/changelog#2026-11-24-mcp-send-feedback - 2026-11-23 (fix) Older tasks stay visible in Needs you: https://www.sinatra.dev/changelog#2026-11-23-older-needs-you-tasks - 2026-11-22 (improvement) Dismiss tasks that no longer need you: https://www.sinatra.dev/changelog#2026-11-22-dismiss-needs-you-tasks - 2026-11-21 (feature) Connect your database, analytics and error tracker to agents: https://www.sinatra.dev/changelog#2026-11-21-connectors - 2026-11-21 (feature) Sinatra can review pull requests it did not open: https://www.sinatra.dev/changelog#2026-11-21-review-prs-sinatra-did-not-open - 2026-11-20 (fix) PR reviews refresh your Codex model list: https://www.sinatra.dev/changelog#2026-11-20-pr-review-codex-models - 2026-11-20 (fix) PR review checks explain model failures: https://www.sinatra.dev/changelog#2026-11-20-pr-review-failure-reasons ## Blog posts - AGENTS.md and CLAUDE.md best practices for background coding agents: https://www.sinatra.dev/blog/agents-md-for-background-coding-agents - AI coding agent without GitHub: ask and plan before a repo: https://www.sinatra.dev/blog/ai-coding-agent-without-github - Steer a coding agent mid-run, and after the PR merges: https://www.sinatra.dev/blog/steer-coding-agent-mid-run - Run multiple coding agents at once: the limits by vendor: https://www.sinatra.dev/blog/coding-agent-tasks-at-once-limits - Per-seat vs usage pricing for AI coding agents: a team of 5: https://www.sinatra.dev/blog/coding-agent-pricing-per-seat-vs-per-workspace - Cloud coding agent CLI cheat sheet: 8 tools side by side: https://www.sinatra.dev/blog/cloud-coding-agent-cli-cheat-sheet - Background coding agent APIs, compared for CI and scripts: https://www.sinatra.dev/blog/background-coding-agent-apis-compared - A Slack bot that opens pull requests, step by step: https://www.sinatra.dev/blog/slack-thread-to-pull-request - AI coding agents in Slack, compared: plans and billing: https://www.sinatra.dev/blog/coding-agents-in-slack-compared - How to delegate coding tasks from Claude or ChatGPT: https://www.sinatra.dev/blog/delegate-coding-tasks-from-claude-or-chatgpt - GitHub Copilot coding agent pricing after the 2026 AI credits change: https://www.sinatra.dev/blog/github-copilot-coding-agent-pricing - A coding agent opened 306 PRs on our repos since April. 289 merged.: https://www.sinatra.dev/blog/coding-agent-pr-merge-rate - Open-source and self-hosted AI coding agents (2026): OpenHands, Cyrus: https://www.sinatra.dev/blog/self-hosted-ai-coding-agents - AI coding agent cost for a 10-person startup, in real numbers: https://www.sinatra.dev/blog/ai-coding-agents-for-startups-cost - How to use Claude Code with Linear (three ways, 2026): https://www.sinatra.dev/blog/claude-code-linear-integration - Linear coding sessions explained: pricing, setup, and limits: https://www.sinatra.dev/blog/linear-coding-sessions-explained - AI coding agent pricing compared (2026): what 12 agents charge: https://www.sinatra.dev/blog/ai-coding-agent-pricing-compared - OpenAI Codex cloud pricing explained: a rate limit, not a rate: https://www.sinatra.dev/blog/openai-codex-cloud-pricing-explained - Cursor Cloud Agents, formerly Background Agents: what they cost: https://www.sinatra.dev/blog/cursor-cloud-agents-explained - Google Jules review (2026): the free tier is the product: https://www.sinatra.dev/blog/google-jules-review - Codegen alternatives: how to keep turning Linear tickets into PRs: https://www.sinatra.dev/blog/codegen-shutdown-alternatives-linear-tickets - The best coding agents for Linear, compared (2026): https://www.sinatra.dev/blog/best-coding-agents-for-linear - Copilot coding agent vs Jules vs Codex (2026): https://www.sinatra.dev/blog/copilot-coding-agent-vs-jules-vs-codex - OpenHands review (2026): the open-source coding agent: https://www.sinatra.dev/blog/openhands-review - The best model for coding agents depends on the ticket: https://www.sinatra.dev/blog/best-model-for-coding-agents-real-tickets - Devin vs GitHub Copilot coding agent: which fits your team?: https://www.sinatra.dev/blog/devin-vs-github-copilot-coding-agent - Devin review (2026): strengths, struggles, and pricing: https://www.sinatra.dev/blog/devin-review - GitHub issue to pull request automation: every option in 2026: https://www.sinatra.dev/blog/github-issue-to-pull-request-automation - The best background coding agents in 2026, compared: https://www.sinatra.dev/blog/best-background-coding-agents - How we sandbox AI coding agents: https://www.sinatra.dev/blog/how-we-sandbox-coding-agents - Why an AI agent should fix its own failing CI: https://www.sinatra.dev/blog/ai-agent-fixes-failing-ci - How to automatically fix GitHub issues with an AI agent: https://www.sinatra.dev/blog/automatically-fix-github-issues-ai-agent - Turning Linear tickets into GitHub PRs with an autonomous agent: https://www.sinatra.dev/blog/turning-linear-tickets-into-github-prs - Are AI coding agents safe for private repos? 8 questions: https://www.sinatra.dev/blog/ai-coding-agents-security-private-repos - BYOK for AI coding agents: what bring your own key actually costs: https://www.sinatra.dev/blog/byok-coding-agents-cost - How to assign a Linear issue to an AI agent (and get a PR back): https://www.sinatra.dev/blog/assign-linear-issue-to-ai-agent - AI backlog grooming, except the tickets get done: https://www.sinatra.dev/blog/ai-agents-clear-bug-backlog - How to review AI-generated PRs: https://www.sinatra.dev/blog/how-to-review-ai-generated-prs - How to write tickets for AI agents: https://www.sinatra.dev/blog/how-to-write-tickets-for-ai-agents - What is a background coding agent?: https://www.sinatra.dev/blog/what-is-a-background-coding-agent