Class AgentRegistryService

java.lang.Object
io.agentscope.core.a2a.server.registry.AgentRegistryService

public class AgentRegistryService extends Object
Agent registry service.

Do Register operation when A2A server is ready.

  • Constructor Details

    • AgentRegistryService

      public AgentRegistryService(List<AgentRegistry> agentRegistries)
  • Method Details

    • register

      public void register(io.a2a.spec.AgentCard agentCard, Set<TransportProperties> transportProperties)
      Traversal all agent registries and do register operation.
      Parameters:
      agentCard - agent card to be registered
      transportProperties - properties for transport A2A Server supported and exported