All 28 Dependencies

Every package localforge depends on, ranked by repo health score.

Localforge is a self-hosted AI coding agent that gives you a real graphical interface — not just a terminal — around an agentic loop that reads, edits, and executes code directly in your own project directories. It installs as a global npm package (`@rockbite/localforge`) that starts a local web server, or runs as a packaged Electron desktop app on macOS, Windows, and Linux, so the whole experience stays on your machine.

Under the hood, the agent is built around a Claude-Code-style tool registry — Bash, Edit, Glob, Grep, LS, Replace, View, and WebFetch — dispatched from a central orchestration loop (`src/services/agent`) that loads its system prompt from EJS templates and persists session/task state in a local LevelDB store. A `DispatchAgentTool` lets the main agent hand off scoped work to sub-agents, and a built-in task tracker (with sub-task support) keeps long-running sessions organized.

What sets Localforge apart from single-vendor coding assistants is its provider-agnostic middleware: a unified `callLLMByType` layer routes requests to Anthropic, OpenAI, Google Gemini, AWS Bedrock, Ollama, or Hugging Face depending on how you configure each of the three model slots (main, aux, expert). It also ships Puppeteer-backed browser tools so the agent can navigate, click, and screenshot pages it just built or modified, and a Model Context Protocol (MCP) client so you can plug in external tool servers — including IDE-hosted ones — without touching the codebase.

The project is young (first commit April 2025) and maintained essentially by a single core contributor, but it already ships nine tagged releases, an auto-updating Electron build pipeline, and a conversation-compression feature that uses an expert model to summarize long chat histories so token costs don't spiral on extended sessions.

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers

Search