AS AgentScopeAPI 手册 / API Reference

HandsWorkerMain

public final class HandsWorkerMain
源码Source io/agentscope/builder/worker/HandsWorkerMain.java:59–502

Hands 工作进程主,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.worker 包。核心成员包括 main。

Standalone Environment Worker for production self-hosted Hands fleets (Claude-style outbound).

Usage:


java -cp service-scheduler.jar io.agentscope.builder.worker.HandsWorkerMain \
--base-url http://builder:8080 \
--environment-id env_xxx \
--environment-key ebk_... \
--hands-root /var/lib/agentscope/hands

The scheduler plane is the only Hands execution plane; the control and data planes never execute self-hosted tools locally.

方法摘要Method Summary

方法Method说明Description
public static void main(String[] args) throws Exception
static
设置主。
Performs the main operation.

方法详情Method Detail

main

public static void main(String[] args) throws Exception
static

设置主。

Performs the main operation.

参数Parameters
名称Name类型Type说明Description
argsString[]参数(类型 `String[]`)。The args.
抛出Throws
  • Exception 可能抛出 `Exception`。Thrown when the operation cannot be completed.
源码Source io/agentscope/builder/worker/HandsWorkerMain.java:68–183
基于官方固定版本源码静态生成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.