Skip to main content
POST
Create Agent
建立一個新代理,並自動配置 MPC 安全錢包。錢包地址使用分散式金鑰生成(DKG)產生,可立即接收資金。

請求主體

string
必填
代理的顯示名稱。必須在您的帳戶中唯一。
string
代理用途的可選說明。
string
必填
代理錢包的 CAIP-2 鏈識別碼。請參閱支援的區塊鏈了解可用選項。範例:eip155:1(Ethereum)、eip155:8453(Base)、eip155:84532(Base Sepolia 測試網)
string
JSON 編碼的中繼資料字串,用於自訂鍵值對。

回應

範例

Response

授權

X-API-Key
string
header
必填

API key authentication. Keys are prefixed with awx_.

主體

application/json
agent_name
string
必填

Display name for the agent. Must be unique within your account.

chain
string
必填

CAIP-2 chain identifier for the agent's wallet (e.g., eip155:1 for Ethereum, eip155:8453 for Base, eip155:84532 for Base Sepolia testnet).

agent_description
string

Optional description of the agent's purpose.

metadata
string

JSON-encoded metadata string for custom key-value pairs.

回應

Agent created successfully.

An AI agent with an MPC-secured wallet.

id
string

Unique agent identifier (e.g., agent_abc123).

agent_name
string

Agent display name.

agent_description
string

Agent description.

wallet
object

An on-chain wallet associated with an agent.

status
enum<string>

Agent status.

可用選項:
active,
inactive
metadata
string

JSON-encoded metadata string.

created_at
string<date-time>

ISO 8601 creation timestamp.