Skip to content
AI-powered light–matter engine

MaxwellLink connects electromagnetic solvers and molecular drivers into one loop.

Run light and matter solvers in the same process or across HPC computing nodes via TCP/Unix sockets.

Scientific workflow, modern architecture

MaxwellLink is built for large-scale and heterogeneous light–matter simulations. Its modular architecture unifies self-consistent coupling, socketed execution, and automation under one Python interface.

Self-consistent propagation

Run EM propagation and matter evolution in a self-consistent loop, with a unified Python interface.

Light & Matter Multiscale simulations

Extensible modules

Choose your EM solver or molecular driver via uniform Python interface.

Plugin-ready Custom solvers

Socket interface

Decouple light and matter and run different components on separate processes or nodes via TCP/Unix sockets.

TCP/Unix socket HPC-oriented

Agent Skills automation

Start from a natural-language prompt to generate inputs and launch runs on local machines or HPC.

User-friendly AI workflow

Pluggable light & matter solvers

MaxwellLink lets you choose the EM solver that fits your geometry and scale, then couple it to one or more molecular drivers. Each driver can run at a different level of theory, from effective models, open quantum dynamics, real-time electronic structure, to classical MD, all inside the same self-consistent loop.

User-chosen EM engines

Swap the EM backend without rewriting the simulation logic.

MEEP FDTD Single-mode cavity Prescribed field

Heterogeneous molecular drivers

Mix drivers at different theory levels within one EM run.

TLS / QuTiP real-time nonadiabatic dynamics (Psi4) ASE / LAMMPS

Sockets interface for HPC

MaxwellLink can run each EM solver and molecular driver as independent programs communicating through a socket interface. This enables scalable large-scale simulations on HPC systems.

  • TCP sockets for multi-node HPC.
  • Unix domain sockets for fast local machines.
  • Connect light and matter engines written in different languages while keeping a unified simulation loop.
Conceptual loop of MaxwellLink
EM solver
FDTD, single-mode cavity, prescribed field
SocketHub
Field data ↔ molecular current density
Molecular drivers
TLS, QuTiP, real-time electron via Psi4, ASE, LAMMPS

Agent Skills for automated simulations

MaxwellLink ships with Agent Skills that can generate input files and launch simulations from a short natural-language prompt. The workflow is transparent: you can review and edit the generated inputs before running.

Example prompt

In my local machine, run an initially weakly excited two-level system coupled to 2d vacuum using meep fdtd and plot the excited-state population dynamics

Learn more in the Agent Skills documentation.

Get started in minutes

Install MaxwellLink, choose a solver + driver combination, then run a tutorial end-to-end.

  1. Install the Python package: pip install maxwelllink
  2. Select an EM solver and molecular drivers.
  3. Run a tutorial and iterate from there.

For research use, always validate numerical settings (grid, time step, model parameters) for your simulations.