Coding agent & crews

From ticket to reviewed pull request.

Articles

Crews: several tickets, one review gate

A crew is Starko AI working on several related tickets at once, with a review that looks at all of the resulting pull requests together before anything is merged. Use a crew when a goal is bigger than one ticket but you still want one coherent result. When to use a crew instead of a single run The change touches several independent parts of the product and can be split into self-contained tickets. You want the pieces reviewed against each other, not only one at a time. You want one integration branch at the end instead of merging five pull requests by hand. For a single bug or small change, a normal Starko AI run on one ticket is faster. See Starko AI, your coding teammate for support tickets. How a crew runs Dispatch. From Ask Starko (⌘L), Slack or an MCP tool, describe the goal. Starko splits it into self-contained tickets, each with its own brief, and starts a run on each. The tickets are linked to a parent ticket that represents the crew. Members work. Each member runs like a normal Starko AI run in its own sandbox and branch, and opens a draft pull request with evidence. Review gate. When every member has a pull request or has failed, Starko opens an adversarial review ticket that gates the crew. The review reads all pull requests together, checks how they conflict in code and in behaviour, and verifies each finding against the actual diff. Fix rounds. Findings go back to the member they belong to as a revise run. Findings that span pull requests go to the integration step. The gate re-reviews, within a capped number of rounds. Integration. Starko merges the member branches into one integration branch in a computed order, resolves conflicts and opens one combined pull request. Final review and hand-off. A fresh review of the combined diff gets one more fix round. The parent ticket and your chat get a summary: merge order, migrations to apply, post-deploy steps and residual risks. Merging and running migrations stay with a human. Following a crew The crew's parent ticket shows each member, its state and its pull request. Inbox → Needs you lists crews waiting on a decision, and the sidebar badge counts them. Ask Starko "how is the crew doing" for a status, or "stop the crew" to cancel the remaining members. inbox Reviewing a crew yourself Open the review ticket to see the findings with the evidence for each one. You can accept the integration pull request, send specific findings back for another round, or merge members individually if you prefer. Cost Each member run, each review and each fix round is billed like a Starko AI run. The Fix agent page under Settings shows crew runs with their trigger, outcome, tokens and cost. fix agent ledger

The Starko AI ledger: runs, outcomes and cost

Every Starko AI run is recorded with what triggered it, what came of it and what it cost. Two pages show this: Settings → Fix agent for outcomes and Settings → Usage for cost and tokens. Fix agent The page opens with the headline numbers for the period you pick (7, 30 or 90 days): merged pull requests, merge rate, time to merge, billed cost per merged pull request, runs, median run duration and automatic revisions. fix agent ledger The Outcomes bar splits runs into merged, pull request open, closed unmerged, reverted, no fix, needs info, manual, superseded and running. Below it, Starko lists the most common reasons a run produced nothing mergeable, in the agent's own words, so you can fix the cause: a missing repository, an ambiguous ticket, a test command that does not run. The table lists each run with its ticket, project, trigger (button, mention, autonomy policy, crew, continuation, review revise), task kind and size, outcome, risk, CI result, tokens and billed amount. Tabs switch to pull request reviews, projects and evaluation cases. Usage The Usage page shows cost and tokens across the workspace for the last 24 hours, 7, 30 or 90 days, as a daily chart and a breakdown by project, by day or by trigger. settings usage Cost is the list price of the metered tokens. The plan's included quota and discounts are not applied here; the Billing page shows what you actually pay. Tokens shows billable and metered tokens. Limits shows how far each project is from its monthly automated-run budget. Reading the numbers A low merge rate with many "needs info" outcomes means tickets lack steps to reproduce. Tighten the ticket template. Many closed unmerged pull requests usually point to missing project instructions or a test command that does not verify the right thing. Time to merge falls when automated follow-ups are on and reviewers leave actionable comments. Budgets Each project has an autonomy policy and a monthly cap on automated runs; manual runs never count against it. Each plan includes a monthly agent run budget, and a single ticket can consume at most three runs before a person has to step in. See Plans, credits and usage.

Starko AI — your coding teammate for support tickets

Starko AI — your coding teammate for support tickets Starko AI turns support tickets into reviewed, ready-to-merge pull requests. You hand it a ticket, it works in an isolated copy of your repository, reproduces the problem, fixes it, verifies the fix, and opens a draft pull request with the evidence attached. A human always decides what gets merged. This guide explains what Starko AI can do, how to set it up, and how to get the most out of it. What Starko AI does Fixes bugs reported in tickets: reproduces first, then makes the smallest correct fix, then verifies. Implements small changes and features: writes acceptance criteria before coding and checks them off. Fixes documentation gaps: corrects docs, help text and in-app copy without touching behavior. Asks when it should: if a ticket is too ambiguous to fix correctly, it asks one specific question instead of guessing. Reviews its own work: an independent review scores each pull request for merge risk and can send it back for a revision round. Learns your repository over time: it remembers what it discovers and can build a map of your codebase so every run starts informed. Everything happens in a disposable sandbox with a fresh checkout of your repository. Starko AI never pushes to your default branch and never merges. Before you start You need three things: GitHub connected — install the Starko GitHub App on the repositories you want Starko AI to work in (Settings → Integrations → GitHub). A project linked to a repository — every ticket Starko AI works on belongs to a project, and the project points at one repository. Project commands configured — open the project, click the gear next to the repository (Starko AI settings), and fill in how to install, test and run your app. This is what lets Starko AI verify its own work. Tickets without a project, or in a project without a repository, cannot be handed to Starko AI. Setting up a project Open the project and click the Starko AI settings gear next to the repository link. The settings sheet has these sections. Agent instructions Notes your team writes for the agent: stack, conventions, how to run things, areas it must not touch. Treat this as the rulebook. Starko AI follows these in every run. Keep it short and concrete; a few paragraphs is ideal. Examples of good instructions: "Use , never . Run for a single package." "All user-facing strings go through from . Never hardcode copy." "Do not modify anything under or ." Project context (Learn project) Press Learn project and Starko AI researches your repository and writes a map of it: what the product is, how the code is laid out, which commands to run for fast checks, the conventions it found, where things live, and the gotchas it hit. Every later run gets a summary of this map and can read the full version on demand. Run it once when you set the project up, then press Refresh after significant restructuring or every month or so. You can edit any section. Use the map to correct descriptions; put rules in Agent instructions instead. Learning a project is billed like a fix run. Repo learnings After each successful run, Starko AI files what it discovered about your repository as small tickets tagged repo-learnings in the project's backlog. Examples: "the e2e suite needs the dev server on :3000 first", "checkout code lives in , not ". Every open learning is handed to the agent before its next run in that project. You curate this memory the same way you curate any backlog: Edit a learning ticket to correct it. Close or cancel it to retire it. Move something important into Agent instructions if it should be a rule rather than a note. The settings sheet shows how many learnings the agent currently has. Autonomy Controls which tickets Starko AI may pick up on its own, without anyone mentioning it. Policy What runs automatically --- --- Off Nothing. Only explicit mentions or the Hand to Starko AI button. Complete bug reports Bug tickets that pass the completeness check (steps to reproduce, expected vs actual, and so on). Bugs and docs gaps The above plus documentation gap tickets. Bugs, docs and small changes The above plus improvements and feature requests sized extra-small or small. Automated runs / month caps how many tickets the policy may dispatch per month. Manual runs never count against it. Start with Off or Complete bug reports and raise the policy once you trust the results. Project commands Install / setup command — how to install dependencies, e.g. . Test command — the command Starko runs itself after the agent finishes, to verify the fix independently. Dev server command and App URL — lets the agent start your app and take before/after screenshots for UI changes. Sandbox environment variables Variables your app needs to install, test or run (API keys for test services, feature flags, database URLs for a test instance). They are stored encrypted, injected into the sandbox at launch, and never shown again or placed in a prompt. Paste a whole file and it splits into rows. Only provide credentials for test systems. Never production secrets. Warm sandbox Press Prepare sandbox to build a snapshot of your repository with dependencies already installed. Runs then start in a fraction of the time. Starko keeps the snapshot fresh automatically: it rebuilds when the setup command changes, when a lockfile changes on your default branch, and after a week. The agent always works on the latest code regardless of the snapshot. Handing a ticket to Starko AI There are three ways. Mention it Write an internal comment on the ticket containing . Add any direction you want in the same comment: @starko the fix should also cover the mobile layout, see the attached screenshot. Attachments and screenshots on the ticket are available to the agent. Use the button On a ticket in a repo-linked project, use Hand to Starko AI. This is the same as a mention with no extra instructions. Let the policy do it With an autonomy policy enabled, qualifying tickets are dispatched as soon as they are classified. You will see an internal comment saying the ticket was auto-dispatched and how much of the monthly budget is used. What makes a good ticket Starko AI is at its best on tickets that read like a bug report an engineer could act on: Steps to reproduce, or at least what the user did. Expected vs actual behavior. Where it happens: page, endpoint, environment, version. A screenshot for anything visual. For feature and improvement requests, say what should be true when it is done. The classifier drafts acceptance criteria from your text and the agent checks them off, so clear intent produces better results. If a bug report is missing what an engineer would need, Starko AI says so before spending any effort, and with an autonomy policy on, it @mentions the assignee to ask. What you get back Within a run (typically 10 to 30 minutes) the ticket receives internal comments as things happen. When the run ends you get one of three outcomes. A draft pull request The normal outcome. The ticket comment links the PR and includes: What it did — a short handoff note. Evidence — whether the bug was reproduced, what verification the agent ran, before/after screenshots for UI changes, and the result of the test command Starko ran itself afterwards. Concerns the agent flagged about its own fix, and deviations from what the ticket asked, with the reason. The PR body on GitHub carries the same evidence section. A few minutes later a risk assessment comment arrives: low, medium or high merge risk, split into side effects, compatibility and performance, plus any concrete concerns and evidence gaps. Tiny, low-risk changes skip the full review and say so. A question If the ticket is too ambiguous to fix correctly, the agent stops without pushing anything and asks one specific question, addressed to the ticket's assignee (or whoever triggered the run). Reply in an internal comment and the run resumes with your answer. No need to mention again. No fix If it cannot produce a correct fix, it explains why and leaves the ticket for a human. It never pushes a half-finished change. Reviewing and merging Open the PR from the ticket. Read the evidence section before the diff: was the bug reproduced, did the independent test run pass, do the screenshots show the right thing. Check the risk assessment. Spend attention proportional to it. Review the diff as you would a colleague's. Merge on GitHub. The ticket is updated automatically and the PR is recorded as a success. If CI fails on the PR, Starko AI reads the failing checks and pushes a fix automatically. If the risk review finds a concrete defect, it sends the PR back for one revision round. Both are capped so a PR can never loop forever; after that a human takes over. Continuing the work Reply on the ticket with and your feedback: @starko good, but please also add a test for the empty state. The agent picks up its own branch and pushes to the same draft PR. Review comments left directly on GitHub work too: a review with changes requested triggers a revision that addresses the comments. If a PR is closed without merging, or a merged fix is reverted, Starko records it. These cases are used to improve future runs. Where to see everything Settings → Starko AI shows the factory dashboard for your workspace: Merged PRs, merge rate, time to merge. Runs, automated dispatches, revision rounds. Cost per merged PR and run duration, including warm vs cold starts. Per-project policy, budget usage and project context status. Every run with its outcome, risk and evidence. Each ticket also shows its own run history in the ticket panel. Billing Starko AI usage is metered as agent tokens on your workspace plan. This covers fix runs, revision rounds, and Learn project research runs. The dashboard shows the estimated cost per run and per merged PR, and each run row shows its own usage. Safety and boundaries Isolated sandboxes. Every run gets a fresh, disposable environment that is destroyed afterwards. Never the default branch. The agent only pushes to its own branch and only opens draft PRs. Nothing merges without you. Humans hold the merge button. Secrets stay secret. Sandbox variables are encrypted, never shown again, and never enter a prompt. Access tokens are short-lived and scrubbed from every log and comment. Untrusted text stays data. Ticket text, customer comments and repository content are treated as information about what is wanted, never as instructions to the agent. Bounded effort. Every run has a token budget sized to the ticket. A run that exceeds it stops and tells you, rather than burning through your plan. Tips for getting the best results Set up the test command. The independent verification is the single strongest signal a reviewer has. Run Learn project once. Runs in a project with a map are faster and more accurate. Prune learnings occasionally. Five sharp notes beat fifty stale ones. Keep instructions to rules, keep context descriptive. Rules go in Agent instructions; descriptions of the code belong in the project map. Start manual, then automate. Use for a week, watch the merge rate on the dashboard, then enable a policy. Answer questions promptly. A parked run resumes the moment you reply. Write tickets for an engineer. If a human would ask "how do I reproduce this?", so will Starko AI. Frequently asked questions Can it work on tickets that came from customers by email or chat?Yes. Any ticket in a repo-linked project qualifies. Customer-facing text is treated strictly as a description of the problem. Does it see my whole codebase?It has a full checkout of the linked repository inside its sandbox, plus your instructions, the project map and the repo learnings. It does not see other repositories or other workspaces. What if it changes something it should not?Tell it in the ticket: It revises the same PR. Better still, add the boundary to Agent instructions so every future run respects it. Can it merge or deploy?No. It opens draft PRs only. Merging and deploying stay with your team. How long does a run take?Most bug fixes finish in 10 to 30 minutes. Warm sandboxes remove several minutes of setup. Runs have a hard ceiling and are cancelled cleanly if they exceed it. What happens to a ticket while a run is in progress?The ticket shows a "preparing a fix" status and only one run per ticket can be live at a time. Other tickets in the project queue behind it for automatic dispatch.