AS AgentScopeAPI 手册 / API Reference

LocalDeployManager

public class LocalDeployManager implements DeployManager
源码Source io/agentscope/runtime/LocalDeployManager.java:42–188

本地部署管理器,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime 包,实现 DeployManager。核心成员包括 deploy、shutdown、builder。

A class in io.agentscope.runtime that deploys, schedules and serves agents. Declared in io.agentscope.runtime. Implements DeployManager.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
LocalDeployConfig类class
用于本地部署的流式服务的配置类。
Configuration class for local deployment of streaming services.
LocalDeployerManagerBuilder类class
本地 Deployer 管理器构建器,用于构建并配置目标实例。
A class in io.agentscope.runtime that deploys, schedules and serves agents.

方法摘要Method Summary

方法Method说明Description
public synchronized void deploy(Runner runner)
synchronized
设置部署。
Performs the deploy operation.
public synchronized void shutdown()
synchronized
关闭资源并释放连接。
Shutdown the application and clean up resources
public static LocalDeployerManagerBuilder builder()
static
返回构建器实例。
Returns the builder.

方法详情Method Detail

deploy

public synchronized void deploy(Runner runner)
synchronized

设置部署。

Performs the deploy operation.

参数Parameters
名称Name类型Type说明Description
runnerRunner运行器(类型 `Runner`)。The runner.
源码Source io/agentscope/runtime/LocalDeployManager.java:63–116

shutdown

public synchronized void shutdown()
synchronized

关闭资源并释放连接。

Shutdown the application and clean up resources

源码Source io/agentscope/runtime/LocalDeployManager.java:121–128

builder

public static LocalDeployerManagerBuilder builder()
static

返回构建器实例。

Returns the builder.

返回Returns LocalDeployerManagerBuilder
返回LocalDeployerManagerBuilder。Returns local deployer manager builder.
源码Source io/agentscope/runtime/LocalDeployManager.java:142–144

嵌套类详情Nested Class Detail

LocalDeployConfig

@Configuration @EnableAutoConfiguration @ComponentScan(basePackages = { "io.agentscope.runtime.autoconfigure" }) public static class LocalDeployConfig

用于本地部署的流式服务的配置类。位于 io.agentscope.runtime 包。

Configuration class for local deployment of streaming services. This class enables component scanning for A2A controllers and other Spring components.

LocalDeployerManagerBuilder

public static class LocalDeployerManagerBuilder

本地 Deployer 管理器构建器,用于构建并配置目标实例。位于 io.agentscope.runtime 包。核心成员包括 endpointName、host、port、protocols、protocolConfigs、corsConfigurer。

A class in io.agentscope.runtime that deploys, schedules and serves agents. Declared in io.agentscope.runtime.

基于官方固定版本源码静态生成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.