Skip to main content

Welcome to Forge

Forge is a comprehensive coding agent that integrates AI capabilities with your development environment. Work seamlessly in your terminal with the power of modern language models at your fingertips.
curl -fsSL https://forgecode.dev/cli | sh

Key Features

Zero Configuration

Just add your API key and you’re ready to go. No complex setup required.

Multi-Provider Support

Use OpenAI, Anthropic, Google Vertex AI, or other LLM providers. Switch between models with ease.

Secure by Design

Your code stays on your machine. Run in restricted shell mode for enhanced security.

Model Context Protocol

Integrate external tools and services through MCP. Extend Forge with custom integrations.

Terminal Integration

ZSH plugin and theme for seamless shell integration. Transform natural language to commands.

Semantic Search

Index your codebase for intelligent semantic search. Find code by meaning, not just keywords.

Why Forge?

Forge is designed for developers who want to enhance their workflow with AI assistance while maintaining full control over their development environment.

Seamless Terminal Experience

Work right in your terminal, where you already spend most of your time. No need to switch between tools or copy-paste code between applications.

Intelligent Code Understanding

Forge analyzes your project structure and understands context. It can:
  • Explain how authentication systems work in your codebase
  • Suggest architectural improvements based on your current patterns
  • Debug errors with full understanding of your project context
  • Refactor legacy code while maintaining consistency

Flexible and Extensible

Customize Forge to match your workflow:
  • Define custom rules for code generation
  • Create reusable commands for repetitive tasks
  • Configure temperature and model settings per agent
  • Add MCP servers for external tool integration

What You Can Do

Ask Forge to explain complex authentication flows, trace function dependencies, or analyze your project architecture. It reads and understands your entire codebase.
> Can you explain how the authentication system works in this codebase?
Describe the feature you want, and Forge will suggest the best approach based on your current codebase, scaffold components, and implement the functionality.
> I need to add a dark mode toggle to our React application
Share error messages or unexpected behavior. Forge analyzes your code, identifies potential causes, and proposes solutions.
> I'm getting "TypeError: Cannot read property 'map' of undefined"
Get instant code reviews with suggestions for readability, performance, security, and maintainability improvements.
> Please review the code in src/components/UserProfile.js
Generate commit messages, resolve merge conflicts, and manage branches with AI assistance.
forge commit --preview
Learn new technologies with contextual tutorials based on your specific project structure.
> How do I integrate GraphQL into this Express application?

Command Line Power

Forge provides both interactive and non-interactive modes:
# Start an interactive session
forge

# With specific agent
forge --agent sage

# Continue existing conversation
forge --conversation-id abc-123

Get Started

Installation

Install Forge in seconds with our quick installer

Quick Start

Get up and running with your first Forge session

Open Source

Forge is open-source and community-driven. Contributions are welcome!
  • Transparent: Inspect the code and understand exactly what’s happening
  • Extensible: Add your own agents, tools, and integrations
  • Community: Join our Discord to connect with other users

Build docs developers (and LLMs) love