# In Situ Training of Optical Neural Networks by Coding Agents

> Source: <https://aiflash.com/news/155099/>
> Published: 2026-11-20 18:30:10+00:00

**Recommendation:** Use coding agents to drive in-situ training of optical neural network hardware instead of hand-building a calibrated digital model per device or running gradient-free trial and error.
More in the playbook "Designing agent systems": <https://wpnews.pro/playbooks/agent-architecture>

Optical neural networks promise fast, energy-efficient computing, but every device departs from its design and must be trained with the hardware. In situ training relies on an expert-built calibrated digital model of each device or on gradient-free trial and error. Coding agents, large language mode
