Tidy3D + AI π‘#
Ushering in a new era of AI-assisted photonic design
We are pleased to announce the release of the new Tidy3D Extension, which enables seamless building, visualization, and iteration on electromagnetic simulations within Visual Studio Code or Cursor. The extension automatically detects simulations in Tidy3D Python scripts and notebooks, opens an interactive 3D viewer alongside your code, and enables the IDE AI assistant to leverage the integrated FlexAgent MCP server for an intelligent, physicsβaware assistance experience.
Key Components#
FlexAgent MCP#
FlexAgent MCP is a physics-aware AI assistant that understands Tidy3D workflows and electromagnetic simulation concepts. Unlike generic coding assistants, FlexAgent provides specialized knowledge and can control the 3D Viewer to provide comprehensive, context-aware support.
Key Capabilities:
Natural Language Interaction β Build, modify, and analyze simulations using plain English
Physics-Aware β Understands electromagnetic simulation concepts and Tidy3Dβs API
Learning & Troubleshooting β Get explanations and fix simulation issues
Code Generation β Create complete simulation setups from scratch
Result Analysis β Interpret and visualize simulation data
3D Viewer#
The 3D Viewer provides interactive, real-time visualization of Tidy3D simulations directly within your IDE. It automatically detects simulation objects in your code and opens alongside your editor, providing immediate visual feedback as you develop.
Key Features:
Automatic Detection β Identifies
Simulationobjects and opens automaticallyLive Synchronization β Updates instantly when you modify code
Interactive Navigation β Rotate, zoom, and pan to explore simulations
AI-Controlled β FlexAgent can navigate and explain the 3D scene
Comprehensive Visualization β View structures, sources, monitors, and boundaries
Video Demos#
Watch these demonstration videos to see Tidy3D + AI capabilities in action. Each video showcases specific workflows and features that highlight how FlexAgent MCP and the 3D Viewer can accelerate your photonic design process.
Mode Analysis β Learn how to use AI assistance to perform mode analysis and understand waveguide modes
Data Analysis β See how FlexAgent helps analyze simulation results and extract meaningful insights from your data
Convergence Test β Discover how to set up and run convergence tests with AI guidance to ensure simulation accuracy
Cost Estimation β Understand how to estimate simulation costs and optimize your computational resources with AI assistance
For more comprehensive tutorials and the complete video series, visit our Tidy3D + AI Video Playlist.
- FlexAgent MCP
- 3D Viewer
- Tidy3D for Cursor
- Tidy3D for VS Code