Forge is a modern, open-source tool that brings AI-powered code assistance directly into your terminal workflow, effectively turning your shell into a “pair programmer”, without ever leaving your development environment. Written in Rust (with a command-line interface), Forge integrates with your existing shell (bash, zsh, fish, etc.) or IDE-agnostic workflows, allowing you to interact with your codebase, command-line tools, and version control as usual, but with the added support of large language models (LLMs) to help with code generation, refactoring, bug fixing, code review, and even design advice. Rather than requiring a separate UI or web-based IDE, Forge respects the developer’s existing habits and setups, and keeps all operations local, ensuring your code doesn’t get sent to unknown external services — a strong point for privacy and security. It supports many model providers (e.g. GPT, Claude, Grok, and others) via API keys.
Features
- AI-powered code assistance in your terminal: generation, debugging, refactoring
- Supports many LLM providers (GPT, Claude, Grok, and 300+ models) via API keys for flexible backend choice
- Seamless integration with existing shells / CLI tools / IDE-agnostic workflows — no new UI needed
- Codebase indexing and semantic search for fast navigation and context-aware suggestions
- Support for git and project-level operations (e.g. merge conflict help, branch operations, commit suggestions)
- Configurable workflows and commands (including potential for custom commands / agent workflows)