Amplifier Tool Generator

November 21, 2025 ยท View on GitHub

AI-powered CLI tool generation using the Amplifier framework.

Quick Start

1. Set up your API key

Create a .env file with your Anthropic API key:

echo "ANTHROPIC_API_KEY=sk-ant-your-key-here" > .env

Or export it directly:

export ANTHROPIC_API_KEY=sk-ant-your-key-here

2. Choose how to run

Run the web app:

uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=amplifier-app-tool-generator" tool-generator-web

The web app will open automatically at http://localhost:3000

Usage:

  1. Enter your tool description in the web interface
  2. Click "Generate Tool"
  3. Wait 60-90 seconds for generation to complete
  4. Browse generated tools in the Library tab
  5. Execute tools directly from the web interface

Option B: Command Line Interface

Run the CLI tool directly:

uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=tool_generator_poc" tool-generator-poc "Create a tool that summarizes web pages"

Usage:

# Generate a tool
uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=tool_generator_poc" tool-generator-poc "your tool description here"

# Example: Web scraping tool
uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=tool_generator_poc" tool-generator-poc "Create a tool that scrapes product prices from e-commerce sites"

# Example: Data analysis tool
uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=tool_generator_poc" tool-generator-poc "Create a tool that analyzes CSV files and generates reports"

3. Find your generated tools

Generated tools are saved to:

~/.amplifier-tool-generator/output/

You can also customize the output directory:

export TOOL_GENERATOR_OUTPUT_DIR=/path/to/your/tools

# Then run either web or CLI
uvx --from "git+https://github.com/samueljklee/amplifier-app-tool-generator#subdirectory=amplifier-app-tool-generator" tool-generator-web

What's Included

  • amplifier-app-tool-generator: Web interface with real-time progress tracking
  • tool_generator_poc: CLI tool for command-line generation
  • amplifier-module-tool-code-generator: Code generation module
  • amplifier-module-tool-validator: Tool validation module

Requirements

Documentation

Architecture

Built with:

  • Backend: FastAPI with Server-Sent Events for real-time updates
  • Frontend: React + TypeScript + Vite
  • AI Framework: Amplifier (modular AI agent system)
  • LLM: Claude (Anthropic)

License

MIT License