Tool modes

Expose 2, 18, 31 or 44 tools - every schema byte is on every prompt, so the tool set is a setting.

Tool modes#

Every tool schema is sent to the model on every prompt. Forty-four tools with full descriptions can cost more of your context window than the code you are working on, so the tool set is a configuration choice, not a fixed list.

Switch modes with the VENIRA_TOOL_MODE environment variable:

ModeToolsGood forContents
minimal2Tightest context; one doorexecute_js (JS SDK in the description, ~2 737 B total) plus shell_status, which also cancels a background run with action="cancel" and kill_key
core18Small models and tight contextShell, read, search, edit, snapshot, git, memory
default31Everyday codingCore plus code intelligence, no CI/CD
expert44Full workflowsDefault plus pull requests and CI

Each mode has one tool fewer when execute_js is switched off (1 / 17 / 30 / 43). An unset VENIRA_JS_EXEC_MODE in minimal defaults to semi-auto (ask under the strict profile) so the only door stays open; an explicit off is still respected. Set VENIRA_JS_EXEC_MODE=off if you never want the agent to run JavaScript.

How the modes relate#

minimal is an allowlist of two tools. Every read, edit, search, shell and git call goes through execute_js. shell_status stays outside that door because a background command outlives the snippet that started it, and in this mode it also cancels (shell_cancel is not advertised).

core is an allowlist: it is the smallest set that still covers a full read - search - edit - verify - undo loop, including snapshot for rollback, the git tool (status, diff, log, commit, push) and the shared memory note.

default adds the code-intelligence layer (outline_symbol, symbol_references, dependency_graph) for agents that navigate unfamiliar code.

expert adds the workflow layer: pull requests and the CI integrations (GitHub, GitLab, Bitbucket) with bounded waiting.

Setup-only tools (first-run installer helpers) join the set when VENIRA_SETUP_TOOLS=1.

Picking a mode#

  • Paying for every schema on every prompt, and happy to batch work through one JavaScript call? Use minimal.
  • Running a small local model, or a client that puts the schemas on a tight system prompt? Use core.
  • Everyday coding with a mid-size or large model? default covers it; you are not missing PR/CI automation unless you actually use it.
  • Doing release work, PR sweeps or CI triage through the agent? expert.

The mode is read at server start; change the variable and restart your client to apply it.