Adapters

One Agent. Open Adapter Protocol.
Full Visibility.

Connect Claude Code, Cursor, VS Code, Windsurf, JetBrains, OpenCode, Copilot, Codex, Gemini CLI, Aider, Warp, and more with the same FORG agent.

16+
official adapters
< 5 min
install time
5,000+
active installs
Open
adapter protocol

Official adapters

Claude Code
GA

Full session lifecycle, tool call tracking, and cost per conversation for every Claude Code session.

forg connect claude-codeView docs →
Cursor
GA

Track Cursor AI sessions including Cmd-K, chat, and Composer. Per-project cost attribution.

forg connect cursorView docs →
VS Code
GA

Works with Copilot, Codeium, and any VS Code AI extension. Language-agnostic signal collection.

forg connect vscodeView docs →
Windsurf
GA

Full Windsurf Cascade session observability. Flow tracking and multi-step operation costs.

forg connect windsurfView docs →
JetBrains
Stable

Supports IntelliJ, PyCharm, WebStorm, and all JetBrains IDEs with AI Assistant.

forg connect jetbrainsView docs →
OpenCode
GA

Native OpenCode hook integration for session lifecycle, task tracking, and tool use.

forg connect opencodeView docs →
Neovim
Stable

Lua plugin hooks for terminal-native AI coding sessions in Neovim.

forg connect neovimView docs →
GitHub Copilot
GA

Track Copilot suggestion acceptance, inline completions, and Copilot Chat sessions.

forg connect copilotView docs →
Continue
Stable

Open-source AI coding assistant. Works with any model via Continue's plugin architecture.

forg connect continueView docs →
OpenAI Codex CLI
GA

MCP server in ~/.codex/config.yaml for Codex CLI session telemetry.

forg connect codexView docs →
Gemini CLI
GA

MCP server integration for Google Gemini CLI sessions, model usage, and cost tracking.

forg connect gemini-cliView docs →
Aider
Stable

Context injection via AGENTS.md for Aider pair-programming session visibility.

forg connect aiderView docs →
Zed
Stable

MCP server registration for Zed AI-assisted editing sessions.

forg connect zedView docs →
Warp Terminal
GA

MCP-powered session tracking inside Warp's AI-assisted terminal workflows.

forg connect warpView docs →
Roo Code
GA

MCP server for Roo Code agent workflows in VS Code — tool metadata and model telemetry.

forg connect rooView docs →
Cline
GA

MCP server for Cline's agentic VS Code workflows — tool calls, model usage, session boundaries.

forg connect clineView docs →
PowerShell
Stable

Profile injection for PowerShell terminals so forg-mcp is available anywhere your shell starts.

forg connect powershellView docs →

How it works

Every adapter follows the same lightweight protocol — three steps from tool to dashboard.

STEP 01
Capture metadata

The adapter hooks into your editor, CLI, shell profile, or MCP config and captures model, latency, cost, and session context without storing prompt text.

STEP 02
POST to local agent

Signals are HMAC-SHA256 signed and emitted to the FORG local agent at 127.0.0.1:6247/emit so policy checks happen locally first.

STEP 03
Rules + dashboard

The rule engine evaluates budgets, blocks, and alerts in real time while your dashboard keeps a full session history across every connected adapter.

Real-time adapter status

Run forg statusanytime to see what's connected.

forg status
ADAPTERVERSIONSTATUSLAST SEEN
claude-code1.4.2active2s ago
cursor1.2.0active12s ago
vscode1.3.1active4s ago
windsurf0.9.4active1m ago
opencode1.0.0active9s ago
copilot1.1.0idle6m ago
codex1.0.4active15s ago
gemini-cli1.0.2active23s ago
roo0.8.3idle11m ago
powershell0.7.5idle18m ago
17 adapters registered · 7 active

Feature matrix

Shared capabilities across all official adapters.

FeatureAll official adapters
Real-time telemetry
Budget enforcement
Rule triggers
Session recording
Cost allocation
Open protocol

Build your own adapter

Any tool that can make an HTTP POST request can emit FORG signals. The full protocol is under 100 lines to implement.

POST 127.0.0.1:6247/emit — payload schemaJSON
{
  "ts":          "2025-01-15T10:23:41.000Z",
  "model_class": "Advanced Balanced",
  "tokens_in":   1024,
  "tokens_out":  312,
  "latency_ms":  1840,
  "cost_usd":    0.00482,
  "user_id":     "usr_abc123",
  "project_id":  "proj_xyz789",
  "session_id":  "sess_aabbcc",
  "error_code":  null
}

HMAC-SHA256 signed via X-FORG-Signature header. Key provisioned at adapter registration.

14
community adapters in development
MIT
open license
< 100 lines
to implement

Connect your first adapter
in 5 minutes.

Install the FORG agent, connect an adapter, and watch signals appear in your dashboard — no configuration required.

Install FORG →Adapter protocol docs
forg connect claude-code