Expand description
Executor registry — config-driven tool execution with pluggable backends.
The ToolExecutor trait abstracts tool execution. Implementations include:
DirectExecutor— wraps existingToolRegistry(backward compat)ShellExecutor— runs shell commandsHttpExecutor— makes HTTP callsMcpExecutor— delegates to MCP serversLlmExecutor— delegates to an LLM
Modules§
- direct
- Direct executor — wraps an existing
ToolRegistryfor 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§
- Config
Tool - A tool defined by configuration (executor + config).
- Executor
Registry - Registry of executors and config-defined tools.
Traits§
- Tool
Executor - Trait for executing tools via different backends.