Skip to main content

Introduction

Forge supports two types of agents that work together to give you ultimate flexibility in AI-assisted development. Understanding the distinction is key to mastering Forge.
The Key Distinction:
  • AI Coding Agents = The execution platforms (CLI tools that run AI models)
  • Specialized Agents = Custom prompts that work with ANY coding agent
  • Example: Your “test-writer” specialized agent can run on Claude today, Gemini tomorrow

AI Coding Agents vs Specialized Agents

The Concept

Think of it like this:

Quick Comparison


The 8 AI Coding Agents

Forge can execute tasks using these AI coding agents - including open-source and LLM-agnostic options:

Claude Code

Provider: Anthropic Type: Commercial Best for: Complex reasoning, refactoring, architecture

Claude Code Router

Provider: Open-source Type: LLM-agnostic router Best for: Using ANY model instead of Claude
Use this to route to local models, Groq, or any other provider!

Cursor CLI

Provider: Cursor Type: Commercial Best for: Fast iterations, UI work, quick fixes

Gemini

Provider: Google Type: Commercial Best for: Cost-effective, multimodal, large context

Codex

Provider: OpenAI Type: Commercial Best for: Code completion, established patterns

Amp

Provider: Sourcegraph Type: Commercial Best for: Code intelligence, search-augmented

OpenCode

Provider: Open-source Type: Fully local Best for: Privacy, offline work, cost savings

Qwen Code

Provider: Alibaba (open-source) Type: Fully local Best for: Multilingual, Asian languages, local execution

The Power of Choice

Unlike other platforms, Forge doesn’t force you into specific subscriptions:
  • Use open-source models - OpenCode, Qwen Code run fully local
  • Route to any LLM - Claude Code Router lets you use any provider
  • Bring your own API keys - Pay providers directly, not through Forge
  • Mix and match - Use Claude for architecture, Gemini for tests, OpenCode for refactoring
Try multiple agents and choose the best result:

Specialized Agent System

Specialized agents are custom prompts that modify how any AI coding agent approaches a task. They’re reusable, portable, and work with ALL coding agents.

How They Work

Built-in Specialized Agents

Using Specialized Agents

Creating Custom Specialized Agents

Create your own in .forge/specialized/:
Use it:

Agent Selection Matrix

Choose the right agent for the job:

Performance Comparison

Real-world data from Namastex Labs (50+ projects):

Speed (Average task completion)

Quality (Code review score)

Cost (Per 1000 tasks)

Costs are estimates and vary based on task complexity, context size, and model versions. Always monitor your actual usage.

Best Practices

Multiple Attempts Strategy

For important features, use this proven workflow:
1

Fast prototype

Get a working prototype fast to validate approach.
2

Quality improvement

Get production-quality code with security review.
3

Cost-effective alternative

See if cheaper model can match quality.
4

Compare and choose

Agent-Specific Tips

Claude excels at:
  • System architecture decisions
  • Complex refactoring
  • Security-critical code
  • Understanding large codebases
Gemini is perfect for:
  • Writing comprehensive tests
  • Documentation generation
  • Simple feature implementation
  • High-volume tasks
Cursor is fastest for:
  • Quick bug fixes
  • UI tweaks
  • Iterative development
  • Real-time experimentation
Local models when you need:
  • Complete privacy (sensitive code)
  • Offline development
  • Zero API costs
  • Full control

Next Steps

Agent Setup Guides

Configure each AI coding agent

Creating Tasks

Start using agents in your workflow

Task Attempts

Master the multiple attempts system

Workflows

See agents in action