Repository navigation
[Agents] Move Code Mode to a concept and a Runtime section - #35060
Open
mattzcarey wants to merge 2 commits into
Open
mattzcarey wants to merge 2 commits into
mattzcarey wants to merge 2 commits into
Conversation
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://docs-agents-code-mode.previews.developers.cloudflare.com (commit 20e6d84)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
Member
Author
|
/draft-never-stale |
Contributor
|
This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:
|
Contributor
mattzcarey
force-pushed
the
docs/agents-code-mode
branch
from
November 10, 2026 12:02
aefa2c4 to
ca4ef7f
Compare
irvinebroque
approved these changes
Nov 10, 2026
mattzcarey
marked this pull request as ready for review
November 11, 2026 11:09
mattzcarey
requested review from
a team,
G4brym,
GregBrimble,
MattieTK,
WalshyDev,
asamborski,
celso,
kennyj42,
korinne and
vy-ton
as code owners
November 11, 2026 11:09
mattzcarey
requested review from
a team,
ay-cf,
bwesterb,
cf-jian,
cf-rhett,
csujedihy,
danielegm,
ericclemmons,
fb1337,
jhutchings1,
jiulingz,
krys-cf,
lpraneis,
marinaelmore,
migueldemoura,
ngayerie,
renandincer,
rianvdm,
samin-cf,
stechedo,
tsmith512,
vs-mg,
xmflsct,
yomna-shousha and
zeinjaber
as code owners
November 24, 2026 12:12
…ages directly, and plainer wording
Member
Author
|
this removes a bunch of the codemode docs which were talking about specific features of the codemode SDK. Need to align on whether we are keeping those features or moving entirely to recommending cloudflare/computer |
mbullock1986
approved these changes
Nov 27, 2026
mbullock1986
left a comment
Collaborator
There was a problem hiding this comment.
From a rules PM perspective I do not think anything is directly related to me / blocking. So approving from Rules side.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Code Mode moves out of Tools. A new concept page,
/agents/concepts/code-mode/, explains why an agent lets the model write code that calls tools, and a new Runtime section,/agents/runtime/code-mode/, covers how to run that code. The ninetools/codemode/*pages and the Code Mode MCP server guide are removed, with redirects to the new pages.codemode:*modules (how an agent gets many more tools), and the sandbox kept apart from the credentials. It covers Code Mode in the agent (recommended) and on an MCP server (searchandexecute), and when to call tools directly.CodemodeBackend, host modules,codemode:tools, MCP tools, an API module, a container from code, approvals withctx.interrupt()), and a page that maps@cloudflare/codemode(createCodeTool(),DynamicWorkerExecutor, connectors, the durable runtime) to Computer. The overview links to Execution for skill scripts.ctx.interrupt()instead of the durable runtime from@cloudflare/codemode, and the AI Search human-in-the-loop tutorial is rebuilt on Computer.What changed from the approved version: it is rebased onto
productionon its own (it was stacked on #35056, which is closed), so links that pointed at #35056's/agents/tools/workspace/page now point at/agents/tools/filesystem/. Skill execution stays at/agents/skills/execution/(owned by #35544): this PR no longer moves that page, redirects it, or edits the Skills pages. Links to the redirected Code Mode URLs are replaced with their destinations, which fixes the failing build. The concept page's wording is plainer and its sidebar order no longer collides with the Sessions concept. GitHub kept the earlier approval, but it covers the version before this rebase, so it needs a fresh look.pnpm run build,pnpm run lint:nimbus, andbin/validate-redirects.tspass locally. The Computer and human-in-the-loop samples compile withtsc --strictagainst@cloudflare/[email protected]and[email protected]. It merges with #35542, #35544, #35545, #35548, #35550, and #35568 in either order: the only shared files arepublic/__redirects(different lines),harnesses/think/tools.mdxandharnesses/think/actions.mdx(one link each).