Skip to main content

Module executor

Module executor 

Source
Expand description

Executor registry — config-driven tool execution with pluggable backends.

The ToolExecutor trait abstracts tool execution. Implementations include:

  • DirectExecutor — wraps existing ToolRegistry (backward compat)
  • ShellExecutor — runs shell commands
  • HttpExecutor — makes HTTP calls
  • McpExecutor — delegates to MCP servers
  • LlmExecutor — delegates to an LLM

Modules§

direct
Direct executor — wraps an existing ToolRegistry for backward compatibility.
http
HTTP executor — executes tools as HTTP requests.
llm
LLM executor — delegates tool calls to an LLM.
mcp
MCP executor — delegates tool calls to MCP servers.
shell
Shell executor — runs tools as shell commands via VirtualExecutor.

Structs§

ConfigTool
A tool defined by configuration (executor + config).
ExecutorRegistry
Registry of executors and config-defined tools.

Traits§

ToolExecutor
Trait for executing tools via different backends.