"Automate complex workflows by describing how you think through them."
Caution
This project is a research demonstrator. It is in early development and may change significantly. Using permissive AI tools in your repository requires careful attention to security considerations and careful human supervision, and even then things can still go wrong. Use it with caution, and at your own risk. See Disclaimer.
Amplifier is a coordinated and accelerated development system that turns your expertise into reusable AI tools without requiring code. Describe the step-by-step thinking process for handling a taskβa "metacognitive recipe"βand Amplifier builds a tool that executes it reliably. As you create more tools, they combine and build on each other, transforming individual solutions into a compounding automation system.
Click to expand prerequisite instructions
-
Check if prerequisites are already met.
-
python3 --version # Need 3.11+
-
uv --version # Need any version
-
node --version # Need any version
-
pnpm --version # Need any version
-
git --version # Need any version
-
-
Install what is missing.
Mac
brew install python3 node git pnpm uv
Ubuntu/Debian/WSL
# System packages sudo apt update && sudo apt install -y python3 python3-pip nodejs npm git # pnpm npm install -g pnpm pnpm setup && source ~/.bashrc # uv (Python package manager) curl -LsSf https://astral.sh/uv/install.sh | sh
Windows
- Install WSL2
- Run Ubuntu commands above inside WSL
Manual Downloads
Platform Note: Development and testing has primarily been done in Windows WSL2. macOS and Linux should work but have received less testing. Your mileage may vary.
# Clone Amplifier repository
git clone https://github.com/microsoft/amplifier.git amplifier
cd amplifier
# Install dependencies
make install
# Activate virtual environment
source .venv/bin/activate # Linux/Mac/WSL
# .venv\Scripts\Activate.ps1 # Windows PowerShell
# Start Claude Code
claude
Create your first tool in 5 steps:
-
Identify a task you want to automate (e.g., "weekly learning digest")
Need ideas? Try This:
/ultrathink-task I'm new to "metacognitive recipes". What are some useful tools I could create with Amplifier that show how recipes can self-evaluate and improve via feedback loops? Just brainstorm ideas, don't build them yet.
-
Describe the thinking process - How would an expert handle it step-by-step?
Need help? Try This:
/ultrathink-task This is my idea: <your idea here>. Can you help me describe the thinking process to handle it step-by-step?
Example of a metacognitive recipe:
I want to create a tool called "Research Synthesizer". Goal: help me research a topic by finding sources, extracting key themes, then asking me to choose which themes to explore in depth, and finally producing a summarized report. Steps: 1. Do a preliminary web research on the topic and collect notes. 2. Extract the broad themes from the notes. 3. Present me the list of themes and highlight the top 2-3 you recommend focusing on (with reasons). 4. Allow me to refine or add to that theme list. 5. Do in-depth research on the refined list of themes. 6. Draft a report based on the deep research, ensuring the report stays within my requested length and style. 7. Offer the draft for my review and incorporate any feedback.
-
Generate with
/ultrathink-task
- Let Amplifier build the tool/ultrathink-task <your metacognitive recipe here>
-
Refine through feedback - "Make connections more insightful"
Let's see how it works. Run <your generated tool>.
Then:
- Observe and note issues.
- Provide feedback in context.
- Iterate until satisfied.
Learn more with Create Your Own Tools - Deep dive into the process.
-
For existing GitHub projects
# Add your project as a submodule cd amplifier git submodule add [email protected]:yourname/my-project.git my-project
-
For new projects
# Create new project and add as a submodule cd amplifier mkdir my-project cd my-project git init git remote add origin [email protected]:yourname/my-project.git cd .. git submodule add ./my-project my-project
# Install dependencies
make install
# Activate virtual environment
source .venv/bin/activate # Linux/Mac/WSL
# .venv\Scripts\Activate.ps1 # Windows PowerShell
# Set up project context & start Claude
echo "# Project-specific AI guidance" > my-project/AGENTS.md
claude
Tell Claude Code:
I'm working on @yourproject/ with Amplifier.
Read @yourproject/AGENTS.md for project context.
Let's use /ddd:1-plan to design the architecture.
Note
Why use this? Clean git history per component, independent Amplifier updates, persistent context across sessions, scalable to multiple projects. See Workspace Pattern for Serious Projects below for full details.
Amplifier is designed so you can create new AI-powered tools just by describing how they should think. See the Create Your Own Tools guide for more information.
-
Tell Claude Code:
Walk me through creating my own scenario tool
-
View the documentation: Scenario Creation Guide
Try out one of the specialized experts:
-
Tell Claude Code:
Use the zen-architect agent to design my application's caching layer
Deploy bug-hunter to find why my login system is failing
Have security-guardian review my API implementation for vulnerabilities
-
View the files: Agents
Why use this? Eliminate doc drift and context poisoning. When docs lead and code follows, your specifications stay perfectly in sync with reality.
Execute a complete feature workflow with numbered slash commands:
/ddd:1-plan # Design the feature
/ddd:2-docs # Update all docs (iterate until approved)
/ddd:3-code-plan # Plan code changes
/ddd:4-code # Implement and test (iterate until working)
/ddd:5-finish # Clean up and finalize
Each phase creates artifacts the next phase reads. You control all git operations with explicit authorization at every step. The workflow prevents expensive mistakes by catching design flaws before implementation.
-
Tell Claude Code:
/ddd:0-help
-
View the documentation: Document-Driven Development Guide
Why use this? Stop wondering "what if" β build multiple solutions simultaneously and pick the winner.
# Try different approaches in parallel
make worktree feature-jwt # JWT authentication approach
make worktree feature-oauth # OAuth approach in parallel
# Compare and choose
make worktree-list # See all experiments
make worktree-rm feature-jwt # Remove the one you don't want
Each worktree is completely isolated with its own branch, environment, and context.
See the Worktree Guide for advanced features, such as hiding worktrees from VSCode when not in use, adopting branches from other machines, and more.
-
Tell Claude Code:
What make worktree commands are available to me?
-
View the documentation: Worktree Guide
See costs, model, and session info at a glance:
Example: ~/repos/amplifier (main β origin) Opus 4.1 π°$4.67 β±18m
Shows:
- Current directory and git branch/status
- Model name with cost-tier coloring (red=high, yellow=medium, blue=low)
- Running session cost and duration
Enable with:
/statusline use the script at .claude/tools/statusline-example.sh
Never lose context again. Amplifier automatically exports your entire conversation before compaction, preserving all the details that would otherwise be lost. When Claude Code compacts your conversation to stay within token limits, you can instantly restore the full history.
Automatic Export: A PreCompact hook captures your conversation before any compaction event:
- Saves complete transcript with all content types (messages, tool usage, thinking blocks)
- Timestamps and organizes transcripts in
.data/transcripts/
- Works for both manual (
/compact
) and auto-compact events
Easy Restoration: Use the /transcripts
command in Claude Code to restore your full conversation:
/transcripts # Restores entire conversation history
The transcript system helps you:
- Continue complex work after compaction without losing details
- Review past decisions with full context
- Search through conversations to find specific discussions
- Export conversations for sharing or documentation
Transcript Commands (via Makefile):
make transcript-list # List available transcripts
make transcript-search TERM="auth" # Search past conversations
make transcript-restore # Restore full lineage (for CLI use)
For long-term development, consider using the workspace pattern where Amplifier hosts your project as a git submodule. This architectural approach provides:
- Clean boundaries - Project files stay in project directory, Amplifier stays pristine and updatable
- Version control isolation - Each component maintains independent git history
- Context persistence - AGENTS.md preserves project guidance across sessions
- Scalability - Work on multiple projects simultaneously without interference
- Philosophy alignment - Project-specific decision filters and architectural principles
Perfect for:
- Projects that will live for months or years
- Codebases with their own git repository
- Teams collaborating on shared projects
- When you want to update Amplifier without affecting your projects
- Working on multiple projects that need isolation
The pattern inverts the typical relationship: instead of your project containing Amplifier, Amplifier becomes a dedicated workspace that hosts your projects. Each project gets persistent context through AGENTS.md (AI guidance), philosophy documents (decision filters), and clear namespace boundaries using @project-name/
syntax.
-
Tell Claude Code:
What are the recommended workspace patterns for serious projects?
-
View the documentation: Workspace Pattern Guide - complete setup, usage patterns, and migration from
ai_working/
.
Want to get the most out of Amplifier? Check out The Amplifier Way for battle-tested strategies including:
-
Understanding capability vs. context
-
Decomposition strategies for complex tasks
-
Using transcript tools to capture and improve workflows
-
Demo-driven development patterns
-
Practical tips for effective AI-assisted development
-
Tell Claude Code:
What are the best practices to get the MOST out of Amplifier?
-
View the documentation: The Amplifier Way
make check # Format, lint, type-check
make test # Run tests
make ai-context-files # Rebuild AI context
Testing and benchmarking are critical to ensuring that any product leveraging AI, including Amplifier, is quantitatively measured for performance and reliability. Currently, we leverage terminal-bench to reproducibly benchmark Amplifier against other agents. Further details on how to run the benchmark can be found in tests/terminal_bench/README.md.
[!IMPORTANT] > This is an experimental system. We break things frequently.
- Not accepting contributions yet (but we plan to!)
- No stability guarantees
- Pin commits if you need consistency
- This is a learning resource, not production software
- No support provided - See SUPPORT.md
Note
This project is not currently accepting external contributions, but we're actively working toward opening this up. We value community input and look forward to collaborating in the future. For now, feel free to fork and experiment!
Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit Contributor License Agreements.
When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.