Hmm what is this JavaScript sandbox? container, separate process, same Node process? Also does it have access to the MCP tokens? The harness credentials?
This is a potentially polarizing (but very welcome imo) change to pi. I'm such a huge fan of the pi SDK, and just yesterday I was trying to wire up the pi mcp extension to be used in a project and sonnet told me about the ongoing work in the 0.99.x tags. Didn't realize the next day it would be merged! Fantastic news.
Swival.dev has a tool to run Python code, and it can expose the MCP tools as Python functions.
This saves a couple prompts and tokens, but only in very specific cases, only with MCP servers that don't already support code mode, and only with large models.
In practice, I've not found that to make a real difference.
Plus, it's likely that more and more MCP servers are going to use code mode natively anyway.
Hmm what is this JavaScript sandbox? container, separate process, same Node process? Also does it have access to the MCP tokens? The harness credentials?
This is a potentially polarizing (but very welcome imo) change to pi. I'm such a huge fan of the pi SDK, and just yesterday I was trying to wire up the pi mcp extension to be used in a project and sonnet told me about the ongoing work in the 0.99.x tags. Didn't realize the next day it would be merged! Fantastic news.
MCPs are nice, but where things really start getting fun is when you have an extensible MCP like jilebi or hyper-mcp
@the_mitsuhiko - How is the session replay of Pi embedded in the article?
It doesn't look to be asciinema?
Swival.dev has a tool to run Python code, and it can expose the MCP tools as Python functions.
This saves a couple prompts and tokens, but only in very specific cases, only with MCP servers that don't already support code mode, and only with large models.
In practice, I've not found that to make a real difference.
Plus, it's likely that more and more MCP servers are going to use code mode natively anyway.