- instead of the agent calling the tools directly, code mode let the agent write a short script to do a batch/netested call of the tools so that there are less back-and-forth calls between the harness and LLM.
Claude code did not introduced this. Cloudflare did last year. In fact, both claude code and opencode are late in the game. Goose had this since Dec 2025. Codex since March 2026, pi and droid since last month.
What are you aware of? That opencode has had it experimental since a few months ago and it’s now officially on since last month and that claude code had just introduced it as experimental 10 days ago?
Yes, code mode is old news. You could have mentioned pi, or codex or something else, but you chose to mention the tool that is the most late in the game
View all comments
64
u/megablue 8d ago edited 8d ago
brief description of what it does
- instead of the agent calling the tools directly, code mode let the agent write a short script to do a batch/netested call of the tools so that there are less back-and-forth calls between the harness and LLM.
to enable it
add following to opencode.json
"experimental": { "full_codemode": true }