AS AgentScopeAPI 手册 / API Reference

AgentscopeAgentsEndpoint

@Endpoint(id = "agentscope-agents") public class AgentscopeAgentsEndpoint
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeAgentsEndpoint.java:25–38

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

GET /actuator/agentscope-agents: enumerate agents known to the registry.

构造器摘要Constructor Summary

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

方法摘要Method Summary

方法Method说明Description
public List<AgentDescriptor> agents()
返回智能体。
Returns the agents.

构造器详情Constructor Detail

AgentscopeAgentsEndpoint

public AgentscopeAgentsEndpoint(AgentInventory inventory)

初始化 AgentscopeAgentsEndpoint 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
inventoryAgentInventory清单(类型 `AgentInventory`)。The inventory.
源码Source io/agentscope/spring/boot/admin/endpoint/AgentscopeAgentsEndpoint.java:30–32

方法详情Method Detail

agents

public List<AgentDescriptor> agents()

返回智能体。

Returns the agents.

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