Skip to main content
Code Mode lets an Agent do in one step what would otherwise take many: it writes a short script that makes many tool calls, side by side or in order, and reads back only the result. Reach for it when a task repeats the same call over many items, such as checking a list of pages or gathering results from several services, so the work is faster and the chat doesn’t fill up with every intermediate result. You don’t call Code Mode yourself. When it’s on, the Agent uses it whenever a task fits, and the chat shows a card with the calls the script made.

Set up Code Mode

  1. Open Settings → Code Mode. You can also open Code Mode from the Built-in tab of the Plugins page.
  2. Under Script Access, turn on what a script may call. Each call still asks you as the chat’s Permission mode says.
  3. Choose which models may write scripts, what the chat shows, and what happens when a script runs long.

Settings

Script Access lists what a script may call: The other options:

Code Mode outside a chat

When a script runs outside a chat, such as in an automation, it calls only tools that read: built-in searches and reads, public web pages, ordinary files, and MCP tools that don’t say they change anything. Enconvo checks each call again right before it runs.

Use a script in a Skill

A Skill can keep a Code Mode script in its own scripts folder and run it as one of its steps. See Skills.

Troubleshooting

Agents

Choose an Agent’s tools and permissions.

Skills

Save a repeatable task, with its own scripts.

Code Runner

Run code and shell commands.

MCP Servers

Connect external services as tools.