Skip to content
Preprint

PICopilot: An LLM-based Agentic Framework for Assisting Photonic Integrated Circuit Design via Script Generation

Aug 2026 · 0 citations · 40 references
Computer Science

TL;DR

PICopilot is introduced, the first large language model (LLM)-based agentic framework that assists in PIC design via automated design script generation from natural language instructions, achieving a high success rate and reliability.

Abstract

The rapid development of photonic integrated circuits (PICs) is shifting the design flow from traditional graphical user interface (GUI)-based methods to script-based methods for higher flexibility, portability, and maintainability. However, script-based design introduces new challenges, requiring designers to possess additional proficiency in tool application programming interfaces (APIs) and programming. It also demands greater effort and time because it is inherently less intuitive and more complex than GUI-based methods. As PICs grow in scale and complexity, the productivity gap between design needs and manual scripting capabilities continues to widen. To address this gap, we introduce PICopilot, the first large language model (LLM)-based agentic framework that assists in PIC design via automated design script generation from natural language instructions. PICopilot leverages a multi-agent architecture with a feedback mechanism and a specifically designed retrieval-augmented generation (RAG) pipeline, achieving a high success rate and reliability. Experimental results on a benchmark of diverse PIC scripting tasks demonstrate that PICopilot successfully completes all 48 tasks and outperforms other LLM-based approaches without incurring substantial extra latency or cost, even solving 21 more tasks than the advanced GPT-5 model with a general RAG pipeline.

View source

Similar papers

Preprint Aug 2026

VortexChat: An agentic framework for autonomous multi-objective integrated photonic design

Results demonstrate that an LLM agent can assume key aspects of expert decision-making in photonic inverse design while maintaining physical fidelity and fabrication feasibility, providing a scalable route towards autonomous design of complex integrated photonic systems.

Faqian Chong, Yulun Wu, Shilong Li et al. · 0 citations
#machine learning Review Aug 2026

A Comprehensive Review of Large Language Models for Nanophotonics: From Surrogate Modeling to Autonomous Design

This review surveys how Large Language Models are adding semantic interfaces, code generation, and tool orchestration to established numerical nanophotonic workflows, and looks ahead to the next generation of multimodal foundation models with physical perception capabilities.

Huanshu Zhang, Kegeng Tang, Lei Kang et al. · 1 citation
Preprint Aug 2026

AaLLM: An End-to-End Analog Circuit Design Framework from Topology Generation to Sizing Using Large Language Models

An open-source end-to-end multi-agent LLM workflow that takes user specs as input and outputs the appropriate netlist, encompassing both topology generation and circuit sizing, and achieves a figure of merit (FoM) comparable to that of known topologies, and up to 3x higher for certain circuits.

M. Habib, R. Hart, Morteza Fayazi · 0 citations
Review Jul 2026

LLM for EDA in Front-End Design: Challenges and Opportunities

This paper discusses the evolution of EDA from localized assistance to autonomous agentic execution, and reviews representative advances of LLMs in front-end design, focusing on key tasks such as circuit and testbench generation from a shared specification.

Kangwei Xu, Bing Li, Ulf Schlichtmann · 0 citations
Review Jul 2026

WARA: A Closed-Loop Multi-Agent Framework for Wireless Optimization Autoresearch

Comparative results show that WARA substantially outperforms one-shot LLM generation and approaches the quality profile of recently accepted peer-reviewed papers, demonstrating the potential of closed-loop artifact control for end-to-end LLM-assisted wireless optimization research.

Yuancheng Guo, Yilong Chen, Chao Hu et al. · 0 citations
Conference Jul 2026

Automated PLC Programming Using a Multi-Task LLM System

Programmable Logic Controllers (PLCs) are central to industrial automation, yet their programming remains largely manual and time-consuming. While Large Language Models (LLMs) excel at general-purpose code generation, their use in industrial control is limited by tight coupling with physical hardware, constrained I/O signals, and strict safety requirements. We propose a novel approach to PLC code generation that takes as input structured lists of sensors and actuators from electrical CAD tools, together with the required control functionality. The task is formulated as generating machine-specific control functions grounded in available signals, ensuring physical implementability. The system is based on a single LLM adapted through multi-stage fine-tuning and enhanced with Retrieval-Augmented Generation (RAG). Experiments on error detection, code fixing, and code generation show that fine-tuning significantly improves performance. RAG provides strong gains in error detection and code generation, while offering limited benefit for code fixing, highlighting its task-dependent effectiveness.

Teresa Cacciapaglia, D. Ruffino, D. Naso et al. · 0 citations