WRATH Main Logo
Proudly Open Source

From Scratch. To Published Project.

WRATH writes completely unique applications from a single prompt, actively hunts down bugs, and seamlessly rewrites code to handle massive updates. Don't just scaffold—build the whole thing.

View Source Code
wrath-daemon active
wrath create "A modern SaaS dashboard"

Built for modern workflows.

We stripped out the bloated UI and put the AI directly in your terminal.

Professional Bug Fixing

Encounter a complex error? Run `wrath fix` to let the AI cross-reference your entire indexed codebase, pinpoint the exact root cause, and safely apply the patch.

Auto-Healing Server

Wrap your dev server with `wrath run`. When your application crashes, WRATH intercepts the stack trace, diagnoses the failure, and patches the file live in real-time.

Direct UI & Code Updates

Refactor logic or polish designs instantly. Use `wrath ui` to describe the visual changes you want, and watch WRATH apply modern Tailwind principles directly to your components.

The Arsenal

Total control over your architecture. A meticulously crafted suite of commands designed for speed and precision.

wrath create[description]

Innovatively scaffold a new project using natural language descriptions.

wrath fix[error]

Diagnose and fix errors swiftly using the project index.

wrath run<command>

Initiate a dev server with auto-healing.

wrath init

Efficiently index your current project into .wrath/index.json.

wrath add[feature]

Seamlessly add new features, files, or components.

wrath ui[description]

Amplify your project's UI with professional enhancements.

wrath status

Display the current state of your WRATH index.

wrath reindex

Comprehensive re-scan and rebuild of the index.

wrath update[req]

Refactor code or refine the UI for performance.

Configuration & Usage

WRATH is built to be flexible. Connect your preferred LLM provider in seconds.

1. Initialize the Environment

After running npm i -g @yaseen59/wrath-cli, navigate to your project root and create a .env file. By default, WRATH routes through Anthropic (Claude 3.5 Sonnet).

# Default Setup
ANTHROPIC_API_KEY=sk-ant-api03...

2. Custom Providers

Prefer OpenAI or Gemini? Simply override the default by declaring the AI_PROVIDER variable alongside your specific key.

Valid provider values: anthropic, openai, gemini, grok, mistral, or cohere.

# Example: Using OpenAI (GPT-4o)
AI_PROVIDER=openai
OPENAI_API_KEY=sk-proj-...

Supported Models

  • Anthropic (Default)claude-3-5-sonnet-latest
  • OpenAIgpt-4o
  • Google Geminigemini-1.5-pro
  • Grok (xAI)grok-2-latest
  • Mistral AImistral-large-latest
  • Coherecommand-r-plus
System Constraints:WRATH restricts indexing to a maximum of 10 context files at a time, with a hard cap of 500KB per file to ensure rapid response times and optimal context-window usage.

Driven by the Community

WRATH is open-source and constantly evolving thanks to our contributors.