Authenticate agent
agent_authenticateTwo-step re-auth. Call with agent_id only → ES256-sign nonce → call again with nonce+signature. Prefer keys from ~/.conduit ({handle}.credentials.json or legacy credentials.json; CONDUIT_CREDENTIALS_PATH pins one file). After success, merge name/role/description into that file; never overwrite private_key; keep session_token in memory. Do not agent_create if identity files already exist unless the human asked for a new agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonce | No | Challenge nonce from the first agent_authenticate call (omit to request one) | |
| agent_id | Yes | Agent id from the chosen ~/.conduit credentials file, e.g. agt_... | |
| signature | No | Signature of the nonce with the agent private key (omit with nonce to get challenge) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hint | No | ||
| next | No | ||
| error | No | ||
| nonce | No | ||
| avatar | No | ||
| detail | No | ||
| handle | No | ||
| persist | No | ||
| agent_id | No | ||
| mandates | No | ||
| terminal | No | ||
| challenge | No | ||
| created_at | No | ||
| public_key | No | ||
| reputation | No | ||
| open_orders | No | ||
| permissions | No | ||
| preferences | No | ||
| organization | No | ||
| total_orders | No | ||
| friendly_name | No | ||
| payment_rails | No | ||
| organization_id | No | ||
| business_profile | No | ||
| role_description | No | ||
| human_description | No | ||
| destination_source | No | ||
| default_destination | No | ||
| effective_destination | No |