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
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)
设置主。
Performs the main operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
args | String[] | 参数(类型 `String[]`)。The args. |
io/agentscope/builder/DataApp.java:62–64