docs: rename Code Execution extension to Code Mode extension (#7316)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ posts. Since the approach and the benefits are clearly laid out in those posts I
|
||||
|
||||
## In goose
|
||||
|
||||
In v1.17.0 of goose, we've introduced an open source implementation of this idea in a new platform extension called: Code Execution.
|
||||
In v1.17.0 of goose, we've introduced an open source implementation of this idea in a new platform extension called: Code Mode.
|
||||
Our implementation generates a JavaScript interface representing the connected MCP tools and then lets the model write code to run
|
||||
against it in [boa](https://github.com/boa-dev/boa) which is an embeddable JavaScript engine. One neat feature of boa we were able
|
||||
to take advantage of was the concept of [NativeFunction](https://docs.rs/boa_engine/latest/boa_engine/native_function/struct.NativeFunction.html).
|
||||
@@ -47,7 +47,7 @@ MCP server with ease!
|
||||
Our hope is that we improve tool calling performance and handling of large numbers of tools in goose, but
|
||||
also provide an open source implementation of this emerging approach.
|
||||
|
||||
* Try out the feature by enabling the ["Code Execution" extension](https://github.com/block/goose/blob/main/crates/goose/src/agents/code_execution_extension.rs) in v1.17.0 or later of goose by clicking extensions on the left side of the desktop app or running `goose configure` on cli
|
||||
* Try out the feature by enabling the ["Code Mode" extension](https://github.com/block/goose/blob/main/crates/goose/src/agents/platform_extensions/code_execution.rs) in v1.17.0 or later of goose by clicking extensions on the left side of the desktop app or running `goose configure` on cli
|
||||
* Please give us feedback on how it works for you by joining our [discord](https://discord.gg/goose-oss).
|
||||
|
||||
Kudos to my colleague [Mic Neale](https://github.com/michaelneale) for collaborating with me on the implementation!
|
||||
|
||||
@@ -37,7 +37,7 @@ When the concept of Code Mode landed on socials, many people claimed it was a re
|
||||
|
||||
### How goose Implemented Code Mode
|
||||
|
||||
[goose](/) took a unique approach by making [Code Mode](/blog/2025/12/15/code-mode-mcp) itself an extension called the Code Execution extension. When active, it wraps your other extensions and exposes them as JavaScript modules, allowing the LLM to see only three tools instead of eighty.
|
||||
[goose](/) took a unique approach by making [Code Mode](/blog/2025/12/15/code-mode-mcp) itself an extension called the Code Mode extension. When active, it wraps your other extensions and exposes them as JavaScript modules, allowing the LLM to see only three tools instead of eighty.
|
||||
|
||||
When the agent needs to perform a complex task, it writes a script that looks something like this:
|
||||
|
||||
@@ -103,7 +103,7 @@ Code Mode helps us take a step forward in building agents that can scale to hand
|
||||
|
||||
---
|
||||
|
||||
*Ready to try Code Mode? Enable the "Code Execution" extension in [goose](/docs/quickstart) v1.17.0 or later. Join our [Discord](https://discord.gg/goose-oss) to share your experience!*
|
||||
*Ready to try Code Mode? Enable the "Code Mode" extension in [goose](/docs/quickstart) v1.17.0 or later. Join our [Discord](https://discord.gg/goose-oss) to share your experience!*
|
||||
|
||||
<head>
|
||||
<meta property="og:title" content="Code Mode Doesn't Replace MCP (Here's What It Actually Does)" />
|
||||
|
||||
@@ -27,12 +27,12 @@ Code Mode wraps your MCP tools as JavaScript modules, allowing the agent to comb
|
||||
|
||||
## 2. goose Supports Code Mode
|
||||
|
||||
Code Mode support landed in goose v1.17.0 in December 2025. It ships as a platform extension called "Code Execution" that you can enable in the desktop app or CLI.
|
||||
Code Mode support landed in goose v1.17.0 in December 2025. It ships as a platform extension called "Code Mode" that you can enable in the desktop app or CLI.
|
||||
|
||||
To enable it:
|
||||
|
||||
- **Desktop app:** Click the extensions icon and toggle on "Code Execution"
|
||||
- **CLI:** Run `goose configure` and enable the Code Execution extension
|
||||
- **Desktop app:** Click the extensions icon and toggle on "Code Mode"
|
||||
- **CLI:** Run `goose configure` and enable the Code Mode extension
|
||||
|
||||
Since its initial implementation, we've added so many improvements!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user