What problem does it solve?
This skill solves the challenge of integrating local host capabilities, such as file system access or shell commands, into Cloudflare-based agent runtimes while maintaining security and deployment integrity.
Core Features & Use Cases
- Dual-Runtime Support: Seamlessly define tools that run either in the workerd environment or on the Bun host process.
- Permissioned Execution: Enforce strict side-effect controls (read, write, exec) for host-side tools to prevent unauthorized system access.
- Use Case: Build a coding agent that can read project files and execute shell commands locally while keeping the core agent logic deployable as a standard Cloudflare worker.
Quick Start
Add a new host tool to your agent by creating a tools.host.ts file in your agent route directory and defining your function with the hostTool wrapper.