Skip to content

feat: wrap generated agents with AgentServerApp#668

Merged
yaozheng-fang merged 2 commits into
volcengine:mainfrom
FirstayZheng:feat/generated-agent-agentserverapp
Jul 16, 2026
Merged

feat: wrap generated agents with AgentServerApp#668
yaozheng-fang merged 2 commits into
volcengine:mainfrom
FirstayZheng:feat/generated-agent-agentserverapp

Conversation

@FirstayZheng

Copy link
Copy Markdown
Contributor

概述

本 PR 调整 VeADK Web 生成项目的服务入口:生成的 app.py 不再使用 get_fast_api_app(agents_dir=...),而是直接导入生成的 root_agent,并使用 AgentKit 的 AgentkitAgentServerApp 进行包裹。

这样生成项目部署到 AgentKit 后,可以直接支持 AgentKit/ADK 期望的调用与测试接口,包括 /list-apps/run/run_sse 和 session 相关接口。

主要改动

  • 生成的 app.py 改为使用 AgentkitAgentServerApp(agent=root_agent, short_term_memory=...)
  • 缺省情况下自动提供 ShortTermMemory(backend="local")
  • 保留 /ping/web/agent-info/{app_name}/web/agent-graph
  • 保留 Web UI 访问入口://webui
  • 生成的 requirements.txt 增加 agentkit-sdk-python>=0.2.0
  • 重新构建并更新 veadk/webui 静态产物

@yaozheng-fang
yaozheng-fang merged commit 84df551 into volcengine:main Jul 16, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants