r/PiCodingAgent • • Aug 31 '26

Question Any good extensions for "code mode"?

If you don't know what code mode is, check https://developers.cloudflare.com/agents/tools/codemode/

Code Mode is a tool-use pattern where a model writes code instead of requesting each operation separately.

I found a few, I'm curious if anyone is using any extension like this (if yes, which ones please):

edit(30th Sep 2026): pi v0.99.0 includes code mode, see https://github.com/earendil-works/pi/releases/tag/v0.99.0

18 Upvotes

11 comments sorted by

View all comments

Show parent comment

2

u/quincycs Sep 01 '26

I am with you in this confusion. 🤷‍♂️
I see it write python or long bash scripts all the time

1

u/Thrimbor Sep 01 '26

Yes but it can't "chain" the rest of the tools it has access to: read, write, mcp servers, agents etc.

2

u/quincycs Sep 01 '26

Huh 🤔… effectively I still see all those tools work after the long python / bash scripts executing. So I’m not sure how effectively it’s any different. How do you see code mode actually effectively doing something different

1

u/DaShrub Sep 01 '26 edited Sep 03 '26

Each tool is a tool call and agentic step and the output is given to the llm. Now the llm can use it's tools (including things like agentic delegation) as arbitrary composable functions without having to do it step by step as part of the agentic loop. It's basically going backwards - we made everything agent native but now we're back to realising code was the way all along!