Custom Tools Tutorials¶
Step-by-step guides for building custom Spin components that add domain-specific tools to DeepFabric's Tool Execution framework.
Choose Your Language¶
-
Python
Create weather tools using componentize-py
-
Go
Build weather tools with the Spin Go SDK
-
Rust
Build weather tools with the Spin Rust SDK
-
TypeScript
Build weather tools with the Spin JS SDK
Workflow Overview¶
Each tutorial follows the same pattern:
- Create a Spin component - Implement tool handlers in your language of choice
- Register in spin.toml - Add your component to the main Spin configuration
- Build and run - Compile to WASM and start the Spin server
- Configure DeepFabric - Define your tools in the YAML config with
component:routing - Generate datasets - Run DeepFabric to create training data using your tools
Prerequisites¶
All tutorials assume you have:
- Spin CLI installed
- Language-specific toolchain (Rust/TinyGo/Python/Node.js)
- DeepFabric CLI installed