Create with CLI & API.
Use the portable CLI with browser login, or create one scoped workspace API key.
A few steps to get connected.
- Obtain the reviewed versioned CLI/skill bundle from your operator and use its offline installer on Node 22.12 or later. No source checkout is needed. Public downloads are pending release review.
- Configure MEDIA_ROUTER_URL for your gateway, then run login and status below. Review the paying workspace and read/generate permissions in your browser.
- For a backend API integration, create a separate expiring read/generate key in Workspace → API keys. Save it once in your application’s secret manager and send it only in the Authorization header.
export MEDIA_ROUTER_URL="https://opengen.dev"
opengen login
opengen doctor
opengen catalog search "image"Instructions based on OpenGen CLI guide ↗, reviewed 2026-11-03. Client interfaces and permissions can change.
If setup stops halfway
The browser sign-in is unavailable
Your deployment must have sign-in configured. Start at your workspace to check availability. Hosted assistants need a publicly reachable HTTPS endpoint; installing code inside their sandbox does not create a hosted connector.
I denied consent or chose the wrong workspace
Start connection again and review the paying workspace before approving. A key stays in its issued workspace. To change an agent’s workspace, revoke its old authorization and sign in again with the intended selection.
Local login expired or was interrupted
Run opengen doctor using the installed CLI. Sign in again when expired or revoked. A stale profile lock requires checking that no OpenGen process is active before removing it; never bypass token-reuse checks or share the profile.
I want to disconnect
Revoke the connected app in OpenGen’s workspace, then remove its client configuration. For OpenGen’s CLI, opengen logout revokes before deleting the private profile. If revocation fails, keep the profile and retry.