We present AgentOptics, an agentic AI framework for high-fidelity, autonomous optical system control built on the Model Context Protocol (MCP). AgentOptics interprets natural language tasks and executes protocol-compliant actions on heterogeneous optical devices through a structured tool abstraction layer. We implement 64 standardized MCP tools across 8 representative optical devices and construct a 410-task benchmark to evaluate request understanding, role-aware responses, multi-step coordination, robustness to linguistic variation, and error handling. We assess two deployment configurations--commercial online LLMs and locally hosted open-source LLMs--and compare them with LLM-based code generation baselines. AgentOptics achieves 87.7%--99.0% average task success rates, significantly outperforming code-generation approaches, which reach up to 50% success. We further demonstrate broader applicability through five case studies extending beyond device-level control to system orchestration, monitoring, and closed-loop optimization. These include DWDM link provisioning and coordinated monitoring of coherent 400 GbE and analog radio-over-fiber (ARoF) channels; autonomous characterization and bias optimization of a wideband ARoF link carrying 5G fronthaul traffic; multi-span channel provisioning with launch power optimization; closed-loop fiber polarization stabilization; and distributed acoustic sensing (DAS)-based fiber monitoring with LLM-assisted event detection. These results establish AgentOptics as a scalable, robust paradigm for autonomous control and orchestration of heterogeneous optical systems.
翻译:我们提出了AgentOptics,一种基于模型上下文协议(MCP)构建的、用于高保真度自主光学系统控制的智能体人工智能框架。AgentOptics通过结构化的工具抽象层,解析自然语言任务并在异构光学设备上执行符合协议的操作。我们在8种代表性光学设备上实现了64个标准化的MCP工具,并构建了一个包含410项任务的基准测试集,用以评估请求理解、角色感知响应、多步骤协调、语言变化鲁棒性以及错误处理能力。我们评估了两种部署配置——商业在线大语言模型与本地托管开源大语言模型——并将其与基于大语言模型的代码生成基线方法进行比较。AgentOptics实现了87.7%至99.0%的平均任务成功率,显著优于成功率最高仅达50%的代码生成方法。我们进一步通过五个案例研究展示了其更广泛的适用性,这些案例超越了设备级控制,扩展到系统编排、监控和闭环优化。这些案例包括:DWDM链路配置以及对相干400 GbE和模拟光纤无线电(ARoF)信道的协调监控;承载5G前传流量的宽带ARoF链路的自主表征与偏置优化;结合发射功率优化的多跨段信道配置;闭环光纤偏振稳定;以及基于分布式声学传感(DAS)的光纤监控与大语言模型辅助事件检测。这些结果表明,AgentOptics为异构光学系统的自主控制与编排提供了一个可扩展且鲁棒的新范式。