[ Blocks Cloud Sessions ]

Create a software factory with cloud agents.

[ Products ]

One control plane.
Three ways to put agents to work.

Recents
Upgrade Next.js to 16
Nightly critical-bug hunt
Review #2214 Rate limiter
Fix race in checkout test
Explain the billing retry flow

Control plane. Every agent, managed in one place.

Every session from every product lands in one app, on the web or the desktop. Watch them run, step in, and set the rules they follow.

[ Desktop app ]

Your control plane, on your desktop.

Blocks Desktop is the whole control plane in a native app for macOS, Windows and Linux. Same sessions, same settings, signed in once.

One ⌘Tab away

Its own window and dock icon, so your agents aren't lost among browser tabs.

Know when you're needed

Hear about a session that finished, failed or is waiting on you, without watching it.

Links open in the app

Session links from Slack, Linear or GitHub open straight in Blocks Desktop.

[ Control Plane ]

No black boxes.

Follow any session as it runs, whether it started ad-hoc, as a PR review or from an automation, and interrupt, steer or fork it whenever you need to. In the browser, the desktop app or on your phone.

Fix double charge on checkout retry
maya@acme.dev
Customers on flaky networks are getting charged twice when checkout retries. Find it in acme/payments and open a PR.
9:41 AM
Worked for 6m 12s

Fixed. retryCharge() sent a new request on every attempt, so Stripe couldn't tell it was the same payment. Each checkout now reuses one idempotency key.

  • Derive the key from the checkout id in charge.ts
  • Pass it on every retry in retry.ts
  • New regression test. All 214 tests pass.
9:47 AM
Pull request
payments#482Fix double charge on checkout retry+48 −12
maya@acme.dev
The cart total can change between retries. Cover that too.
9:52 AM
Read 1 file, edited 1 file, ran 1 command
Readsrc/checkout/retry.ts (L30-80)
Editedsrc/checkout/retry.ts
Rannpm test -- retry
Working for 0:48 - esc to interrupt
Send a message
Accept edits on Claude CodeClaude Opus 5.5
Actions
Open VSCode
Pull Requests1
payments#482Fix double charge on checkout retry+48 −12
just now
CPU31% / 8 vCPU
Memory6.2 GB / 15.5 GB
Workspace4.8 GB / 27.1 GB
/tmp312 MB / 7.8 GB
Network↓ 120 KB/s↑ 48 KB/s
Details
AgentClaude Code
OriginSlack
Created bymaya@acme.dev
Created12 minutes ago
VisibilityVisible to everyone
ArchivedNo
Session IDc3f1a9e2-7b4d-4e0a-9f6c-2d8b1e5a7c40
WorkspaceAAcme
#482 acme/payments
Fix double charge on checkout retry
blocks/fix-checkout-retry main
Open PR
Files3+48-12Commits3ChecksDescriptionComments2
All changes 3 files+48−12 Collapse allRefresh
retry.tssrc/checkout+18−9Viewed
35 unmodified lines
3636 export async function retryCharge(checkout: Checkout) {
3737 const attempts = backoff({ max: 4, base: 250 });
38- for await (const _ of attempts) {
39- const res = await stripe.charge(checkout.total);
38+ // One key per checkout, so Stripe dedupes the retries.
39+ const key = idempotencyKey("charge", checkout.id);
40+ for await (const _ of attempts) {
41+ const res = await stripe.charge(checkout.total, { key });
4042 if (res.ok) return res;
4143 if (!isRetryable(res.error)) throw res.error;
4244 }
4345 throw new RetryExhausted(checkout.id);
4446 }
retry.test.tstest+24−0Viewed
1+import { retryCharge } from "../src/checkout/retry";
2+
3+test("retries reuse one idempotency key", async () => {
4+ const stripe = flakyStripe({ failFirst: 2 });
[ Environments ]

Ready to work. Every session.

A standard setup for every repo and a fast cloud computer, on Blocks cloud or your own. Blocks remembers what it learns along the way.

Node
22
pnpm
10
Postgres
16
Playwright
1.56
./setup.sh acme/web ready in 36s

Standardized environments for every repo.

One setup script per repo, so every session starts with the same tools and versions.

[ PR Review ]

Ship with confidence.
Reviewed your way.

Start with a reviewer that works on day one, then let teams layer on their own concerns and data sources.

Verify Stripe webhooks before processing #1931
Opendana-ruiz wants to merge 7 commits into main from dana/stripe-raw-body
blocksbotrequested changes · reviewed with Claude Code2 minutes ago

Moves signature verification to the raw body and adds replay protection. One issue blocks merge: the signature is still read after express.json() has parsed the request.

9
Webhook signature is checked after the body is parsed
api/webhooks/stripe.ts:88
7
Index is created without CONCURRENTLY on a 40M row table
db/migrations/0142_orders.sql:12
6
Retry loop has no upper bound when the provider returns 429
lib/retry.ts:31
3
Prefer the shared currency formatter
components/order-row.tsx:54
Some checks haven’t completed yet
2 in progress and 1 successful checks
Blocks PR ReviewReviewing…Details
CI / testSuccessful in 3m 12sDetails
CI / e2eIn progressDetails
api/webhooks/stripe.ts
86router.post("/stripe",
87 express.json(),
88 verifySignature(secret),
blocksbot2 minutes ago9

Stripe signs the raw bytes. After json() the body is re-serialised, so every real webhook fails verification. Use express.raw() on this route.

Suggested change
87- express.json(),
87+ express.raw({ type: "application/json" }),
Commit suggestion@blocks fix it
[ Automations ]

Put an agent
on every event.

Run an agent on every pull request, push, ticket or schedule. Write the instructions once, pick any agent and every run lands in the control plane.

[ Build on Blocks ]

Bring agents into your own code.

Start a session from CI, workflow tools and your own apps with the REST API, or build agents and automations that run on Blocks with the Python SDK.

REST API

Start any agent from CI, background jobs, no-code workflows and your internal tools. One request in, a session and a pull request out.

Explore the REST API
cURL
curl -X POST https://api.blocks.team/rest/v1/sessions \
-H "Authorization: ApiKey $BLOCKS_API_KEY" \
-d '{
"agent_name": "codex",
"message": "CI failed on main. Fix it and open a PR."
}'

SDK

Build your own agents and automations in Python, on the same SDK every Blocks agent is built on. Push it, and it runs on the next event.

Explore the SDK
main.py
from blocks import task, on, repo
@task(name="issue-fixer")
@on("github.issues")
def issue_fixer(input):
...
[ Integrations ]

Plugs into your whole stack.

Mention @Blocks from GitHub, Slack, Linear or Jira and the answer comes back to the same place. Everything else connects through an MCP server, a CLI or the REST API.

GitHub

GitHub

Mention @blocks on issues and pull requests, review every PR and report back as a CI check.

GitLab

GitLab

Merge request reviews, @blocks mentions and fixes pushed to the branch.

Bitbucket

Bitbucket

Pull request reviews and @blocks mentions on Bitbucket Cloud.

Slack

Slack

Mention @Blocks in a thread and get the answer, or the pull request, right there.

Linear

Linear

Assign an issue to Blocks and get a pull request and a summary back.

Jira

Jira

Assign or comment on an issue to start a session, with updates on the ticket.

Notion

Notion

Docs and specs as context, and notes written back.

Sentry

Sentry

Errors and traces as context, fixes as pull requests.

And 100+ more through MCP servers, CLIs and the REST API.

GitHub ActionsCircleCIJenkinsBuildkiteTravis CIZapiern8nMakeRetoolTemporalAirflowBackstageTrigger.devGoogle CloudKubernetesTerraformDockerVercelNetlifyCloudflareFly.ioRenderRailwayDigitalOcean
[ Why every agent ]

Same model. Different harness.
Different result.

Labs post-train each model against their own harness: its tool formats, context layout and control flow. Move the model to another harness and the score moves with it, often by more than a model generation. No harness wins on every model, and harnesses are replaced faster than models. Blocks runs them all, so you route each task to the best pair and swap when the frontier moves.

Identical model weights, scored in two harnesses
Generic or non-native harnessBest harness for that model
0%25%50%75%100%Claude Opus 4.5 on SWE-bench Pro: 45.9% in SEAL scaffold, 55.4% in Claude CodeClaude Opus 4.5SWE-bench Pro · SEAL scaffold → Claude Code45.955.4Claude Opus 4.5 on CORE-Bench Hard: 42% in CORE-Agent, 78% in Claude CodeClaude Opus 4.5CORE-Bench Hard · CORE-Agent → Claude Code4278GLM-5.2 on SWE-bench Pro: 23% in worst harness, 52% in best harnessGLM-5.2SWE-bench Pro · worst harness → best harness2352LFM2.5-2.6B on Held-out tasks: 33% in Claude Code, 62% in Mini-SWE-AgentLFM2.5-2.6BHeld-out tasks · Claude Code → Mini-SWE-Agent3362GPT-5.2-Codex on Terminal-Bench 2.0: 52.8% in harness v0, 66.5% in tuned harnessGPT-5.2-CodexTerminal-Bench 2.0 · harness v0 → tuned harness52.866.5Claude Opus 4.6 on Terminal-Bench 2.0: 69.9% in Droid, 81.8% in ForgeCodeClaude Opus 4.6Terminal-Bench 2.0 · Droid → ForgeCode69.981.8

Pass rates; every row is one set of weights on one benchmark under two harnesses. Sources: Zhang et al. 2026 · Gundlach et al. (MIT) 2026 · Kolavi et al. (Hugging Face) 2026 · LangChain 2026 · Terminal-Bench 2.0 leaderboard.

Runs on Blocks today
Claude CodeCodexAntigravityCursorOpenCodeKimi Code+ next

Ready for enterprise.

Run every coding agent on your terms, with the controls, compliance and support your organization needs.

SOC 2 Type I
SOC 2 Type IIn progress
GDPR
GDPRIn progress
Workspace policyacme
Sandboxes
Where sessions run
Your VPC · us-east-1
Inference
Your keys, Bedrock or the Blocks AI Gateway
SSO and SAML
Okta, Azure AD, Google
Private sessions
Enforced for every member
Data retention
Prompts and code
Zero
Monthly budget$7,680 of $12,000

Bring your own cloud

Session sandboxes in your own AWS account and VPC, on request. Cloud access goes over OIDC, with no static keys.

Bring your own inference

Your API keys, pooled subscriptions, AWS Bedrock or the Blocks AI Gateway. Your own LLM gateway on request.

Governance

Roles, enforced private sessions, linked accounts and an audit trail on every run. SSO and SAML on request.

Security and isolation

An isolated cloud sandbox for every session. Cloud credentials never reach the agent, and zero data retention is available.

99.99% uptime and support

Running at 99.99% uptime, with a shared Slack channel straight to our engineers.

Budgets and quotas

Hard spend caps, compute minutes, task and concurrency limits for every workspace.

[ Reliability ]

Over 2m tasks run on Blocks, at 99.99% uptime.

Start your software factory today.

Connect a repository, pick your agents and hand off the first task.

Blocks – A software factory for your favorite coding agents