Design, simulate, and lay out photonic integrated circuits — visually, on your own PDK, with open formats at every step.
A chip building itself: parts placed, the production router wiring connection after connection, DC metal traces to the pads — then Run in the Optics workspace lights up the simulated power flow on every waveguide.
Layout, Optics, Logic and System look at the same design — each with its own accent colour, its own Run button (check, simulate, build logic, link chiplets) and the left panel and analysis tabs that fit the job.
Live simulation
Switch the simulation on once — every edit after that re-runs it in the background. Connect a wire and it lights up; turn a phase shifter and watch the light move between the outputs.
Crossings that stay out of your way
Cut any wire — even one coming out of a crossing — and a real PDK crossing drops in. Slide a crossing along its wire and only the two perpendicular pieces re-route.
Make a logic gate
Select a few photonic parts and press Make gate: Lunima groups them, simulates every input combination and proposes the threshold that turns optical power into a truth table.
Chiplets
Put two dies side by side and butt-couple them through edge couplers. Pull one out of alignment and the live simulation shows the link losing light; Design Checks flag the offset and Align chiplet snaps it back. Each die shows its own process.
Let Claude repair the design (MCP)
Lunima speaks MCP: an agent such as Claude can inspect and edit the open design through the agent bridge. Here it finds the blocked trace, tries fixes in a sandbox and moves the pad clear — every terminal line is a real tool call and its real result.
Headless, for agents. The same engine also runs without a window, as an MCP server (CAP.Desktop mcp) or as a JSON command line (CAP.Desktop agent …). It has about 70 tools, which an agent can use to:
build a circuit from nothing, or apply a whole design from JSON or gdsfactory YAML
route bundles, match lengths and add fibre arrays
simulate, sweep and optimise
run DRC-lite or a foundry KLayout deck, and compare against a reference netlist (LVS)
import, analyse and export GDS and netlists
design chiplets
turn optics into logic gates and run programs on the photonic 4-bit CPU
The repository is also a Claude Code plugin marketplace with workflow skills (/plugin marketplace add aignermax/Lunima). See docs/AGENT_BRIDGE.md.