Skip to main content

Crate phi_kernel_tools

Crate phi_kernel_tools 

Source
Expand description

Kernel tools for the phi-agent framework.

This crate provides the Tool implementations that the LLM uses to interact with agent-works infrastructure:

  • file: read_file, write_file, list_files
  • multi-agent: spawn, send_message, followup_task, wait, list, close
  • shell: execute_command

Each tool implements agent_base::Tool (or TypedTool) and delegates to the corresponding agent_works infrastructure types.

§Feature gates

FeatureTools provided
fileReadFileTool, WriteFileTool, ListFilesTool
multi-agent6 multi-agent tools
shellLocalShellTool

All features are opt-in. Use full to enable all.