Native AI Development Workspace
A high-performance, lightweight desktop IDE engineered for modern AI-assisted software engineering.
ForgeADE is a native, lightweight, AI-first development environment built from the ground up for software engineers who work side-by-side with autonomous AI agents. Unlike traditional IDEs that bolt AI onto heavy, resource-intensive Electron runtimes, ForgeADE couples a high-speed Go backend with a native WebView frontend powered by React 19, Tailwind CSS v4, and CodeMirror 6 via Wails v3.
ForgeADE delivers instant startup, minimal memory consumption, offline-first reliability, and first-class primitives for AI coding agents, PTY terminal sessions, visual Git workflows, and extensible tool protocols (MCP, Skills, Plugins).
- Native & Lightweight — No Electron overhead. Native Go backend + lightweight system WebView for ultra-fast startup and minimal RAM usage.
- AI-Native by Design — Autonomous agents, reasoning loops, tool approvals, and task decomposition are built directly into the core architecture, not patched in as extensions.
- Dual-Session Flexibility — Choose between the built-in autonomous Go agent harness or run your favorite external agent CLIs (
claude,codex,pi,opencode,agy) inside real PTY terminals. - Workspace-Centric — Projects, symbol indexes, Git context, and session history remain cleanly scoped to the active workspace.
- Local & Offline-First — All core features, local PTYs, file management, and editors work completely offline. Cloud LLM providers are optional and fully configurable.
- Multi-Step Reasoning Loop — Executes complex coding prompts through autonomous iterations with configurable tool budgets (
maxToolBudget = 300) and automatic loop detection to prevent runaway executions. - Approval Gate & Safety Controls — Non-destructive tools execute automatically, while sensitive shell executions, file writes, and external operations can prompt for user confirmation.
- Dynamic Goal & Task Decomposition — Declare high-level goals (
/goal) or multi-step tasks; the agent decomposes them into an atomic task checklist usingupdate_tasks. - Live Floating Tasks Checklist — Displays continuous task status (
pending,in_progresswith real-time active forms like "Running unit tests...", andcompleted) above the composer. - ZCode Dynamic Task Replacement — When prior tasks finish and new instructions arrive, the agent automatically replaces stale tasks with a fresh checklist for the new objective.
- Subagent Delegation — Spawns child subagents (
invoke_subagent) for isolated background research, deep investigations, or independent code reviews, complete with dedicated minimal chat views. - TypeSafe AI Jev Router — Intelligently classifies user intent into tool categories (
explore,read,modify,execute,git,web,skills,mcp), eliminating tool hallucinations and dramatically reducing prompt token overhead.
Full terminal/CLI harness command parity directly in the chat composer:
/goal <description>— Sets an explicit goal and automatically decomposes it into an active task checklist./plan <description>— Activates Plan Mode: investigatory codebase analysis and architectural step formulation before any code modifications./plan-review— Evaluates active plans, edge cases, regression risks, and test coverage gaps./skill:&/skill <name>— Discovers available skills and injects executableSKILL.mdplaybooks directly into the prompt context./model— Inspects active model details, token consumption, cache hit rate, or opens the quick model switcher./resume— Lists and resumes prior workspace sessions./security— Runs OMP-native security scans, credential checks, secret leakage audits, and vulnerability detection./vibe— Activates high-velocity autonomous execution mode with automatic compiler and test fixes./settings&/setup— Instant shortcut to provider configuration and model profiles./clear— Resets active tasks and clears the floating checklist.@mentions— Seamlessly references workspace files and folders with token-capped inlining.
- Agent Skills Runtime — Full support for reusable
SKILL.mddomain playbooks (load_skill,call_skill,create_skill,list_skills). Compatible with Antigravity, OpenCode, and custom playbooks. - Model Context Protocol (MCP) — Connect stdio and SSE MCP servers. Automatically discovers and imports MCP servers and skills from other agent configurations on the machine.
- Declarative Plugin Manager (
cordis) — Extends agent system prompts, contributes custom tools, and defines workflow automations through declarative manifests. - Long-term Workspace Memory — Persists preferences, project decisions, and architectural notes across sessions with
learn_memoryandrecall_memory.
- Real PTY terminal management (
creack/pty+xterm.js) for running external agent CLIs (pi,claude,codex,opencode,agy) or standard developer shells (zsh,bash). - Preserves full scrollback history, automatic session naming, process restart, and disk persistence under
~/.forge/sessions/.
- Built on CodeMirror 6 with custom light and dark semantic themes.
- Workspace symbol indexing with fuzzy symbol autocomplete, outline tree, and fast jump-to-definition.
- In-memory inline syntax checking powered by
esbuildand formatting withprettier. - Git diff gutters with inline hunk staging, review, and surgical per-hunk revert.
- Complete visual Git commit graph, branch management, and staged diff viewer.
- Built-in conflict resolution and visual diff inspector.
- One-click AI Commit Message Generation summarizing staged changes following conventional commit specifications.
- Embedded WKWebView browser panel exposing
browser_*tools (browser_navigate,browser_snapshot,browser_click,browser_type,browser_screenshot) to the agent for live web research and web app testing.
- Real-time token usage meter and context window percentage visualization in the composer.
- Settings usage breakdown segmented by Provider, Model, Session, and Jev Router metrics (routing savings, classification counts, and latency).
- Cumulative prompt-cache hit rate tracking.
- SSH/SFTP Explorer — Mount and edit remote directories over SSH as a first-class workspace.
- Cron Automations — Schedule recurring prompts, test runs, or code reviews on cron triggers.
- Zero-Dependency Native Read-Only Engine — High-performance SQLite inspection and execution with guaranteed read-only safety (
-readonlyflag /mode=roURI) that never mutates production database files. - Seamless Editor Integration — Open
.sqlite,.sqlite3,.db,.db3,.duckdb,.rocksdb,.ldb, or.sstfiles directly in editor tabs without loading large raw binaries into editor memory. - Schema & DDL Inspector — Inspect table and view schemas, column types, primary keys, not-null constraints, default values, and syntax-highlighted SQL DDL statements with one-click copy.
- Interactive Data Grid — Fast, paginated data grid with multi-column sorting (ASC/DESC), in-table text filtering, and an expandable cell inspector modal for inspecting large JSON payloads, text, and BLOBs.
- Interactive SQL Query Console — Execute arbitrary read-only SQL queries with
⌘+Enter/Ctrl+Enter, real-time query latency benchmarks (ms), and instant export to CSV and formatted JSON. - DuckDB & RocksDB Engine Support — Automatic format detection, directory and SSTable manifest breakdown for RocksDB/LevelDB stores, and DuckDB querying and installation guidance.
| Layer | Technology | Details |
|---|---|---|
| Shell & Core Backend | Wails v3 (beta.16), Go 1.26 | Native OS window, PTY manager, tool registry, LLM harness |
| Frontend Framework | React 19, TypeScript, Vite | Modern UI, responsive layout, reactive state |
| Styling & Tokens | Tailwind CSS v4 (@theme tokens) |
Semantic design system without hardcoded hex colors |
| State Management | Zustand | Workspace stores, sessions, agent state |
| Code Editor | CodeMirror 6 | Symbol indexing, diff gutters, syntax highlight |
| Terminal Emulator | xterm.js + creack/pty |
Full ANSI/VT100 terminal emulation |
| Lint & Quality | oxlint (frontend), go vet + gofmt (backend) |
Blazing-fast static verification |
Ensure you have the following installed on your machine:
- Go 1.26+ — Download Go
- Bun — Install Bun (
curl -fsSL https://bun.sh/install | bash) - Node.js (v20+) — Required for version bumping scripts
- Wails v3 CLI:
go install github.com/wailsapp/wails/v3/cmd/wails3@latest
# Clone the repository
git clone https://github.com/hasdev/forge-ade.git
cd forge-ade
# Install frontend dependencies
bun install --cwd frontendLaunch the app and open Settings (Cmd+, or click the gear icon) to configure your preferred LLM provider:
- Supported Providers: OpenAI, Anthropic, OpenRouter, Google Gemini, Ollama (Local), DeepSeek, or any OpenAI-compatible endpoint.
- Enter your API Key, select your default model (e.g.
claude-3-7-sonnet,gpt-4o,openrouter/...), and customize reasoning levels.
Run the app with live hot-reloading for both backend and frontend:
make devNote: Wails v3 compiles the Go backend and launches Vite with hot module replacement (HMR).
# Production build with devtools enabled (useful for debugging)
make build
# Clean production release binary
make build-prodThe resulting macOS application bundle will be created at build/bin/forge-ade.app.
Before submitting changes or finishing features, verify the entire codebase with:
# 1. Backend verification
go build ./... && go vet ./... && test -z "$(gofmt -l .)"
go test ./...
# 2. Frontend verification
cd frontend && bun run lint && bun run build├── main.go # Wails app bootstrap, window lifecycle, service registration
├── Makefile # Build, development, versioning, signing, and test scripts
├── AGENTS.md # Guidelines, non-negotiables, and verification instructions
├── internal/
│ ├── app/ # Exported *App methods (*_api.go) serving as frontend bindings
│ ├── agent/ # Built-in LLM agent harness (turn loop, tools, slash commands)
│ ├── agentsession/ # Terminal Session mode (CLI configurations, disk persistence)
│ ├── terminal/ # PTY session manager (xterm.js bridge)
│ ├── jev/ # TypeSafe AI Jev intelligent tool router
│ ├── tools/ # Core agent tools (read, write, edit, bash, update_tasks, skills)
│ ├── index/ # Workspace symbol indexer (completions, outlines, references)
│ ├── git/ # Git engine (status, branches, diffs, hunk staging)
│ ├── commitmsg/ # AI commit message generator
│ ├── editor/ # esbuild syntax validator & prettier formatter
│ ├── mcp/ # Model Context Protocol stdio client & server manager
│ ├── skills/ # Skill discovery, storage, and execution engine
│ ├── plugins/ # Plugin manager built on cordis runtime
│ ├── cordis/ # Declarative plugin runtime
│ ├── browseruse/ # WKWebView browser automation engine
│ ├── remotefs/ # SSH/SFTP client for remote project workspaces
│ ├── automations/ # Scheduled cron prompt workflows
│ └── events/ # Typed event bus and system event constants
├── frontend/
│ ├── src/
│ │ ├── components/ # UI components (agent, editor, terminal, settings, git, ...)
│ │ ├── stores/ # Zustand state stores & workspace provider
│ │ ├── services/ # Frontend agent engines & API bridge
│ │ ├── lib/ # Wails bindings facade (wails.ts), utilities, design helpers
│ │ └── index.css # CSS-first Tailwind v4 tokens & surface themes
│ └── bindings/ # Auto-generated Wails v3 Go-to-TypeScript bindings
├── docs/
│ ├── ARCHITECTURE.md # Detailed architecture, session models, and event bus specs
│ ├── DESIGN_SYSTEM.md # Semantic tokens, typography scale, and styling guidelines
│ └── CONTRIBUTING.md # Contribution workflows and commit conventions
└── samples/ # Polyglot test fixtures for editor and indexing validation
- docs/ARCHITECTURE.md — Comprehensive technical architecture, backend package map, the three session models, and event bridge.
- docs/DESIGN_SYSTEM.md — Semantic design tokens,
@themescale, and theming rules. - docs/CONTRIBUTING.md — Git workflow, branch naming, and conventional commit standards.