Skip to main content
Gloo Forge orchestrates production agent workflows across a four-layer architecture. is the durable source of truth. is the operator control plane. routes execution to pluggable gateways. Every operation passes through a 10-gate governance pipeline before it runs.

🏗️ Front-Door Architecture

Front-Door Architecture

BurgundyBurgundy· Operator Dashboard
apps/burgundy

Real-time control plane for operators. Manages agents, workflows, approvals, and observability.

Next.js 15React 1985+ RoutesTailwind CSS v4
convex subscriptions + bridge sse
ConvexConvex· Source of Truth
convex/

Durable backend. Stores all registries and run history, interprets workflow DAGs, enforces governance.

117 Tables.lobsterX Interpreter25 Cron JobsGovernance Engine
dispatch
BridgeBridge· Execution Router
packages/bridge

Async execution router. Loads adapters dynamically, routes dispatch requests, streams events back.

HTTP + SSEPluggable AdaptersCallback Delivery (3x)
results + events
OpenClawOpenClaw

Stateful daemon, MCP, sandboxed execution

Claude Agent SDKClaude Agent SDK

Claude Agent SDK, subagent orchestration

▲ Vercel AI

Vercel AI SDK, lightweight structured output

Gloo AI

Auto-routing, grounded completions, tradition

Burgundy Burgundy
Convex Convex
Bridge
Gateways

BurgundyBurgundy

The operator dashboard. Built on Next.js 15 and React 19 with 85+ routes. Operators manage agent registries, launch and inspect workflow runs, triage approvals, and monitor runtime health. Reads durable state from Convex via subscriptions and live gateway state via Bridge SSE. See the Burgundy Dashboard Guide for the full operator experience.

ConvexConvex

The durable source of truth. 117 tables store agent definitions, workflow history, governance policies, budgets, audit trails, and more. The interpreter resolves workflow DAGs, dispatches steps through the governance pipeline, and advances execution state. Convex-native agents (Factory Manager, Workers, Copilot) run inside Convex via @convex-dev/agents.

BridgeBridge

The async execution router. Receives dispatch requests from Convex, loads adapters, delegates execution to the target gateway, and calls back with results. Also streams runtime events to Burgundy via SSE. Bridge is a transport seam — it isolates Convex and Burgundy from gateway-specific concerns. A single Bridge instance can load multiple adapters simultaneously (configured via BRIDGE_ADAPTERS), routing each dispatch request to the correct adapter by provider name.

🔌 Gateways

Pluggable execution runtimes. Each gateway has a corresponding Bridge adapter that implements the interface. Currently supported: OpenClaw, Claude Agent SDK, Vercel AI, and Gloo AI. Gateways execute agent sessions, tool calls, and model interactions, then return structured results through Bridge.

🔗 Two API Surfaces

Forge exposes two API surfaces. The Dashboard API is a Convex-reactive boundary for UI consumers like Burgundy — 13 domain modules accessed via useQuery/useMutation subscriptions. The Platform API is a REST surface for external integrations — 42+ HTTP endpoints authenticated with API keys. Both compose from the same internal domain modules in Convex.

API Surfaces

🔗 Dashboard API

Consumer: Burgundy, future UIs

Transport: Convex reactive (useQuery/useMutation)

Auth: WorkOS user tokens

Real-time: Native push-based subscriptions

Modules: 13 domain modules

🔌 Platform API

Consumer: External integrations

Transport: REST/HTTP

Auth: API keys (fgk_*)

Real-time: Polling or SSE

Endpoints: 42+

🔀 Dual Execution Model

Forge runs two categories of agents through different execution paths.

Dual Execution Model

ConvexConvex-Native Agents

Durable agents running inside Convex via @convex-dev/agents. Persistent threads, tool access, transactional state.

Factory ManagerFactory WorkerTask ManagerCopilot
Direct in Convex — no Bridge
BridgeBridge-Dispatched Steps

Workflow steps dispatched through Bridge to gateway adapters. Stateless per-execution. Full governance pipeline.

.lobsterX StepsDelegated RunsSkill Execution
Convex → Bridge → Adapter → Gateway
Convex-native agents and Bridge-dispatched steps coexist in the same workflows. The interpreter decides the execution path based on step configuration.

📡 Runtime Data Flow

Burgundy maintains two live connections simultaneously:
  • BurgundyConvex: Durable state via useQuery/useMutation subscriptions
  • BurgundyBridge: Gateway operations via REST, live events via SSE
The execution cycle:
1

Parse & Resolve

Convex interpreter parses .lobsterX YAML and resolves the step DAG
2

Governance Gates

dispatch.ts runs the 10-gate governance pipeline and produces a GovernanceDecision
3

Dispatch

If allowed: atomic concurrency check → mark step running → dispatch to Bridge
4

Execute

Bridge delegates to the appropriate adapter → adapter executes on the gateway
5

Callback

Gateway returns results through Bridge callback to Convex
6

Advance DAG

Interpreter advances the DAG, resolves conditions, handles failures or retries

📋 What Forge Does

Capability AreaWhat It Covers
🤖 Agent ManagementDefinitions, deployments, templates, skills, tools, models, sessions, 3-layer memory
⚙️ Workflow Orchestration.lobsterX YAML DSL, DAG execution, checkpoints with rewind and branch
🛡️ Governance10-gate safety pipeline, policies, approval workflows, budget enforcement
📊 ObservabilityDistributed traces, analytics dashboards, audit trail, alerts, webhooks
🏭 Software FactoriesAutonomous production units with Factory Manager agents, teams, budgets, dev environments
💬 Hybrid Workforce ChatChannels, sessions, messages, multi-agent relevancy gating, Slack syndication
🔌 Platform API42+ REST endpoints, OpenAPI 3.1 spec, API key management
📦 TypeScript SDKTyped client library — @tangogroup/forge-sdk
🧩 MCP ServerModel Context Protocol server — @tangogroup/forge-mcp

🚀 Go Deeper

Key Concepts

The essential terminology and mental model.

Quick Start

Guided tour through agents, workflows, governance, and the API.

🤖 Agents

Agent definitions, deployments, skills, tools, sessions, and memory.

⚙️ Workflows

The .lobsterX DSL, DAG execution, and checkpoints.

🛡️ Governance

Safety gates, policies, approvals, and budgets.

🔌 API Reference

42+ endpoints with OpenAPI 3.1 interactive playground.