Adapter

FORG for OpenCode

Native to the FORG stack. The OpenCode adapter uses the hooks system to capture every task start, tool use, and session event — zero configuration required.

forg connect opencode

Hooks-native integration

Uses OpenCode's AGENTS.md hooks pattern — PreToolUse, PostToolUse, SessionStart, SessionEnd, Stop, and UserPromptSubmit — all captured automatically.

Zero configuration

FORG detects OpenCode at activation. Install the adapter once and all future sessions are tracked without additional setup.

Full signal coverage

Every tool call, task boundary, and session event becomes a structured FORG signal. The rule engine sees your complete OpenCode workflow.

Setup

1
Install FORG
curl -fsSL https://forg.pro/install | sh
2
Activate your license
forg activate lic_<your-key>
3
Install the OpenCode adapter
forg connect opencode
4
Start a session
forg on --goal "Build the auth flow"

Ready to start?

Get FORG running with OpenCode in under 5 minutes.

View pricing