Forge reads your whole repo, runs your tests, and writes diffs that pass review. P50 latency 240ms. Accept rate 62%. The numbers your team will check.
1 export async function cancelSubscription( 2 userId: string, 3 reason?: CancelReason, 4 ) { 5 // TODO: validate reason, charge proration, 6 // downgrade plan, send confirmation 7 const sub = await getActiveSub(userId); 8 if (!sub) throw new SubNotFound(userId); 9 10 // ─ cursor here ─ 11 }
+ const proration = await calcProration(sub); + if (proration.amount > 0) { + await stripe.invoices.createAndPay({ + customer: sub.customerId, + lines: proration.lines, + }); + } + await downgradePlan(sub, "free"); + await mail.send("sub.canceled", { sub, reason });
Multi‑line, type‑aware, repo‑grounded. Reads your real imports — not its guess.
"Extract this loop into a queue worker" — across files, with imports, types, and tests updated.
Writes the cases that actually break your code — boundary, null, race, regression. Runs them locally.
Paste a stack trace. Get the suspected file, the suspect lines, the fix as a diff, and 3 questions for the on‑call.
Posts a structured review on every PR — risks, missing tests, similar prior PRs, and the diff your reviewer should focus on.
Hand off a ticket. Forge clones the repo, branches, writes the patch, runs CI, and opens a PR for review.
A code‑specialized model trained on a PR‑merge dataset of 9.4M real engineering commits — never on private customer code.
Same engine that powers the editor, exposed for headless agents, PR reviewers, and CI gates.
from forge import Forge forge = Forge(api_key="sk_live_…") patch = forge.task( repo="github.com/linnea/web", instruction="fix off‑by‑one in /api/usage daily aggregation", tools=["tests", "git"], open_pr=True, ) # patch is a structured diff with review notes print(patch.url, patch.tests_passed)
import Forge from "@forge/sdk"; const forge = new Forge({ apiKey: process.env.FORGE_KEY }); const patch = await forge.task({ repo: "github.com/linnea/web", instruction: "fix off-by-one in /api/usage daily aggregation", tools: ["tests", "git"], openPr: true, }); console.log(patch.url, patch.testsPassed);
$ curl https://api.forge.dev/v1/tasks \ -H "Authorization: Bearer $FORGE_KEY" \ -H "Content-Type: application/json" \ -d '{ "repo": "github.com/linnea/web", "instruction": "fix off-by-one in /api/usage daily aggregation", "tools": ["tests", "git"], "open_pr": true }'
“Three months in, Forge is the only assistant our seniors haven't uninstalled. Accept rate landed at 64% on our codebase — the rest of the field hovered around the high‑20s.”
14 days of Pro free. No credit card. Uninstall takes one click — but in our data, 84% of engineers who try Forge are still using it a month later.