Skip to content

rysweet/MicrosoftHackathon2025-AgenticCoding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

amplihack

Development framework for Claude Code with specialized agents and automated workflows.

πŸ“š View Full Documentation

uvx --from git+https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding amplihack launch

Launches Claude Code with preconfigured agents. No installation needed.

Table of Contents

Quick Start

Prerequisites

  • Python 3.8+, Node.js 18+, npm, git
  • GitHub CLI (gh) for PR/issue management
  • uv (astral.sh/uv)

For detailed installation instructions, see docs/PREREQUISITES.md.

Basic Usage

# Launch Claude Code with amplihack
amplihack launch

# With Azure OpenAI (requires azure.env configuration)
amplihack launch --with-proxy-config ./azure.env

# Work directly in a GitHub repository
amplihack launch --checkout-repo owner/repo

Not sure where to start? Use the command above to run from uvx, then tell Claude Code to cd /path/to/my/project and provide your prompt. All prompts are automatically wrapped with /amplihack:ultrathink for workflow orchestration (use --no-ultrathink flag to opt-out for simple tasks).

Create Alias for Easy Access

Instead of typing the full uvx command, create an alias:

# Add to your ~/.bashrc or ~/.zshrc
alias amplihack='uvx --from git+https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding amplihack'

# Reload your shell
source ~/.bashrc  # or source ~/.zshrc

Now you can simply run:

amplihack launch
amplihack launch --with-proxy-config ./azure.env
amplihack launch --checkout-repo owner/repo

Core Concepts

Workflow

Iterative multi-step development process (customizeable via DEFAULT_WORKFLOW.md)

  1. Clarify requirements
  2. Create issue
  3. Setup branch
  4. Design tests
  5. Implement
  6. Simplify
  7. Test
  8. Commit
  9. Create PR
  10. Review
  11. Integrate feedback
  12. Check philosophy
  13. Prepare merge
  14. Cleanup

Philosophy

  • Simplicity - Start simple, add only justified complexity
  • Modular - Self-contained modules with clear interfaces
  • Working code - No stubs or dead code
  • Test-driven - Tests before implementation

Configuration

amplihack works with Claude Code and Anthropic models by default. For additional capabilities, you can configure Azure OpenAI integration.

Anthropic (Default)

amplihack works with Claude Code and Anthropic models out of the box. No additional configuration needed.

Azure OpenAI

To use Azure OpenAI models, create an azure.env file with the following minimum configuration:

# Required: Your Azure OpenAI API key
AZURE_OPENAI_API_KEY=your-api-key

# Required: Azure OpenAI endpoint (base URL without path)
AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com

# Required: Model deployment name (use either BIG_MODEL or AZURE_OPENAI_DEPLOYMENT_NAME)
AZURE_OPENAI_DEPLOYMENT_NAME=gpt-4.1

# Optional: API version (defaults to 2025-04-01-preview)
AZURE_OPENAI_API_VERSION=2024-12-01-preview

Launch with Azure configuration:

amplihack launch --with-proxy-config ./azure.env

Note: The endpoint should be just the base URL (e.g., https://your-resource.openai.azure.com) without /openai or other path suffixes. The proxy will automatically construct the correct API paths.

Security Warning: Never commit API keys to version control. Use environment variables or secure key management systems.

GitHub Copilot CLI

amplihack also supports GitHub Copilot CLI integration. See docs/github-copilot-litellm-integration.md for setup instructions.

Custom Workflows

The iterative-step workflow is fully customizable. Edit .claude/workflow/DEFAULT_WORKFLOW.md to modify the development process - changes apply immediately to /ultrathink and other commands. See docs/WORKFLOW_COMPLETION.md for detailed customization instructions.

Commands Reference

Command Description
amplihack new Generate goal-seeking agents from prompts
/amplihack:ultrathink Deep multi-agent analysis (now DEFAULT for all prompts)
/amplihack:analyze Code analysis and philosophy compliance review
/amplihack:auto Autonomous agentic loop (clarify β†’ plan β†’ execute)
/amplihack:cascade Fallback cascade for resilient operations
/amplihack:debate Multi-agent debate for complex decisions
/amplihack:expert-panel Multi-expert review with voting
/amplihack:n-version N-version programming for critical code
/amplihack:socratic Generate Socratic questions to challenge claims
/amplihack:reflect Session reflection and improvement analysis
/amplihack:improve Capture learnings and implement improvements
/amplihack:fix Fix common errors and code issues
/amplihack:modular-build Build self-contained modules with clear contracts
/amplihack:knowledge-builder Build comprehensive knowledge base
/amplihack:transcripts Conversation transcript management
/amplihack:xpia Security analysis and threat detection
/amplihack:customize Manage user-specific preferences
/amplihack:ddd:0-help Document-Driven Development help and guidance
/amplihack:ddd:1-plan Phase 0: Planning & Alignment
/amplihack:ddd:2-docs Phase 1: Documentation Retcon
/amplihack:ddd:3-code-plan Phase 3: Implementation Planning
/amplihack:ddd:4-code Phase 4: Code Implementation
/amplihack:ddd:5-finish Phase 5: Testing & Phase 6: Cleanup
/amplihack:ddd:prime Prime context with DDD overview
/amplihack:ddd:status Check current DDD phase and progress
/amplihack:lock Enable continuous work mode
/amplihack:unlock Disable continuous work mode
/amplihack:install Install amplihack tools
/amplihack:uninstall Uninstall amplihack tools

Agents Reference

Core Agents (6)

Agent Purpose
api-designer API design and endpoint structure
architect System design and architecture decisions
builder Code generation and implementation
optimizer Performance optimization and efficiency
reviewer Code quality and best practices review
tester Test generation and validation

Specialized Agents (23)

Agent Purpose
ambiguity Clarify ambiguous requirements
amplifier-cli-architect CLI tool design and architecture
analyzer Deep code analysis
azure-kubernetes-expert Azure Kubernetes Service expertise
ci-diagnostic-workflow CI/CD pipeline diagnostics
cleanup Remove artifacts and enforce philosophy
database Database design and optimization
fallback-cascade Resilient fallback strategies
fix-agent Automated error fixing
integration System integration patterns
knowledge-archaeologist Extract and preserve knowledge
memory-manager Context and state management
multi-agent-debate Facilitate multi-perspective debates
n-version-validator Validate N-version implementations
patterns Design pattern recommendations
pre-commit-diagnostic Pre-commit hook diagnostics
preference-reviewer User preference validation
prompt-writer Effective prompt engineering
rust-programming-expert Rust language expertise
security Security analysis and vulnerability detection
visualization-architect Data visualization design
xpia-defense Advanced threat detection
philosophy-guardian Philosophy compliance and simplicity validation

Features

Remote Execution (Beta)

Distribute agentic work across Azure VMs:

amplihack remote auto "implement feature" --region westus3 --vm-size s

Documentation: .claude/tools/amplihack/remote/README.md

Workflow Orchestration by Default (NEW!)

All prompts are automatically wrapped with /amplihack:ultrathink for maximum effectiveness. This enables:

  • Multi-agent workflow orchestration
  • Multi-step development workflow
  • Automated architecture, building, and testing
  • Philosophy compliance checking

Benchmark results: Amplihack without orchestration = vanilla Claude. The orchestration IS the value! See benchmarking guide for measuring performance.

Opt-out for simple tasks:

# Skip orchestration with --no-ultrathink flag
amplihack launch --no-ultrathink -- -p "simple prompt"

# Or use slash commands directly
amplihack launch -- -p "/analyze src/file.py"

How it works:

# Before: Manual orchestration required
amplihack launch -- -p "/amplihack:ultrathink implement feature"

# Now: Automatic orchestration (same result)
amplihack launch -- -p "implement feature"

Goal-Seeking Agent Generator

Create autonomous agents from simple prompts:

# Write your goal
cat > my_goal.md <<'EOF'
# Goal: Automated Code Review
Review Python code and suggest improvements.
EOF

# Generate agent
amplihack new --file my_goal.md

# Run agent
cd goal_agents/automated-code-review-agent
python main.py

Features:

  • Generate agents in < 0.1 seconds
  • Automatic skill matching
  • Multi-phase execution planning
  • Standalone, distributable agents

Learn more: Goal Agent Generator Guide

Profile Management

Reduce token usage by 72% with profile-based component filtering:

# Install with filtering
amplihack install

# Result: Only 9/32 agents staged (72% reduction)

# Launch with filtering
amplihack launch

# Result: Focused environment for coding tasks

Built-in Profiles:

  • all: Full environment (32 agents, default)
  • coding: Development-focused (9 agents)
  • research: Investigation-focused (7 agents)

Learn more: Profile Management Guide

GitHub Pages Documentation Generation

Generate professional documentation sites automatically:

  • Auto-discovers content from docs/, README.md, and .claude/commands/
  • Three-pass validation ensures quality documentation
  • Safe gh-pages deployment with rollback support
  • Local preview server for testing
  • MkDocs + Material theme integration

Learn more:

Additional Features

Statusline

Real-time session information displayed at the bottom of Claude Code showing:

  • Current directory and git status (branch, clean/dirty)
  • Active model (Opus/Sonnet/Haiku)
  • Token usage 🎫, Cost πŸ’°, and Duration ⏱
  • Feature indicators: Power-Steering 🚦, Lock Mode πŸ”’

Example:

~/src/amplihack (main β†’ origin) Sonnet 🎫 234K πŸ’°$1.23 ⏱12m

Full documentation: docs/reference/STATUSLINE.md

Documentation

Getting Started

Features

Patterns

Configuration

Development

Methodology

Security

Core Principles

Development

Contributing

Fork, submit PRs. Add agents to .claude/agents/, patterns to .claude/context/PATTERNS.md.

Local Development

git clone https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding.git
cd MicrosoftHackathon2025-AgenticCoding
uv pip install -e .
amplihack launch

Testing

pytest tests/

RustyClawd Integration

Amplihack supports RustyClawd, a high-performance Rust implementation of Claude Code.

Quick Start

# Force RustyClawd usage explicitly
amplihack RustyClawd -- -p "your prompt"

# Or set environment variable
export AMPLIHACK_USE_RUSTYCLAWD=1
amplihack launch -- -p "your prompt"

Benefits

  • 5-10x faster startup compared to Node.js Claude Code
  • 7x less memory usage
  • Rust safety guarantees - no runtime errors
  • Same features - drop-in compatible

Installation

RustyClawd must be available in your system PATH:

Option 1: Install via cargo

cargo install --git https://github.com/rysweet/RustyClawd rusty

Option 2: Build from source

git clone https://github.com/rysweet/RustyClawd
cd RustyClawd
cargo build --release
# Add to PATH or use RUSTYCLAWD_PATH environment variable
export RUSTYCLAWD_PATH=$PWD/target/release/rusty

Option 3: Custom binary location

# Point to your custom RustyClawd build
export RUSTYCLAWD_PATH=/path/to/your/rusty

Configuration

  • AMPLIHACK_USE_RUSTYCLAWD: Force RustyClawd usage (1/true/yes)
  • RUSTYCLAWD_PATH: Custom path to RustyClawd binary (optional)

License

MIT. See LICENSE.

About

Hackathon project to build self-improving agentic coding system

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5