AS AgentScopeAPI 手册 / API Reference

DataApp

@SpringBootApplication( scanBasePackages = { "io.agentscope.builder.control", "io.agentscope.builder.web.api", "io.agentscope.builder.web.auth", "io.agentscope.builder.web.catalog", "io.agentscope.builder.web.config", "io.agentscope.builder.web.coord", "io.agentscope.builder.web.managed", "io.agentscope.builder.web.persistence", "io.agentscope.builder.web.share", "io.agentscope.builder.web.toolbus", "io.agentscope.builder.web.workspace" }) @EnableConfigurationProperties(BuilderE2bProperties.class) @EnableScheduling public class DataApp
源码Source io/agentscope/builder/DataApp.java:45–65

数据应用,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder 包。核心成员包括 main。

Entry point for the builder data plane.

Hosts everything that executes agent turns against live session state:

  • /api/sessions/{id}/events/** — inbound user events (message / interrupt / tool confirmation / tool results), persisted event log, SSE streaming

  • /api/sessions/{id}/hands-stats — hands (sandbox lease) metrics

  • /api/environments/{id}/work/** — environment-worker work-queue operations (environment-key authenticated)

  • /api/environments/{id}/sessions/{sessionId}/pending-tools|tool-results|skills — self-hosted worker session operations (environment-key authenticated)

  • /agentscope/** — aistio data-plane HTTP contract (info / health / sessions / context / messages / compress / terminate) plus self-registration with aistiod

The data plane instantiates HarnessAgent instances from the version snapshot pinned on each session row, loads their state and runs all inference. It never creates sessions and never manages static catalog definitions — both belong to the control plane.

方法摘要Method Summary

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

方法详情Method Detail

main

public static void main(String[] args)
static

设置主。

Performs the main operation.

参数Parameters
名称Name类型Type说明Description
argsString[]参数(类型 `String[]`)。The args.
源码Source io/agentscope/builder/DataApp.java:62–64
基于官方固定版本源码静态生成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.