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

# Agent Create (`neus_agent_create`)

> Create agent identity and delegation when link shows gaps.

Call after **`neus_agent_link`** when proofs are missing. Returns **`signatures`** and/or **`hostedVerifyUrl`**. Confirm with **`neus_agent_link`** when done.

| Step | Action                                                                                                     |
| ---- | ---------------------------------------------------------------------------------------------------------- |
| 1    | **`neus_agent_link`** with **`agentWallet`**                                                               |
| 2    | **`neus_agent_create`** with **`agentId`** (required; NEUS generates one if omitted) and **`agentWallet`** |
| 3    | Finish on NEUS via **`hostedVerifyUrl`** or signing steps                                                  |
| 4    | **`neus_agent_link`** until **`linked: true`**                                                             |

Leave out **`controllerWallet`** when the signed-in account from **`neus_context`** should approve.

[Agent concepts](../agents/concepts)

## Agent address

| Value                 | Use                                                      |
| --------------------- | -------------------------------------------------------- |
| EVM or Solana address | You hold the agent key                                   |
| `"generate"`          | NEUS creates a new key — save it in your secrets manager |

## Input

```json theme={"dark"}
{ "agentId": "my-assistant", "agentWallet": "0x..." }
```

* **`agentId`** is required. Provide a meaningful identifier (e.g. `my-assistant`). If omitted, NEUS generates a default like `agent-{walletShort}-{timestamp}`.
* Optional fields: **`instructions`**, **`skills`**, **`services`**, spend caps, delegation scope. See [Agent identity](../agents/agent-identity) and [Agent delegation](../agents/agent-delegation).

## Related

[Auth](./auth) · [Agent link](./agent-link) · [Overview](./overview) · [Verification flow](../agents/agent-verification-flow)
