Photonic design tools for agents + humans
Rosette gives coding agents the instructions, context, and verification they need to design photonic chips — and gives you a fast editor to check their work
- 1
Initialize a project
~ uvx --from librosette rosette init my-chip - 2
Ask your coding agent
design a grating coupler loopback
AGENTS.md · .rosette/index.md · rosette.toml · components/
designs/loopback.py
rosette build designs/loopback.py
bend radius auto-reduced 10 → 4.5 µm
route extent 15 → 25 µm
rosette build designs/loopback.py
output/loopback.gds
rosette check designs/loopback.py
23 rules, 57 polygons —passed
4 ports connected, 2 bends —passed
Works with any coding agent
Features may be unstable or incomplete. Not suitable for production use.Why Rosette?
Fast
A Rust core and GPU acceleration that keeps you in the flow. From geometry operations to live preview, every layer of the stack is built for speed.
Intelligent
AI-native from the ground up. Built for models and agents to enhance the design, simulation, and fabrication capabilities of your workflow.
Accessible
A minimal Python API, a modern interface, and documentation written for engineers and agents. Professional tools without the learning cliff.
Inspect and modify layouts
Agents write and verify the design. You review it. The editor renders on the GPU and hot-reloads as the design changes, so you can go from the whole chip down to individual grating teeth without waiting.


What’s inside
Python API
A minimal, typed Python interface over a compiled Rust core. Ergonomic placement, automatic routing, and hierarchical cells.
Powerful CLI
Build, check, and preview from the terminal. One command to init a project, one to export GDS, and a dev server that live-reloads as you edit.
Layout editor
A modern app with a WebGPU-rendered viewer, hot-reloading preview, and ergonomic keyboard-based workflows.
Agentic workflows
AI-native from day one. Agent instructions and direct code access gives LLM agents the context to design circuits alongside you.
Documentation
Guides, API references, and copy-paste recipes written for engineers and agents. From first install to tapeout, every step is documented.
More to come
Fit Rosette to your process
Adapt a project without maintaining a fork. If your workflow needs deeper changes, the full Rust, Python, and WebGPU stack is MIT licensed and forkable too.
Shape each project.
Keep process-specific decisions beside the design, where your team and agents can read and change them.
rosette.tomllayer stack + design rulescomponents/editable device libraryAGENTS.mdagent instructions + rules.agents/skills/reusable agent workflowsPlain files. Git tracked. Readable by you and your agent.
Explore project structureChange Rosette itself.
The engine, bindings, CLI, and editor live in one public repository. Change a subsystem or carry the whole stack in your own direction.
crates/geometry + layout enginepython/API + CLIapp/WebGPU editor