Skip to main content

Your First AI-Powered Task in 5 Minutes

This guide will walk you through creating your first task with Forge, comparing outputs from multiple LLMs, and shipping code you understand.

Step 1: Initialize Forge

Make sure you’re in a Git repository, then initialize Forge:
This creates a .forge/ directory with your configuration.

Step 2: Configure Your LLMs

Edit .forge/config.json to add your API keys:
Start with just one LLM if you’re trying it out. You can add more later to compare results!

Step 3: Create Your First Task

Open the Forge UI or use the CLI:
The Forge UI will open at http://localhost:3000.

Step 4: Let AI Work in Isolation

Forge creates a Git worktree for your task, keeping your main branch clean:

Step 5: Review and Compare

If you’re using multiple LLMs, Forge shows you side-by-side results:
Choose the approach you understand best, or combine elements from both!

Step 6: Merge When Ready

Once you’re happy with the result:

Real-World Example

Here’s a complete workflow for adding a new feature:
1

Create Task

2

AI Generates Code

Forge creates a worktree and Claude generates:
  • Theme toggle component
  • CSS variables for themes
  • LocalStorage persistence
  • Tests
3

Try Another Approach

Now you have two implementations to compare!
4

Review Both

5

Choose and Merge


Common Task Types

Feature Development

Bug Fixes

Refactoring

Documentation


Pro Tips

For important features, run the same task with 2-3 different LLMs and compare approaches:
Choose the best implementation or cherry-pick from each!
Instead of:
Do:
Smaller tasks = better AI results!

Next Steps

Kanban Board

Explore the visual Kanban interface:
Open http://localhost:3000

Advanced Workflows

Learn about:
  • Task dependencies
  • Automated testing integration
  • CI/CD integration
  • Team collaboration

LLM Configuration

Add more LLMs:
  • OpenAI GPT-4
  • Anthropic Claude
  • Google Gemini
  • Local models

Git Worktree Mastery

Deep dive into:
  • Parallel development
  • Feature branches
  • Safe experimentation

Troubleshooting

Make sure you’re in a Git repository:
Check your API keys:
Clean up old worktrees:

Congratulations! 🎉 You’ve created your first AI-powered task with Forge. You’re now ready to bring structure to your vibe coding!

Join the Community

Get help, share your workflows, and learn from other Forge users