Skip to main content

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:

  1. Navigate to your project's root directory and initiate Warden Code:

    warden
  2. Enter the configuration mode:

    /config
  3. 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
    Run warden and type the /config command. If you edit Identity and Skills, these updates will be reflected in the card.

  • /build
    Run warden and type the /build command 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 in src/public/.well-known/agent-card.json.

Next steps

Now you can do the following: