# agent

The `prism agent` commands are used to create, modify, and execute your Prism agents.

```
Usage: prism agent [OPTIONS] COMMAND [ARGS]...                                                                                      
                                                                                                                                     
 Execute your Prism using third-party agents, (e.g., Docker containers, EC2 instances, etc.).                                        
                                                                                                                                     
╭─ Options ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --help      Show this message and exit.                                                                                           │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ apply   Build your agent using a configuration YML.                                                                               │
│ build   Build your agent using a configuration YML and then run your project on the newly created agent.                          │
│ delete  Delete your agent.                                                                                                        │
│ run     Run your project using an agent.                                                                                          │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
```

There are three subcommands:

* [apply](https://docs.runprism.com/v0.2.8/cli/agent/apply)
* [run](https://docs.runprism.com/v0.2.8/cli/agent/run)
* [build](https://docs.runprism.com/v0.2.8/cli/agent/build)
* [delete](https://docs.runprism.com/v0.2.8/cli/agent/delete)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.runprism.com/v0.2.8/cli/agent.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
