invariance_agent_create
Create a new agent within a specified Invariance project using a user-session token, enabling agent tracking and observability setup.
Instructions
Create a new agent inside one of the caller's projects. Requires a user-session JWT bearer (not an agent API key) — see invariance-cli inv auth signup / inv auth signin to obtain one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name (visible in the dashboard). | |
| project_id | Yes | Project ID the agent will live under. The caller must be a member. | |
| public_key | No | Optional Ed25519 public key (64-char lowercase hex). Can be set later via invariance_agent_set_key. |