import CodeEditor from '@/components/CodeEditor' import { Heading } from '@/components/Heading' import { useLanguage } from '@/i18n/context' export default function ThirdPartyAgentPage() { const { isZh } = useLanguage() return (

{isZh ? '接入第三方 Agent' : 'Third-party Agent Integration'}

{isZh ? '将 pageAgent 作为工具接入你的答疑助手或 Agent 系统,成为你 Agent 的眼和手。' : 'Integrate pageAgent as a tool in your support assistant or Agent system, becoming the eyes and hands of your Agent.'}

{isZh ? '💡 核心价值' : '💡 Core Value'}

{isZh ? '让你的答疑机器人不再只是"嘴巴",而是拥有"眼睛"和"手"的完整智能体。' : 'Transform your support bot from just a "mouth" into a complete intelligent agent with "eyes" and "hands".'}

{isZh ? '集成方式' : 'Integration Method'}

1. Function Calling

{ const result = await pageAgent.execute(params.instruction) return { success: result.success, message: result.data } } } // ${isZh ? '注册到你的 agent 中' : 'Register to your agent'}`} language="javascript" />
{isZh ? '应用场景' : 'Use Cases'}

{isZh ? '🤖 智能客服系统' : '🤖 Smart Customer Service'}

{isZh ? '客服机器人帮用户直接操作系统,如"帮我提交工单"' : 'Support bots directly operate systems for users, e.g., "Help me submit a ticket"'}

{isZh ? '📋 业务流程助手' : '📋 Business Process Assistant'}

{isZh ? '引导新员工完成复杂流程,如"完成客户入职"' : 'Guide new employees through complex processes, e.g., "Complete customer onboarding"'}

{isZh ? '🎯 个人效率助手' : '🎯 Personal Productivity Assistant'}

{isZh ? '跨网站帮你完成任务,如"预订会议室"' : 'Complete tasks across websites, e.g., "Book a meeting room"'}

{isZh ? '🔧 运维自动化' : '🔧 DevOps Automation'}

{isZh ? '通过自然语言操作管理后台,如"重启服务器"' : 'Operate admin panels via natural language, e.g., "Restart server"'}

) }