AS AgentScopeAPI 手册 / API Reference

AgentscopeSubagentsEndpoint

@Endpoint(id = "agentscope-subagents") public class AgentscopeSubagentsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeSubagentsEndpoint.java:31–44

Agentscope Subagents 端点,承载智能体的部署、调度与服务化运行。位于 io.agentscope.spring.boot.admin.endpoint 包。核心成员包括 subagents、AgentscopeSubagentsEndpoint。

GET /actuator/agentscope-subagents: enumerate the registered subagents.

Populated by the SubagentInventory bean — defaults to scanning Spring beans of type io.agentscope.harness.agent.middleware.SubagentEntry and io.agentscope.harness.agent.subagent.SubagentDeclaration.

构造器摘要Constructor Summary

构造器Constructor说明Description
public AgentscopeSubagentsEndpoint(SubagentInventory inventory)
初始化 `AgentscopeSubagentsEndpoint` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public List<SubagentDescriptor> subagents()
返回 `subagents` 结果。
Returns the subagents.

构造器详情Constructor Detail

AgentscopeSubagentsEndpoint

public AgentscopeSubagentsEndpoint(SubagentInventory inventory)

初始化 AgentscopeSubagentsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
inventorySubagentInventory清单(类型 `SubagentInventory`)。The inventory.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeSubagentsEndpoint.java:36–38

方法详情Method Detail

subagents

public List<SubagentDescriptor> subagents()

返回 subagents 结果。

Returns the subagents.

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