> ## 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.

# Connect your first Agent

> Connect an Agent, run a small task, and write an observation from its real Trace.

If you already use Codex, install its collection plugin and run a small task. In AI Vision, open the task's **Trace** and check which tool it called, how long the call took, and what it returned.

If you have not set up an Agent, [try sample data](https://aivision.mintlify.site/en/try-sample.md). If you maintain application code, [choose an SDK or Relay](https://aivision.mintlify.site/en/integrations/frameworks.md).

## Before you begin

* Have a reachable AI Vision URL and account. For a personal trial, start with [All-in-One Personal Edition](https://aivision.mintlify.site/en/deployment/all-in-one.md). For other self-hosted setups, [choose a deployment method](https://aivision.mintlify.site/en/deployment/overview.md).
* Web-generated connection commands need `aiv`. Follow the [Personal Edition guide](https://aivision.mintlify.site/en/deployment/all-in-one.md) for its matching CLI, or [install the aiv CLI](https://aivision.mintlify.site/en/guides/install-cli.md) for an existing team platform. Verify `aiv --version` on the Agent machine.
* Install and configure Codex on macOS or Linux (x64 or arm64). Confirm it can complete tasks and the platform provides plugin artifacts for that OS and architecture. The [Windows x64 client](https://aivision.mintlify.site/en/guides/install-cli.md#install-windows-x64) can query an existing platform. Install the collection plugin by running Codex and `aiv` on a supported host.
* Ensure the Agent machine can reach the platform and collection endpoint. A remote client cannot use the deployment machine's `127.0.0.1`.
* Have a test project on the Agent machine. Follow the Agent's integration instructions for runtimes such as Python or Node.js.

> [!TIP]
>
> Have a question before connecting? Give this page to your own AI tool and ask: “I use Codex on Linux x64 and want to connect to a team space. What are the prerequisites?” Follow the [docs MCP and Markdown guide](https://aivision.mintlify.site/en/help/mcp.md) to provide context and check sources and success criteria.

## 1. Sign in

Open the AI Vision URL supplied by your team. Use the controls at the top right to change the language or theme. The eye button in the password field shows or hides your password.

> [tab] Sign in
>
> On **Sign in to AI Vision**, enter your **Email** and **Password**, then select **Sign in**. Use the email you registered with.
>
> [![AI Vision sign-in page with email and password fields, sign-in and account creation actions, and language, theme, and password visibility controls](https://mintcdn.com/aivision/fXc814hsVf1lyaib/assets/figures/local-auth/login.en.light.png?fit=max\&auto=format\&n=fXc814hsVf1lyaib\&q=85\&s=67176d6d666e1b5a193498591958092e)](https://aivision.mintlify.site/assets/figures/local-auth/login.en.light.png)
>
> [![AI Vision dark sign-in page with email and password fields, sign-in and account creation actions, and language, theme, and password visibility controls](https://mintcdn.com/aivision/fXc814hsVf1lyaib/assets/figures/local-auth/login.en.dark.png?fit=max\&auto=format\&n=fXc814hsVf1lyaib\&q=85\&s=ad4cd67466a71f9681ddfe6a185521ae)](https://aivision.mintlify.site/assets/figures/local-auth/login.en.dark.png)
>
> Sign in to AI Vision · Captured in an isolated local environment · Empty form · Click to enlarge

> [tab] Create account
>
> If your deployment allows public registration, select **Create an account** below the sign-in form. Enter your **Name**, **Email**, and **Password**, then select **Create account**. Use at least 8 characters. Avoid common passwords, numbers only, or passwords too similar to your name or email. If you already have an account, select **Back to sign in**.
>
> [![AI Vision account creation page with name, email, password, security requirements, and a link back to sign in](https://mintcdn.com/aivision/fXc814hsVf1lyaib/assets/figures/local-auth/register.en.light.png?fit=max\&auto=format\&n=fXc814hsVf1lyaib\&q=85\&s=bd3e2be435f5557619e392c965bc4ce4)](https://aivision.mintlify.site/assets/figures/local-auth/register.en.light.png)
>
> [![AI Vision dark account creation page with name, email, password, security requirements, and a link back to sign in](https://mintcdn.com/aivision/fXc814hsVf1lyaib/assets/figures/local-auth/register.en.dark.png?fit=max\&auto=format\&n=fXc814hsVf1lyaib\&q=85\&s=d7a7df7e7fc64fe1bf599480e9a5c10a)](https://aivision.mintlify.site/assets/figures/local-auth/register.en.dark.png)
>
> Create account · Captured in an isolated local environment · Empty form · Click to enlarge
>
> If you received a team invitation, open that link and follow [the invitation workflow](https://aivision.mintlify.site/en/guides/members.md#invite-a-member). Ordinary registration creates an account and a personal space; it does not join a team. If public registration is disabled, ask an administrator for an invitation.

The forms in these screenshots contain no account details or passwords. The trace illustration on the left is a design element, not a real task record.

**Success:** sign-in or registration opens the platform, usually the dashboard. If a page required sign-in, you return to that page afterward. Find the space selector in the header and confirm the data space next. Web sign-in does not create a CLI account session.

| Page message | Next step |
| - | - |
| Incorrect email or password | Check both values and enter them again. |
| Email already registered | Select **Back to sign in** and use the existing account. |
| Password does not meet security requirements | Choose another password following the displayed requirements. |
| Too many requests | Wait before trying again; avoid repeated submissions. |
| Authentication service unavailable or request failed | Check platform connectivity, refresh, and retry. Contact the platform administrator if it persists. |

## 2. Select the space

For an individual trial, start in your personal space. Join a team space when you need shared data or collaboration.

Use the header space selector to choose your personal space or a team space you have joined. Generate installation configuration for this space and select the same space when inspecting data later.

**Success:** the intended space name appears in the header. If the team space is missing, confirm the invitation instead of onboarding in another space.

## 3. Generate an installation command

**1. Open the Codex onboarding guide**

Open **Agent Access → Agent Market**, find **Codex**, and select **View onboarding guide**. Check the listed runtime and collection requirements.

**2. Run the command on the Agent host**

Select **Generate installation command** and copy the complete command under **macOS/Linux**. Run it in a terminal on the Codex host. If Codex runs remotely, use that host's terminal.

**3. Restart and check the hook**

In a new Codex session, enter `/hooks` to check the collection hook's trust status. Follow the on-screen prompt. For other Agents, follow their onboarding instructions.

![The Codex onboarding guide highlights Generate installation command](https://mintcdn.com/aivision/qGp0V6y6p5Gih57B/assets/walkthrough/zh-CN/codex-connect.webp?fit=max\&auto=format\&n=qGp0V6y6p5Gih57B\&q=85\&s=e1e5cde47220e622372e73de585405df)

Check the runtime for your OS, then choose the highlighted Generate installation command action · Chinese UI

The guide lists Python 3.11+ for the [source-development installer](https://aivision.mintlify.site/en/integrations/agents.md). The matching native installer provides its own runtime.

The command contains temporary installation authorization. Run it in an authorized terminal on the machine running Codex. For troubleshooting, share only redacted errors. If it expires, regenerate it in the target space. If the action is unavailable, check space permissions or contact the administrator.

> [!NOTE]
>
> First installation defaults to Full and may collect inputs, outputs, and tool content. Read [Privacy mode](https://aivision.mintlify.site/en/guides/privacy.md) and configure Privacy according to the integration instructions before running tasks if content filtering is required.

Installation succeeds when the command completes without errors and the Agent appears in **My Agent channel**. Run the test task and [read back this Trace](#first-trace) to confirm it was received.

## 4. Run a recognizable task

Restart the Agent and start a new conversation in a test project that you can inspect without changing it. Send this task, note the start time, and wait for completion:

```text theme={null}
Inspect this project without making changes:
1. List the top-level directories and explain where the main code lives.
2. Find the test entry point and name the files that support your answer.
Do not change files or install dependencies.
```

Notice what the Agent actually reads. Call names and counts depend on the project and Agent; they do not need to match a screenshot.

**Success:** the Agent answers, and you know the task's time, project, and content well enough to recognize its record.

## 5. Find and open its Trace

1. Return to **My Agent channel** and select **Agent traces** for the target Agent.
2. Confirm the space and Agent channel, select a time range covering the new task, and refresh.
3. Open **Traces** and find the record by timestamp, name, or input summary. **Content search** works with collected content.
4. Open the record and inspect its Trace ID, duration, and call nodes.
5. In **Chain**, select a model or tool node to review reported inputs, outputs, and metadata. Switch to **Timeline** to check when it ran.

You have verified collection when you can open this task's Trace and inspect at least one call node. Privacy mode can filter call contents.

To narrow a list by duration or usage, see [combined Trace filters](https://aivision.mintlify.site/en/guides/traces.md#combine-list-filters).

## 6. Write your first observation

Keep the Trace open. A call node, also called a Span or Observation, records a model call, tool call, or another operation. Complete these three actions:

| Question | Where to look | What to record |
| - | - | - |
| What did the Agent actually do? | Select a model or tool node in **Chain** | The call name and status. |
| Where did time go? | Inspect the call duration and **Timeline** when available | One call worth inspecting and its duration. |
| What supports the answer? | Captured input, output, or tool result | Evidence related to the final answer. In Privacy mode, start with structure and status. |

Fill this record with your own observations:

```text theme={null}
Trace ID for this task: …
Call inspected, status, and duration: …
Evidence supporting my conclusion / information still missing: …
```

**Your first result:** you can find an execution, inspect a call, and explain one observation from evidence. You do not need an error or a quality score to complete this tutorial. Configure diagnosis later when you need it.

## If the record is missing

| Symptom | Next step |
| - | - |
| Agent is missing | Check the space, command generation, and installation. |
| Channel exists but no Trace | Run a new task after restarting; select a matching time range and refresh. |
| List fails to load | Retry and check platform connectivity. A failure is not zero records. |
| Record exists but details are empty | Reopen from the list, allow the complete Trace to arrive, then check collection and connectivity. |
| Trace exists but quality scores do not | [Run your first diagnosis](https://aivision.mintlify.site/en/guides/diagnosis.md) from your own Trace using a saved diagnoser. For an existing batch job, inspect its history. Signal-only checks do not produce quality scores. |

For missing records, use [No data troubleshooting](https://aivision.mintlify.site/en/help/no-data.md). Next, [read this Trace](https://aivision.mintlify.site/en/guides/traces.md); use [Sessions](https://aivision.mintlify.site/en/guides/sessions.md) when you need context across turns. Once single executions are familiar, compare more tasks in the [Data dashboard](https://aivision.mintlify.site/en/guides/dashboard.md).


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