Configure the Agent
Overview
After creating a Warden Agent, you can update the initial configuration at any moment, including the A2A Agent Card metadata and x402 payments.
This guide explains how to do it.
Update Agent settings
To update your Agent's settings, take these steps:
-
Navigate to your project's root directory and initiate Warden Code:
warden -
Enter the configuration mode:
/config -
Select one of the available groups of settings and make the necessary updates:
- Identity: Name, description, URL, version (shown in the Agent Card)
- Server: Port, host, Agent URL, API key, model
- Skills: Agent capabilities advertised in the Agent Card
- Payments: x402 wallets, pricing, networks
To learn more about x402 settings, see x402 parameters.
Update the A2A Agent Card
A2A Agent Card is a JSON file describing your Agent's capabilities. It enables clients or other Agents to discover and understand what functionalities the Agent offers.
Warden Code generates all Agents with Agent Cards, based on the information provided on Agent creation. If you need to change the Agent Card data later, use one of these methods:
-
/config
Runwardenand type the/configcommand. If you edit Identity and Skills, these updates will be reflected in the card. -
/build
Runwardenand type the/buildcommand to enter the AI-powered build mode. Here you can ask the AI assistant to update the Agent Card for you. -
Manual update
You can find the Agent Card insrc/public/.well-known/agent-card.json.
Next steps
Now you can do the following: