Tidy3D is a software package for solving extremely large electrodynamics problems using the finite-difference time-domain (FDTD) method. It can be controlled through either an open source python package or a web-based graphical user interface.
This repository contains the python API to allow you to:
Programmatically define FDTD simulations.
Submit and manage simulations running on Flexcompute's servers.
Download and postprocess the results from the simulations.
Installation
Signing up for tidy3d
Note that while this front end package is open source, to run simulations on Flexcompute servers requires an account with credits.
You can sign up for an account .
After that, you can install the front end with the instructions below, or visit in our documentation for more details.
Where XXX is your API key, which can be copied from your account page in the web interface.
In a hosted jupyter notebook environment (eg google colab), it may be more convenient to install and configure via the following lines at the top of the notebook.
!pip install tidy3d
import tidy3d.web as web
web.configure("XXX")
FlexAgent connects AI clients to Tidy3D through the Model Context Protocol (MCP). For AI coding agents, install the Tidy3D plugin from the Flexcompute plugin marketplace. The plugin provides Tidy3D guidance and MCP registration; for now, configure MCP clients to launch the Python package runtime through uvx tidy3d mcp.