Getting Started
SmartTools lets you build custom AI-powered CLI commands using simple YAML configuration. Create tools that work with any AI provider and compose them like Unix pipes.
What is SmartTools?
SmartTools is a lightweight personal tool builder that lets you:
- Create custom CLI commands that call AI providers
- Chain prompts with Python code for complex workflows
- Use tools like Unix pipes - read from stdin, write to stdout
- Share and discover tools through the registry
Quick Start
Get up and running in under a minute:
# Install SmartTools
pip install smarttools
# Create your first tool (choose your style)
smarttools ui # Visual builder with menus
smarttools create # CLI wizard
# Or install a tool from the registry
smarttools registry install official/summarize
# Use it!
cat article.txt | summarize
Two Ways to Build
smarttools ui launches a visual builder with menus and forms.
smarttools create uses a command-line wizard. Both create the same YAML config files.
How It Works
Each tool is a YAML file that defines:
- Arguments - Custom flags your tool accepts
- Steps - Prompts to send to AI or Python code to run
- Output - How to format the final result
Here's a simple example:
name: summarize
version: "1.0.0"
description: Summarize text using AI
arguments:
- flag: --max-length
variable: max_length
default: "200"
description: Maximum summary length in words
steps:
- type: prompt
provider: claude
prompt: |
Summarize the following text in {max_length} words or less:
{input}
output_var: summary
output: "{summary}"
Next Steps
- Installation Guide - Detailed setup instructions
- Visual Builder - Build tools with menus (no YAML required)
- Your First Tool - Step-by-step YAML tutorial
- Providers - Configure AI providers
- Browse Tools - Discover community tools