Required fields

AgentDescriptor.builder()
    .name("weather-agent")
    .version("1.2.0")
    .endpoint(URI.create("https://weather.example.com/a2a"))
    .capabilities(List.of("weather-lookup", "forecast"))
    .healthEndpoint("/health")
    .maxConcurrency(50)
    .avgLatencyMs(120)
    .costPerCall(0.001)
    .build();
Advertisement

Version semantics

Semver. Consumers can pin to major (~1) for stability, or float to latest.

Advertisement

Capability tags

Lowercase-hyphen. Match on exact or by prefix (weather-*). Coordinate naming across teams.