AS AgentScopeAPI 手册 / API Reference

SubagentInventory

public interface SubagentInventory
源码Source io/agentscope/spring/boot/admin/subagent/SubagentInventory.java:30–34

定义子智能体清单契约的接口。位于 io.agentscope.spring.boot.admin.subagent 包。核心成员包括 list。

SPI for enumerating the subagents available to this process.

Why an SPI: a built HarnessAgent does not expose its registered subagent list — the orchestration captures the entries inside SubagentsMiddleware and the middleware itself keeps them private. Applications opt in by exposing io.agentscope.harness.agent.middleware.SubagentEntry or io.agentscope.harness.agent.subagent.SubagentDeclaration as Spring beans (picked up by the default SpringSubagentInventory), or by providing their own SubagentInventory implementation.

方法摘要Method Summary

方法Method说明Description
public List<SubagentDescriptor> list()
返回列表。
All subagent registrations known to the process.

方法详情Method Detail

list

public List<SubagentDescriptor> list()

返回列表。

All subagent registrations known to the process.

返回Returns List<SubagentDescriptor>
返回列出。Returns list.
源码Source io/agentscope/spring/boot/admin/subagent/SubagentInventory.java:33
基于官方固定版本源码静态生成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.