> ## Documentation Index
> Fetch the complete documentation index at: https://aivision.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Read the relevant procedure and prerequisites before suggesting commands. Cite the section and give an observable check. Treat sample data as illustrative. Report product actions and results only when verified in the user's environment.

# Agent application integration

> Choose the application’s collection path: dedicated plug-ins for Codex or Claude Code, or native telemetry for Hermes.

Choose your application in Agent Market and follow its guide. Codex and Claude Code use dedicated collection plug-ins. Hermes uses [native Relay collection](https://aivision.mintlify.site/en/integrations/hermes.md). The general plug-in flow below does not require choosing an observability SDK first. For framework application code, use [Custom Agent integrations](https://aivision.mintlify.site/en/integrations/frameworks.md).

## Prerequisites

When installing application collection plug-ins through `aiv`, both web-generated and terminal commands require the [aiv CLI](https://aivision.mintlify.site/en/guides/install-cli.md). Confirm it with `aiv --version`. Hermes native telemetry does not require this CLI; follow the [Hermes prerequisites](https://aivision.mintlify.site/en/integrations/hermes.md#applicability) for host versions and permissions.

Install Agent plugins on Linux or macOS (x64 or arm64). The deployment must provide installer and hook artifacts for the host OS and architecture. Source-development installers also require Python 3.11+ on the host. Install the host Agent and configure its model account first. Linux GNU hooks need compatible runtime libraries. For Alpine/musl, the deployment operator must supply matching artifacts.

The platform endpoint, installer URL and OTLP gateway must be reachable from the Agent machine. A remote client cannot use the deployment machine's `127.0.0.1`.

For automatic CLI integration, first follow the [CLI quickstart](https://aivision.mintlify.site/en/quickstart.md) to run `aiv auth login`. Check the current space with `aiv space list` and use `aiv space use <space-uuid>` when needed. Complete web-generated commands include temporary installation authorization and do not require CLI sign-in first.

## Choose an installation path

Open **Agent Access → Agent Market**, select your application and open its guide. The plug-in path generates an installation command; the Hermes native path generates Relay settings. Follow that path’s instructions and restart the host.

[![Application collection plug-ins and Custom Agent integration cards in Agent Market](https://mintcdn.com/aivision/HGaGiOq1xpqDNh4a/assets/figures/onboarding-market.en.light.png?fit=max\&auto=format\&n=HGaGiOq1xpqDNh4a\&q=85\&s=693aed43f7bc5da9b17bbd0a7013c2d8)](https://aivision.mintlify.site/assets/figures/onboarding-market.en.light.png)

[![Application collection plug-ins and Custom Agent integration cards in Agent Market](https://mintcdn.com/aivision/HGaGiOq1xpqDNh4a/assets/figures/onboarding-market.en.dark.png?fit=max\&auto=format\&n=HGaGiOq1xpqDNh4a\&q=85\&s=93e4dfde5d1c1262aaf0bc812ac43926)](https://aivision.mintlify.site/assets/figures/onboarding-market.en.dark.png)

Agent Market: application collectors and Custom Agent integrations · Demo data · Click to enlarge

“Agent applications” provides application-specific plug-ins or Hermes native telemetry instructions. “Custom Agent integrations” provides code collection methods such as Langfuse and NeMo Relay. Choose the group that matches the Agent you use or build.

CLI automatic integration supports `claude-code`, `codex`, `kimi`, `opencode`, `openclaw`, `pi` and `dsh`. This is the CLI integration list, not the complete plugin or diagnoser support list.

The example uses Claude Code. For another application, replace `claude-code` in both commands with its identifier. `--dry-run` performs preflight checks only; run the second command after those checks pass to install the plug-in.

```bash theme={null}
aiv connect claude-code --dry-run
aiv connect claude-code
```

## Reinstallation and status

Automatic integration creates or reuses the same Agent type in the selected Space and verifies downloaded artifacts. Reinstallation preserves the saved collection mode. Retry the same command after an installation failure.

Status checks cover local configuration, native hook/plugin registration, credentials and recent real data separately. Recent records may come from another machine using the same Agent in that Space; verify your new task by Trace ID.

First installation defaults to Full. Read [Privacy mode](https://aivision.mintlify.site/en/guides/privacy.md) before installation if content should be filtered.

## My Agent channel

After installation, return to **Agent Access → My Agent channel** and check that the application belongs to the current space. Cards link to its dashboard and traces. Pending installation means client installation is still required; a connected label does not replace verification with a new real task.

To look up the connection for an application already in the channel, open **Connection details** on its card under **Agent applications**. The read-only dialog lets you copy the **Agent UUID**, **Space UUID**, and **AI Vision URL**. To install a collection plug-in on another machine, open the application’s setup guide in **Agent Market** to generate a new installation command.

1. Restart the host Agent and complete the permissions or trust steps on its integration page. For Codex, run `/hooks` to check hook trust.
2. Start a new session in a test project and run a recognizable read-only task, such as “List the top-level directories and identify the test entry point without changing files.” Note the time.
3. Open **Agent traces** from the target channel, select a time range covering the task, and refresh. Open the record and check the task content, Trace ID, and at least one model or tool node.

**Success:** your new task matches a Trace, and you can inspect a call’s status and duration. For a guided walkthrough, follow [Connect your first Agent](https://aivision.mintlify.site/en/web-quickstart.md).

After terminal integration, you can also check status. This example still uses Claude Code:

```bash theme={null}
aiv agent status claude-code
```

If installation, hook registration, or credential checks fail, resolve the reported issue, restart, and run another task. `no_recent_data` means no recent records were found. Without a query SpaceKey, data status may be `unverified`; verify in the web interface first. If the task remains absent, follow [No data troubleshooting](https://aivision.mintlify.site/en/help/no-data.md).

For framework applications, choose Langfuse SDK or NVIDIA NeMo Relay through [Custom Agent integrations](https://aivision.mintlify.site/en/integrations/frameworks.md). Framework integration and application collector installation use different workflows.

## Stop collection or uninstall

`aiv` currently has no unified stop-collection or uninstall command. Ask the maintainer to work on the machine and host configuration directory used for installation: exit the relevant host processes and background workers, back up the configuration, remove only AI Vision's native hook/plugin registrations, and keep other plugins. Restart the host and check its registrations and this machine's records after the stopping time. Do not delete the entire host configuration directory or treat Privacy mode as stopping collection.

To stop only one machine, use the local procedure above. To revoke server-side installation authorization, a member with Agent management permission removes the Agent from the channel. This disables all installation credentials for that Agent, affecting other machines using the same Agent, and does not uninstall local files. Already issued short-lived ingest tokens may remain valid until expiry. See [privacy mode](https://aivision.mintlify.site/en/guides/privacy.md#stopping-collection-and-historical-data) for the differences between revoking a query Key, stopping new writes, and deleting historical data.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.