Back to directory

Developer Tools · AI Assisted Coding

Forgecode

An open-source terminal coding agent for many AI providers

ForgeCode is an open-source terminal coding agent for developers seeking provider choice and local control. The Apache-2.0 project is maintained under Tailcall and has a hosted service alongside its self-installed CLI. Published plans are $20 monthly Pro and $100 monthly Max, while the free tier generally allows 10 to 50 requests daily. Model-provider charges can remain separate.

Key facts

License
Apache-2.0
Main language
Rust, TypeScript, HTML, CSS, Nix, Shell
Maintainer
Tailcall, with community contributors
First released
2024
Latest release
v2.14.0, October 1, 2026
GitHub stars
7,637, October 2026
Hosted option
Free tier usually 10 to 50 requests daily; Pro $20/month; Max $100/month

What Forgecode is

ForgeCode is a terminal coding agent from the Tailcall organization, with Tushar Mathur among its leading contributors. The repository was created in December 2024, making 2025 its first full year of development. At the October 22, 2026 cutoff, GitHub displayed 7,637 stars, 1,455 forks, and 10 named top contributors alongside automation accounts. The README describes an AI pair programmer for Claude, GPT, O Series, Grok, DeepSeek, Gemini, and more than 300 models. Its audience is software developers who prefer a shell workflow and want to select their own model provider. Tailcall is the company behind the repository, although the reviewed pages do not state a separate funding round or investor list.

How it works

ForgeCode runs from a terminal and combines conversational coding assistance with project tools. A first-time user installs the binary, logs into an AI provider, selects a model, then starts Forge in a project directory. The provider menu covers OpenAI, Anthropic, OpenRouter, Google Vertex AI, Amazon Bedrock, Groq, and other compatible services. Workspace initialization and semantic indexing support searches by meaning rather than exact text. Users can inspect credentials, models, tools, environment details, and diagnostics from the command line. A Zsh integration can send prompts from the shell prompt. Restricted shell mode is intended to limit filesystem access and unintended changes, according to the README.

Architecture and recent releases

ForgeCode is mainly implemented in Rust, with TypeScript, HTML, CSS, Nix, and shell also used. It is distributed as a binary through an installation script, while Nix supports the development branch. The CLI can call hosted, open-weight, or locally running models, keeping model execution separate from the command-line tool. Semantic indexing normally sends file content to api.forgecode.dev, although the README documents FORGE_WORKSPACE_SERVER_URL for another server. The repository lists no required PostgreSQL, Redis, or object-storage service for CLI use, which may reduce deployment preparation for adopters. Licensed under Apache-2.0 and maintained by Tailcall with community contributors, ForgeCode also lists v2.14.0 updates for Claude Opus 5.5 and Sonnet 5.5, giving users current provider options.

License and pricing

The code uses the Apache-2.0 license, allowing commercial use, modification, redistribution, and private use subject to its conditions. The repository does not describe an open-core split. ForgeCode also offers a hosted service with a permanent free tier, whose dynamic limit is usually 10 to 50 requests daily. Its July 2025 pricing announcement lists Pro at $20 monthly for up to 1,000 requests daily and Max at $100 for up to 5,000. These prices cover ForgeCode limits, while model-provider charges may remain separate. The website presents bring-your-own-cloud and bring-your-own-model-key choices, although detailed enterprise pricing is not published. For adoption, this combination supports experimentation at low cost, while larger teams must assess usage limits, provider expenses, and the suitability of available deployment choices.

Limitations and how it compares

ForgeCode’s limits include its terminal-first interface, reliance on external model credentials, and request-based hosted pricing. It may be less suitable for teams wanting a turnkey browser workspace or documented Kubernetes deployment, which could increase setup and operational work. Claude Code is the closest proprietary comparison, while Aider and Continue are open-source alternatives with different interfaces and routing approaches. OpenHands is a broader open-source agent for software tasks; ForgeCode instead focuses on shell work and provider choice. Teams should choose ForgeCode when an Apache-2.0 CLI, multiple model backends, and credential control outweigh the convenience of hosted administration. Its active development may support adoption, but unspecified hardware requirements and enterprise operations can make planning, procurement, and support evaluation more difficult.

Main features

  • Multi-provider login. Interactive login supports OpenAI, Anthropic, OpenRouter, Vertex AI, Bedrock, Groq, and other compatible AI providers.
  • Model selection. Users browse, filter, and change models from the terminal, including proprietary, open-weight, and local options.
  • Semantic workspace search. Workspace indexing lets the agent search project content by meaning, with a configurable server endpoint.
  • Terminal coding agent. Forge runs in the shell, combining prompts, project context, tools, diagnostics, and code changes in one workflow.
  • Zsh integration. The Zsh plugin sends prompts from the shell prompt and includes setup and diagnostic commands.
  • Restricted shell mode. Restricted mode limits shell and filesystem access, reducing unintended changes during agent-assisted development while preserving controlled operational boundaries.

Self-hosting Forgecode

Self-hosting the CLI requires the published binary, a supported terminal, Zsh for the optional plugin, and credentials for one AI provider. The installer works on macOS, Linux, Android, and Windows through WSL or Git Bash; Nix can run the development branch. ForgeCode does not document Docker, Helm, PostgreSQL, Redis, object storage, minimum CPU, or minimum memory requirements. Workspace indexing normally uses api.forgecode.dev, but FORGE_WORKSPACE_SERVER_URL can point elsewhere. Upgrade, backup, and recovery procedures are not published.

Strengths

  • Apache-2.0 licensing permits commercial use and modification.
  • The CLI supports hosted, local, and open-weight model providers.
  • Semantic workspace search can retrieve code by meaning.
  • The installer covers macOS, Linux, Android, and Windows through WSL or Git Bash.

Drawbacks

  • Documented setup requires Zsh and a Nerd Font.
  • Hosted limits and model charges can create separate costs.
  • Minimum hardware, Docker, Helm, backup, and upgrade guidance is absent.

What teams replace with it

Teams usually evaluate Forgecode when they want to move off Claude Code, GitHub Copilot, Cursor.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Forgecode

Frequently asked questions

Is ForgeCode free?

The CLI is Apache-2.0 open source and can be installed independently. The permanent hosted free tier usually allows 10 to 50 requests daily. Pro costs $20 monthly for up to 1,000 daily requests, and Max costs $100 for up to 5,000. Model-provider charges may remain separate.

Can businesses use ForgeCode commercially?

Yes. Apache License 2.0 permits commercial use, modification, private use, and redistribution subject to its conditions. Businesses must retain required notices. The reviewed pages do not describe a separate enterprise license or open-core boundary, so hosted commercial terms should be checked before procurement.

How do I install ForgeCode?

Use the documented installer, then provider login and model selection. A Nerd Font and Zsh are listed prerequisites, while the binary supports macOS, Linux, Android, and Windows through WSL or Git Bash. Users configure a provider interactively, select a model, and launch Forge in a project directory. Nix supports the development branch.

How does ForgeCode compare with Claude Code?

Both are terminal coding agents, but ForgeCode centers provider breadth and Apache-2.0 source availability. It supports OpenAI, Anthropic, OpenRouter, Vertex AI, Bedrock, local models, and compatible backends. Claude Code is more closely associated with Anthropic. ForgeCode suits users wanting model choice, while Claude Code suits teams standardized on Anthropic.

Are project files private?

Provider privacy depends on the selected model service. ForgeCode says semantic indexing sends file content to api.forgecode.dev by default, and documents FORGE_WORKSPACE_SERVER_URL for another endpoint. Users should review provider retention terms and configure an alternative workspace server when policy requires control over indexed project data.

Similar projects to compare

Sources

Last updated 2026-10-22.