Skip to main content

2 posts tagged with "tools"

View All Tags

run_script: Let the Agent Batch Its Tool Calls in JavaScript

· 8 min read
Stephan Janssen
Creator of DevoxxGenie

DevoxxGenie 1.16.0 ships a new experimental agent tool, run_script. Instead of making one tool call per round trip, the agent can write a short JavaScript snippet that calls several tools, does the looping and filtering itself, and hands back only the answer.

This idea is often called code mode, and it was proposed and implemented for DevoxxGenie by @omarmahamid (#1352, #1353). Thank you, Omar! This post explains the problem it solves, how it works, and how it stays inside the agent's existing safety rules.

Tell the Agent How to Work: Editable Tool Descriptions

· 5 min read
Stephan Janssen
Creator of DevoxxGenie

An agent decides which tool to call almost entirely from one thing: the tool's description. Not its name, not its parameters — the sentence or two that says "Read the contents of a file in the project" is what the model weighs when it picks read_file over run_command.

Until now those descriptions were string literals compiled into the plugin. You could switch a tool off, but you couldn't tell the model anything about the tools that remained. So "use ./gradlew, never a global gradle" or "prefer semantic search over grep in this repo" meant repeating yourself in every prompt, or editing the plugin.

You can now rewrite any built-in tool's description from Settings.