Agent management

更新时间:
复制 MD 格式

The Agent2Agent (A2A) protocol is an open standard designed for seamless communication and collaboration among AI agents. This approach addresses the rising operations and maintenance (O&M), management, and deployment costs associated with a growing number of agents, and guides multi-agent systems toward a microservices-like architecture. To support unified agent management, Nacos provides an agent registry (A2A Registry) feature starting from version 3.1.0, which supports agent registration, discovery, namespace isolation, and version management. When Nacos is hosted on the MSE platform, MSE provides centralized management for agents and their AgentCards registered in Nacos. This topic describes how to manage agent instances in MSE.

Prerequisites

Create an agent

  1. Log on to the MSE Microservices Registry console and select a Region from the top menu bar.

  2. In the navigation pane on the left, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the navigation pane on the left, choose Agent management. In the upper-left corner of the page, select a Namespace, and then click Create Agent.

  5. On the Create Agent page, select Create from JSON or Manual create.

    • Create from JSON: Upload the AgentCard JSON file or paste its content into the text box. Then, click Confirm.

    • Manual create: Configure the parameters in the panel, and then click Confirm.

Delete an agent

  1. Log on to the MSE Microservices Registry console. From the top menu bar, select a Region.

  2. In the navigation pane on the left, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the navigation pane on the left, choose Agent management. In the upper-left corner, select a Namespace. In the Actions column for the target agent, click Delete. In the dialog box that appears, click Delete.

View agent details

  1. Log on to the MSE Microservices Registry console and select a Region from the top menu bar.

  2. In the navigation pane on the left, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the navigation pane on the left, click Agent management. In the upper-left corner of the page, select a Namespace.

    • In this namespace, you can view information about all agents on the Nacos instance, including Agent name, Publish, Capabilities, Skills, and Release time.

  5. Click an agent name to view its details.

    • By default, the Basic Information tab is displayed. On this tab, you can view basic information about the agent, such as its name, version number, endpoint, and transport protocol.

      • Below the main details is a list of all historical versions of the agent. When you select a historical version, the Basic Information tab updates to show that version's details.

    • Select the JSON tab to view the complete AgentCard JSON content for the agent. You can copy the content from this tab.

Edit an agent

  1. Log on to the MSE Microservices Registry console and select a Region from the top menu bar.

  2. In the navigation pane on the left, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the navigation pane on the left, choose Agent management. In the upper-left corner, select a Namespace. Then, in the Actions column for the target agent, click Edit.

  5. In the Edit Agent panel, select Create from JSON or Manual create.

    1. Create from JSON: Upload the AgentCard JSON file or paste its content into the text box. Then, click Confirm.

    2. Manual create: Configure the parameters in the panel, and then click Confirm.

Important

Editing an agent publishes a new version. If the new version number matches a historical one, that version is overwritten. Otherwise, a new version is created and becomes the latest.

Search for an agent

  1. Log on to the MSE Microservices Registry console and select a Region from the top menu bar.

  2. In the navigation pane on the left, choose Microservices Registry > Instances.

  3. On the Instances page, click the name of the target instance.

  4. In the navigation pane on the left, choose Agent management. In the upper-left corner of the page, select a Namespace.

  5. In the search box above the agent list, enter the name of the target agent, and then click the image.png icon or press Enter. Fuzzy search is supported.