Skip to content

Joncallim/Forge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

251 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forge

Forge is a local control room for AI coding work.

You open Forge in a browser, connect one or more AI models, create a software task, and review the plan Forge produces. The long-term goal is a managed AI workforce that can plan, build, test, review, and prepare pull requests while a human stays in control of the important decisions.

Today, Forge is an Orchestrator-stage beta. In the default path, Forge plans work and waits for your approval. Workforce materialization, handoff, specialist package execution, and local repository edits are enabled unless explicitly disabled. Architect completion can create durable work packages and review gates before the task reaches awaiting_approval; approval releases ready packages for execution. Forge keeps generated files in per-package attempt sandboxes under .forge/task-runs and, after the package execution step, applies repository-affecting output to the local project. It still does not make commits, open pull requests, merge code, or run specialists in parallel.

What Forge Does Today

  1. You create a project.
  2. You describe a task.
  3. Forge queues the task.
  4. A background worker asks the Architect agent to write a plan.
  5. Forge saves the plan and shows it in the dashboard.
  6. You approve, reject, or revise the plan.
  7. If Workforce records exist, approval releases ready work packages for handoff, broker checks, package execution, local file edits, and manual review gates.

Under the hood, Forge runs a web app, PostgreSQL, Redis, and a worker process. For normal local use, the worker starts inside the web app, so one command starts the dashboard and the task loop together.

Browser -> Forge dashboard -> Redis queue -> Forge worker -> AI model -> review in browser

Vocabulary

Term Plain-English meaning
Dashboard The browser UI where you configure Forge and review work.
Project A local or GitHub-backed repository Forge can reason about.
Task A request you give Forge, such as "add login" or "review this bug."
Architect The planning agent that writes the first implementation plan.
Artifact A saved output, usually the Architect plan Markdown.
Approval The human checkpoint before Forge marks the current stage complete.
Workforce The future/sandboxed specialist-agent system: Backend, Frontend, QA, Reviewer, DevOps, and custom agents.
Forge Workspace The planned dockable workspace that links browser, repo, notes, docs, Playwright, Notion, GitHub, logs, and AI task context.
ACP provider A local command-line coding agent connected through the Agent Client Protocol. See ACP and Zed connector.

Fast Setup

From the repository root:

bash scripts/install.sh

The installer prepares local services, creates ~/Documents/Forge/config/forge.env, installs web dependencies, prepares the database, and can set up a small local Ollama model so Forge can run without API keys.

Useful variants:

bash scripts/install.sh --check      # inspect readiness without changing the machine
forge upgrade                        # sync dependencies and migrations after pulling updates
FORGE_SKIP_OLLAMA=1 bash scripts/install.sh

Then start Forge:

forge

Open:

http://localhost:3000

The first account creates a password and, by default, a passkey. To use password only, set FORGE_PASSKEYS_ENABLED=0 in ~/Documents/Forge/config/forge.env before creating the first account.

If you kept settings during uninstall/reinstall, Forge keeps the existing single-user account. Registration will stay closed, so recover from the shell:

forge reset-credentials

Use http://localhost:3000 for local passkeys unless you also update WEBAUTHN_RP_ID and WEBAUTHN_ORIGIN in the workspace env file.

Try A Task

  1. Open the dashboard.
  2. Apply a provider preset in setup, or add a provider manually.
  3. Create a project from a GitHub repo or local folder.
  4. Create a task with a short prompt.
  5. Wait for the task to reach Awaiting Approval.
  6. Read the Architect plan and approve or reject it.

On the task detail page, you can also stop a non-terminal task, delete a terminal individual task and its run history, retry the task with the same or another provider, retry a blocked handoff after fixing the cause, and inspect Agent history with queue attempts collapsed under it.

For a no-cost plumbing test, run with the mock Architect:

cd web
FORGE_WORKER_MOCK_ARCHITECT=1 npm run dev

What Is Not Built Yet

  • MCP runtime grants for specialists.
  • Branch, commit, pull request, and merge automation.
  • Parallel specialist execution.
  • Autonomous reviewer agents for generated code. The current beta uses manual QA, Reviewer, and Security approval gates.
  • Forge Workspace panes for built-in Chromium, Playwright, notepad, Markdown, coding, terminal/logs, Notion, and GitHub.
  • Notion/GitHub link graph sync and write-back approvals.

The first Workforce build slice is present as durable planning records: work packages, harness metadata, approval gates, and VCS summaries can now be stored and displayed. Architect completion materializes those records before plan approval; approval releases ready packages. Workforce materialization, handoff, package execution, and local repository writes are default-on. Disable them with FORGE_WORKFORCE_MATERIALIZATION=0, FORGE_WORK_PACKAGE_HANDOFF=0, FORGE_WORK_PACKAGE_EXECUTION=0, or FORGE_HOST_REPOSITORY_WRITES=0.

Forge Workspace Direction

After sequential sandboxed Workforce execution is reliable, the next major product direction is Forge Workspace: a dockable, AI-assisted workbench that brings browser, repo, notes, docs, Playwright, GitHub, Notion, terminals, logs, and task artifacts into one saved context.

The product should feel OS-like without becoming a full operating system. The first implementation should be a workspace shell with dockable panes, a command palette, a right-side context inspector, and explicit permission gates for agent operations. The Notion/GitHub integration should use a link graph rather than a naive bidirectional mirror: Notion remains the planning and intent surface, while repositories remain the implementation source of truth.

See Forge Workspace roadmap for the proposed implementation plan.

Screenshots

Setup Wizard

Forge setup wizard

Provider Review

Forge providers page after applying a preset

Architect Plan Awaiting Approval

Forge task detail page awaiting approval

Completed Orchestrator Task

Forge task detail page after approval

Docs

About

Self-hosted AI coding orchestration dashboard with an Orchestrator, worker queue, providers, GitHub CLI tooling, and local/cloud LLM support.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages