- Home
- Skills
- Agents & Orchestration
- gdsfactory Photonic Layout Assistant
Works with the AI Agents you already use
gdsfactory Photonic Layout Assistant
Create and edit photonic layout prototypes with a local gdsfactory MCP Server. Inspect ports, connect and route components, check geometry, and export GDS, editable JSON, and annotated PNG previews.
Free
gdsfactory Photonic Layout Assistant
Example session with this skill installed
Create a 500 um long, 800 nm wide straight waveguide connected to a 20 um linear taper ending at 500 nm. Use the generic demonstration PDK, keep the two far-end ports external, check the design, and export GDS, editable JSON, and an annotated PNG. Preserve any existing unsaved design first.
- Read your context and instructions
- Compiled the gdsfactory photonic layout
Summary
Created a generic-PDK straight waveguide connected to a linear taper. The reproducible stdio MCP demonstration produced GDS, editable JSON, and an annotated PNG, which was visually inspected.
Layout
| Item | Geometry |
|---|---|
| wg1 | Straight waveguide, length 500 um, width 0.8 um |
| taper1 | Linear taper, length 20 um, input width 0.8 um, output width 0.5 um |
| Connection | wg1.o2 directly connected to taper1.o1 |
| External ports | wg1.o1 and taper1.o2 |
| Overall optical path | 520 um along the straight axis |
Deliverables
- build/straight_taper.gds: generated layout geometry.
- build/straight_taper.json: editable design description.
- build/straight_taper.png: annotated preview with component names, port names, and layer information.
Verification
The design check allowed export with no blocking errors. The far-end ports are intentional external interfaces. Dimensions use micrometres in the saved JSON; dedicated *_um creation arguments were used to avoid ambiguity. A separate recovery test verified that invalid input leaves the design unchanged, existing export files are protected, and unsaved work blocks replacement until saved.
Next steps
Review the annotated preview and open the GDS in your layout viewer. This is geometric prototyping with the generic demonstration PDK; successful export does not establish taper adiabaticity, insertion loss, foundry DRC compliance, or fabrication readiness.
Connects securely to your tools. The creator never sees your data.
About this skill
From design intent to checked layout files
Guide your AI agent through photonic layout prototyping with Poppy1517's local gdsfactory MCP Server. Discover supported components, read live parameter schemas, handle nanometre and micrometre inputs, inspect actual ports, and choose direct connections or fixed-position waveguide routing.
Included
- A workflow for creating, editing, saving, checking, and exporting layouts.
- Explicit unit rules, error recovery, and protection for existing designs and files.
- Local server setup and client configuration templates.
- Three worked recipes: straight waveguide plus taper, bent route, and an MMI 1x2 circuit.
- Export guidance for GDS, editable JSON, and annotated PNG previews.
Requirements
A separately installed and connected local stdio gdsfactory MCP Server, Python 3.12+, uv, and a compatible client with access to the server host. Agensi delivers the instructions; it does not install or host the layout server.
Validation and scope
Three real stdio MCP recipes produced GDS, JSON, and PNG with gdsfactory 9.51.0. Additional tests covered parameter updates, save/load roundtrips, invalid-input recovery, unsaved-state protection, and export file/path protection. The three previews were visually inspected.
Uses the generic demonstration PDK for education and geometric prototyping. Does not provide foundry DRC, optical simulation, custom LN PDK support, fabrication qualification, or guaranteed optical performance. Client-specific setup has not been tested in every agent.
Requires a running local gdsfactory-mcp server. Supports only the generic PDK. No optical simulation or foundry DRC capability.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 1 day ago
- Free with an Agensi account
Requires