AS AgentScopeAPI 手册 / API Reference

FixedAgentCardResolver

public class FixedAgentCardResolver implements AgentCardResolver
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:24–54

Fixed 智能体卡片解析器,支持智能体之间的发现、委派与协作。位于 io.agentscope.core.a2a.agent.card 包,实现 AgentCardResolver。核心成员包括 getAgentCard、builder。

Agent Card Producer for Fixed AgentCard.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
FixedAgentCardProducerBuilder类class
Fixed 智能体卡片生产者构建器,用于构建并配置目标实例。
A class in io.agentscope.core.a2a.agent.card that supports discovery, delegation and collaboration between agents.

方法摘要Method Summary

方法Method说明Description
public AgentCard getAgentCard(String agentName)
获取智能体卡片。
Returns the agent card.
public static FixedAgentCardProducerBuilder builder()
static
返回构建器实例。
Returns the builder.

方法详情Method Detail

getAgentCard

public AgentCard getAgentCard(String agentName)

获取智能体卡片。

Returns the agent card.

参数Parameters
名称Name类型Type说明Description
agentNameString智能体名称(类型 `String`)。The agent name.
返回Returns AgentCard
返回AgentCard。Returns agent card.
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:32–35

builder

public static FixedAgentCardProducerBuilder builder()
static

返回构建器实例。

Returns the builder.

返回Returns FixedAgentCardProducerBuilder
返回FixedAgentCardProducerBuilder。Returns fixed agent card producer builder.
源码Source io/agentscope/core/a2a/agent/card/FixedAgentCardResolver.java:37–39

嵌套类详情Nested Class Detail

FixedAgentCardProducerBuilder

public static class FixedAgentCardProducerBuilder

Fixed 智能体卡片生产者构建器,用于构建并配置目标实例。位于 io.agentscope.core.a2a.agent.card 包。核心成员包括 agentCard、build。

A class in io.agentscope.core.a2a.agent.card that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.core.a2a.agent.card.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.