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

Quickstart
  1. 1

    Initialize a project

    uvx --from librosette rosette init my-chip
  2. 2

    Ask your coding agent

    design a grating coupler loopback

read

AGENTS.md · .rosette/index.md · rosette.toml · components/

write

designs/loopback.py

rosette build designs/loopback.py

warn

bend radius auto-reduced 10 → 4.5 µm

edit

route extent 15 → 25 µm

rosette build designs/loopback.py

ok

output/loopback.gds

rosette check designs/loopback.py

drc

23 rules, 57 polygons —passed

checks

4 ports connected, 2 bends —passed

Works with any coding agent

Features may be unstable or incomplete. Not suitable for production use.
Principles

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.

Editor

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.

A grating coupler from the fiber loopback design, open in the Rosette editor
Features

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

Simulationintegrationcomponentmarketplacecloudcollaborationand moreactivelydevelopedshapedby communityrosetteopen sourcetoolsplatformnextgenerationdesign
Open source

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.

Project levelno fork required

Shape each project.

Keep process-specific decisions beside the design, where your team and agents can read and change them.

rosette.tomllayer stack + design rules
components/editable device library
AGENTS.mdagent instructions + rules
.agents/skills/reusable agent workflows

Plain files. Git tracked. Readable by you and your agent.

Explore project structure
Tool levelMIT licensed

Change 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 engine
python/API + CLI
app/WebGPU editor
Updates

Latest writing

Start with one command

$uvx --from librosette rosette init my-chip
Installation guide