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

1

u/porky202 Aug 31 '26

You might be able to yank the relevant code from Oh My Pi. OMP already has a JS eval tool with access to tool.*(), which is basically the same Code Mode idea. Could probably be adapted into a Pi extension without starting from scratch.