Skip to content

feat(web-ui): agent creation studio — codegen, preview, skills, AgentKit & A/B#580

Merged
yaozheng-fang merged 1 commit into
mainfrom
feat/web-ui-agent-studio
Jun 4, 2026
Merged

feat(web-ui): agent creation studio — codegen, preview, skills, AgentKit & A/B#580
yaozheng-fang merged 1 commit into
mainfrom
feat/web-ui-agent-studio

Conversation

@yaozheng-fang
Copy link
Copy Markdown
Collaborator

Overview

Adds an agent creation studio to the web UI ("添加 Agent" flow) plus the supporting backend, on top of the existing chat/SSO/upload UI.

Create modes

  • 智能模式 — conversational builder backed by a new dogfooding agent that emits an agent-config JSON (not raw code).
  • 自定义 — a single scrollable form with a scroll-spy rail: model config, built-in / custom / MCP tools, short-/long-term memory & knowledgebase backends, tracing exporters, sub-agents, and a Skill Hub picker.
  • 从模板新建 and 工作流.

Codegen (the core)

  • frontend/src/create/codegen.ts + veadkCatalog.ts: turn a shared config (AgentDraft) into a runnable VeADK project (agent.py, __init__.py, .env.example, requirements.txt, README.md). Both 智能 / 自定义 modes converge on the same generator.
  • Grounded in the real veadk API (built-in tools, memory/KB backends, tracing exporters, env vars) and validated against the live runtime — every generated combination loads and replies.

Project preview & exchange

  • ProjectPreview: file tree + syntax-highlighted editor, ZIP export, and agent-structure YAML export / import (import pre-fills the custom wizard).

Skills

  • Skill Hub integration (skills.volces.com): search → download → unzip the selected skill into the generated project. Dev proxy via vite /skillhub.

A/B compare

  • Two builder apps (dogfooding + dogfooding_b) with selectable models (AGENT_BUILDER_MODEL_A/B); side-by-side preview; adopt one to continue editing.

Sidebar / navigation

  • Single 添加 Agent chooser (AgentKit / 从 0 快速创建); breadcrumb nav; remote AgentKit connections; agent search.

Backend / examples

  • examples/dogfooding + examples/dogfooding_b agent-builder examples.

All local agent discovery follows ADK rules (/list-apps via get_fast_api_app(agents_dir=...)).

🤖 Generated with Claude Code

@yaozheng-fang yaozheng-fang force-pushed the feat/web-ui-agent-studio branch from cf1eedf to 6031905 Compare June 4, 2026 10:11

function persist(list: RemoteConnection[]): void {
try {
localStorage.setItem(STORAGE_KEY, JSON.stringify(list));
@yaozheng-fang yaozheng-fang force-pushed the feat/web-ui-agent-studio branch 2 times, most recently from 87dea76 to db56e6b Compare June 4, 2026 10:15
…w, skills, AgentKit & A/B

Web UI "添加 Agent" flow and supporting backend:

- Create modes: 智能模式 (conversational, backed by the dogfooding agent_builder
  that emits an agent-config JSON), 自定义 (scrollable form + scroll-spy rail:
  model config, built-in/custom/MCP tools, STM/LTM/KB backends, tracing
  exporters, sub-agents, Skill Hub picker), 从模板新建, 工作流.
- Codegen: shared config -> runnable VeADK project (agent.py/__init__.py/
  .env.example/requirements.txt) via create/codegen.ts + veadkCatalog.ts;
  both 智能/自定义 modes converge on it. Validated against the live runtime.
- ProjectPreview: file tree + syntax-highlighted editor, ZIP export, and
  agent-structure YAML export/import.
- Skill Hub integration (search + download + unzip into the project).
- A/B compare: two builder apps (dogfooding + dogfooding_b) with selectable
  models, side-by-side preview, adopt-one.
- Sidebar IA: single "添加 Agent" chooser (AgentKit / 从 0 快速创建); breadcrumb
  nav; remote AgentKit connections; agent search.
- examples/dogfooding[_b] agent-builder examples; vite /skillhub proxy.
@yaozheng-fang yaozheng-fang force-pushed the feat/web-ui-agent-studio branch from db56e6b to f314bc1 Compare June 4, 2026 10:16
@yaozheng-fang yaozheng-fang merged commit 681d6a4 into main Jun 4, 2026
14 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.

3 participants