Skip to content

obs-agent-connector Command Reference


This document summarizes the Agents supported by obs-agent-connector, common commands, and command-line parameters for quick reference.

Supported Agents

The following table lists the Agent identifiers, integration methods, and operating systems supported by obs-agent-connector v0.1.33. Run obs-agent-connector agents to check the types and platforms supported by the connector version installed on your machine. For onboarding steps, see Create Agent Monitoring App.

Agent Identifier Product Name Integration Method macOS Linux Windows Description
claude Claude Code Built into obs-agent-connector ✅ ✅ ✅ Uses the Stop / SessionEnd Hook adapter.
claude-desktop Claude Desktop Built into obs-agent-connector ✅ ✅ ✅ Supported starting from v0.1.33. Registering machine-level Stop / SessionEnd Hooks on macOS requires administrator authorization.
codebuddy CodeBuddy Built into obs-agent-connector ✅ ✅ ✅ Supports Stop / SessionEnd Hooks and native index.json replay; Linux x64 has passed product validation.
codex Codex Built into obs-agent-connector ✅ ✅ ✅ Uses the Stop Hook adapter and includes built-in Codex trust and configuration handling.
cursor Cursor Built into obs-agent-connector ✅ ✅ ✅ Detects ~/.cursor, prefers cursor-agent, and manages user-level Cursor Hooks.
dcode DCode Built into obs-agent-connector ✅ ✅ ✅ Registers the DCode Hook.
dsh DeepSeek Harness dsh-otel-plugin ✅ ✅ ✅ Uses the DeepSeek Harness configuration package.
grok Grok Built into obs-agent-connector ✅ ✅ ✅ Registers the Grok Hook.
hermes Hermes hermes-otel-plugin ✅ ✅ ❌ Uses the Hermes plugin.
kiro Kiro Built into obs-agent-connector ✅ ✅ ✅ Registers the Kiro CLI Hook.
mimo MiMo opencode-otel-plugin ✅ ✅ ✅ Uses the OpenCode-compatible plugin in the mimo configuration directory.
omp OMP Built into obs-agent-connector ✅ ✅ ✅ Registers the OMP Hook.
openclaw OpenClaw openclaw-otel-plugin ✅ ✅ ✅ Uses the OpenClaw plugin.
opencode OpenCode opencode-otel-plugin ✅ ✅ ✅ Uses the OpenCode configuration directory at ~/.config/opencode.
pi Pi Built into obs-agent-connector ✅ ✅ ✅ Registers the Pi Hook.
qoder Qoder qoder-otel-plugin ✅ ✅ ✅ Automatically identifies the China or international edition directory and passes the corresponding --variant parameter.
qwenwork-cn Qwen Work (Desktop) Built into obs-agent-connector ✅ ✅ ✅ Registers the Qwen Work desktop Hook.
workbuddy WorkBuddy workbuddy-otel-plugin ✅ ❌ ✅ Uses the detected WorkBuddy configuration directory and writes gtrace.json to it.

Agent Descriptions

Agent Identifier Description
claude Uses the built-in adapter and writes managed runtime configuration to ~/.obs-agent-connector/claude/.
codebuddy Uses the built-in adapter. The connector manages Hook configuration in ~/.codebuddy/settings.json.
cursor Uses the built-in adapter, detects the local Cursor CLI, and prefers cursor-agent when available.
dsh It can be discovered when the dsh executable exists in PATH or the ~/.dsh directory exists. The default configuration is web, and the runtime configuration is generated by dsh-otel-plugin.
mimo Uses configuration under ~/.config/mimocode; the plugin is located at plugins/opencode-otel-plugin within that directory. After onboarding, check plugin status with obs-agent-connector status mimo.
qoder Automatically detects the international or China edition directory and uses the corresponding variant.
qoder-cn Legacy Agent identifier; always uses the China edition directory.
hermes Hermes uses YAML configuration and is not part of the currently supported JSON configuration structure; therefore, the CLI does not manage whether its runtime is enabled or disabled.
openclaw Supports enabling or disabling the runtime through ~/.openclaw/openclaw.json; because the plugin manages its private configuration structure itself, config <agent> is not currently supported.
workbuddy Supports macOS and Windows; Linux is not currently supported.

Common Commands

obs-agent-connector agents
obs-agent-connector list
obs-agent-connector status <agent>
obs-agent-connector discover
obs-agent-connector discover -u
obs-agent-connector install <agent>
obs-agent-connector config <agent> list
obs-agent-connector config <agent> edit --enabled=false --endpoint=<Endpoint>
obs-agent-connector update <agent>
obs-agent-connector enable <agent>
obs-agent-connector disable <agent>
obs-agent-connector remove <agent>
obs-agent-connector uninstall
obs-agent-connector version
obs-agent-connector version -u

Common Parameters

General Installation Parameters

The following common parameters are available when running install <agent>:

Parameter Description
--endpoint OBS / GTrace data ingestion address, for example, <Endpoint>
--x-token Authentication Token used for data reporting
--agent-id Overrides the auto-generated agent_id
--agent-name Overrides the auto-generated agent_name
--static-base Overrides the base address used for this installation. External open-source plugins are obtained from <static-base>/agent_plugins
--yes Skips confirmation steps
--dry-run Outputs only the execution plan and command preview without making actual changes

Default identity generation rules:

  • If --agent-id is not specified, the CLI automatically generates agid_<uuidv4 without hyphens>.
  • If --agent-name is not specified, the CLI automatically generates <hostname>_<agent>_<YYYYMMDD>.

External plugin invocation conventions:

  • The connector passes only the public version, --type gtrace, Endpoint, Token, tags, and configuration or variant parameters to the plugin.
  • The plugin installer is responsible for archive download, checksum verification, plugin registration, and private runtime configuration.
  • The connector does not pass --source and does not read or write the external plugin's private gtrace.json.

Built-in Adapter Installation Parameters

The following parameters are available when installing built-in adapters (such as claude and codex):

Parameter Description
--trace-path Overrides the Trace data reporting path
--metrics-path Overrides the Metrics data reporting path
--header Adds an HTTP request header; can be repeated
--tag Adds a resource attribute; can be repeated
--capture-content Content collection mode. Valid values are none, preview, or full
--max-chars Maximum number of characters for collected content
--enable Sets the runtime configuration to enabled=true
--disable Sets the runtime configuration to enabled=false

CodeBuddy configuration is merged into the existing ~/.codebuddy/gtrace.json; unrecognized fields are not deleted.

discover Parameters

Parameter Description
-u Updates installed plugins and installs discovered plugins that are not yet installed
--endpoint Overrides the saved Endpoint used for this execution
--x-token Overrides the saved Token used for this execution
--yes Skips confirmation steps
--dry-run Outputs only the discovery, installation, and update plan

update Parameters

Parameter Description
--static-base Overrides the plugin download base address
--yes Skips confirmation steps
--dry-run Outputs only the update plan

Usage notes:

  • update accepts only one Agent at a time.
  • When you use update <agent> to update a built-in adapter, the connector recalibrates the corresponding Hook.
  • Updating an external plugin preserves its current runtime configuration.

enable and disable Parameters

Parameter Description
--dry-run Outputs only configuration changes and does not write to the configuration file

Before running enable <agent> or disable <agent>, ensure that the corresponding runtime configuration has been generated. Agents that support enabling or disabling through JSON configuration include:

  • Built-in adapters: claude, claude-desktop, codebuddy, codex, cursor, dcode, grok, kiro, omp, pi, qwenwork-cn
  • External plugins: dsh, mimo, openclaw, opencode, qoder, workbuddy

remove Parameters

Parameter Description
--yes Skips confirmation steps
--dry-run Outputs only the removal plan
--purge-config Also deletes the runtime configuration; for CodeBuddy, it also deletes data reporting state

version Parameters

Parameter Description
-u Updates the connector to the latest version
--offline Displays only the local version and does not check the remote version

Installation Script Parameters

install.sh

Parameter Description
--version Installs the specified version of the connector; defaults to latest
--install-dir Installation directory for the connector binary
--config-dir Connector configuration directory
--download-base-url Download base URL for the connector installation package and metadata
--endpoint OBS / GTrace data ingestion address
--x-token Authentication Token
--plugin-source Plugin source; currently supports oss or github
--plugin-base-url External plugin download base URL
--binary-only Updates only the connector binary and does not write config.json

install.ps1

Parameter Description
-Version Installs the specified version of the connector; defaults to latest
-InstallDir Installation directory for the connector binary
-ConfigDir Connector configuration directory
-DownloadBaseUrl Download base URL for the connector installation package and metadata
-Endpoint OBS / GTrace data ingestion address
-XToken Authentication Token
-PluginSource Plugin source; currently supports oss or github
-PluginBaseUrl External plugin download base URL
-BinaryOnly Updates only the connector binary and does not write config.json
-NoPathUpdate Does not update the user's PATH environment variable

Usage Examples

Install the built-in CodeBuddy adapter:

obs-agent-connector install codebuddy --yes

Install an external plugin with the specified Endpoint and Token:

obs-agent-connector install dsh \
  --endpoint <Endpoint> \
  --x-token <X-Token> \
  --yes

Discover all Agents and synchronize installed plugins:

obs-agent-connector discover -u --yes

Remove a plugin but keep its configuration:

obs-agent-connector remove codex --yes

Update the connector:

obs-agent-connector version -u