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.
List<SubagentDescriptor>返回列出。Returns list.
源码Source
io/agentscope/spring/boot/admin/subagent/SubagentInventory.java:33