@@ -39,13 +39,31 @@ import * as filesystemModule from '@agent-infra/mcp-server-filesystem';
3939import * as commandsModule from '@agent-infra/mcp-server-commands' ;
4040
4141import { WorkspacePathResolver } from './shared/workspace-path-resolver' ;
42+ import { AgentWebUIImplementation } from '@agent-tars/interface' ;
4243
4344/**
4445 * A Agent TARS that uses in-memory MCP tool call
4546 * for built-in MCP Servers.
4647 */
4748export class AgentTARS < T extends AgentTARSOptions = AgentTARSOptions > extends MCPAgent < T > {
4849 static label = '@agent-tars/core' ;
50+
51+ /**
52+ * Default Web UI configuration for Agent TARS
53+ */
54+ static webui : AgentWebUIImplementation = {
55+ logo : 'https://lf3-static.bytednsdoc.com/obj/eden-cn/zyha-aulnh/ljhwZthlaukjlkulzlp/appicon.png' ,
56+ title : 'Agent TARS' ,
57+ subtitle : 'Offering seamless integration with a wide range of real-world tools.' ,
58+ welcomTitle : 'An multimodal AI agent' ,
59+ welcomePrompts : [
60+ 'Search for the latest GUI Agent papers' ,
61+ 'Find information about UI TARS' ,
62+ 'Tell me the top 5 most popular projects on ProductHunt today' ,
63+ 'Please book me the earliest flight from Hangzhou to Shenzhen on 10.1' ,
64+ ] ,
65+ enableContextualSelector : true ,
66+ } ;
4967 private workspace : string ;
5068 // FIXME: remove it since options is strict type already
5169 private tarsOptions : AgentTARSOptions ;
0 commit comments