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

# Use it with an AI coding agent

> Run streampixel init so Claude Code, Codex, Cursor and other AI coding agents know how to package, deploy and test your Unreal Engine project on Streampixel.

> [!NOTE]
>
> **Beta.** The Streampixel command line (version 0.1.0-beta.1) and the Streampixel MCP server are in beta. Commands, tools and their output can still change before the stable release.

Run this once in your Unreal project folder:

```bash theme={"dark"}
streampixel init --project <project id>
```

It adds two things to the project:

* a Streampixel section in the project's `AGENTS.md`, read by Codex, Cursor and most coding agents;
* a skill for Claude Code in `.claude/skills/streampixel/`. Claude Code loads it only when a task is about Streampixel.

Any agent you open in the project then knows the steps to put it live, which project to deploy to, and when to use the other tools. Your own text in `AGENTS.md` is kept. Running `init` again updates only the Streampixel section.

`streampixel init --dry-run` shows what would be written, without writing anything.

## What the agent does

The agent runs every command with `--json` and acts on the result. See [Scripts and CI](https://docs.streampixel.io/resources/ai-and-cli/command-line/scripts-and-ci.md) for the output format and codes.

* If you are not signed in, it asks you to run `streampixel login` yourself. It never signs in for you and never asks for a password or token.
* When `doctor` or `package` reports a problem, it fixes it and runs the same step again.
* For a password-protected project, you put the viewer password in an environment variable. The agent passes only the variable's name, with `--password-env`.

## With the other tools

The command line works alongside two other tools, each with its own job:

* **Unreal MCP**, Epic's server inside the Unreal Editor (5.8 and later, experimental in Unreal), changes the project: assets, Blueprints, levels, settings. When `doctor` or `package` reports a problem in the project, the agent fixes it there.
* **The command line** checks, packages, uploads, deploys and tests.
* **The [Streampixel MCP](https://docs.streampixel.io/resources/ai-and-cli/mcp/connect.md)** reads your account. After `test`, the agent can pass the session id to `diagnose_session`, or a build id to `get_build_status`.

An agent packages, uploads and deploys with the command line: the Streampixel MCP runs in the cloud and cannot reach the files on your computer. [Working with Unreal MCP](https://docs.streampixel.io/resources/ai-and-cli/with-unreal-mcp.md) shows the whole loop.


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