Skip to content

[Agents] Add a Build your own harness page - #35057

Merged
irvinebroque merged 1 commit into
productionfrom
docs/agents-build-your-own-harness
Nov 9, 2026
Merged

irvinebroque merged 1 commit into
productionfrom
docs/agents-build-your-own-harness

Conversation

@mattzcarey

Copy link
Copy Markdown
Member

Adds a Build your own harness page under Harnesses, and links it from the harness comparison.

The Harnesses index tells readers to build their own harness when they need control over the loop, but no page showed how. The new page covers the two cases:

  • the loop runs in the Durable Object, on the experimental Sessions, Streams, and Tasks capabilities, with a sketch that streams a turn over SSE and resumes after eviction
  • the loop runs elsewhere, such as a container, and the object keeps the record in HarnessStore from agents/harness/store

It points to the Codex harness as a complete example and to AiSdkHarness as the smallest one.

Code samples typecheck against [email protected]. Internal links resolve and the page compiles as MDX. Replaces the build-your-own part of #34723.

@mattzcarey
mattzcarey requested review from a team, irvinebroque and rita3ko as code owners November 9, 2026 19:17
@github-actions github-actions Bot added the product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. label Nov 9, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed 28c1b2f · 0 findings · incremental

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-agents-build-your-own-harness.previews.developers.cloudflare.com (commit 28c1b2f)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://e97500b3.previews.developers.cloudflare.com 28c1b2f 2026-11-09T19:37:41.590Z Visit the dashboard ↗

@irvinebroque
irvinebroque added this pull request to the merge queue Nov 9, 2026
Merged via the queue into production with commit 3fe7479 Nov 9, 2026
15 checks passed
@irvinebroque
irvinebroque deleted the docs/agents-build-your-own-harness branch November 9, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. size/m

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants