Remote-first Agent Runtime:本地与远端双 Agent 架构
本地 Agent Client 连接本地模型,负责 UI 和本地浏览器;它同时作为远端 Agent Service 客户端。远端 Agent Service 连接自己的模型服务,并在远端执行文件、工具和 Sandbox 操作。
Remote-first Agent Runtime:本地与远端双 Agent
本地负责交互与设备能力;远端负责工作区、工具执行和自己的模型调用。两边都可能是 Agent,也都可能是模型客户端。
用户设备 / Local Trust Boundary
Local Agent Client
UI / Conversation / Local Agent Loop / Tool Router
Local Model Client
Local LLM Provider API
Local Capability
Browser / Screen / UI
Remote Agent Client Adapter
HTTPS API / WebSocket Stream / MCP Client
Local-only boundary
浏览器 Profile、Cookie、用户交互和本机 UI 不上传为远端文件。
远端需要浏览器操作时,通过本地受控 Broker 发起逐项授权。
本地文件系统默认不注册为 Agent Tool。
远端平台 / Remote Trust Boundary
Remote Agent Service
API Gateway / AuthN / Tenant Router / Agent Runtime / Policy Engine
Remote Model Client
Provider API / BYOK
Tool Registry
File / Search / API
Execution
Sandbox / Shell
Workspace Service
Virtual Paths / File API / Object Store or PVC / Version & Lock
Remote-only resources
Tenant / User / Workspace / Session / Task 独立命名空间和授权。
远端模型凭证由服务端管理;本地只持有调用远端服务的短期令牌。
文件工具与 Shell 在远端执行;Sandbox 只挂载当前任务获批的 Workspace。
Remote LLM Provider
Model inference endpoint
服务端自己的模型调用
Local LLM Provider
Local model API / User-selected provider
Local Agent Client → Remote Agent Service
Events / Results / Artifacts
可选:远端请求本地浏览器能力
边界原则:本地 Agent Client 不等于本地执行主机;远端 Agent Service 也不等于无状态 Tool Proxy。