Case study · 2026 to present · Anonymized
A bridge that lets an AI agent read and edit Figma desktop
A Figma development plugin and a local Python server that let an AI agent read, export, create, modify and delete nodes and frames in Figma desktop, without going through the REST API or its quota.
Areas
- Automation and AI
- Frontend

Project facts
- Role
- Sole author, from diagnosing the quota to the plugin, the server and their docs
- Period
- Jul 2026 to present
- Technologies
- Python · JavaScript · Figma · REST APIs · WordPress
- Public links
- Internal system: the code is private, and names, data and diagrams were left out or recreated.
At a glance
Building a site from the design meant reading Figma, and the available plan allowed six requests a month.
0
Figma REST API calls per extraction, against a cap of 6 a month on the available plan
Source: Bridge tests against real Figma and Figma's rate limit docs, July 2026
7
job types, from reading the file tree to creating, modifying and deleting nodes
Source: Bridge README, October 2026
1 to 1
outputs identical byte for byte to those of the previous REST API flow
Source: Extractions of the same frame through both paths compared, July 2026
The problem
The team was building a corporate WordPress site from a Figma design, with an AI agent extracting each frame. The available account had a view-only seat, and with that seat Figma allows six calls a month to both the REST API and its official MCP server. A single page spent several. On top of that, the agent had no way to write to the design to propose variants.
Before:Six requests a month to Figma, and every page of the site spent several.
After:The agent reads the design as often as it needs, with no quota.
Before:The agent could only look at the design.
After:The agent creates and adjusts frames, text and images right on the canvas.
Before:A wrong change in Figma had to be undone by hand.
After:Every job is a single undo step, and only what the bridge created can be deleted.
My role
Sole author, from diagnosing the quota to the plugin, the server and their docs
Diagnosed the real quota limit and checked which calls spent it.
Designed the job protocol between the command line, the local server and the plugin.
Wrote the Figma plugin, the Python server and the usage and troubleshooting docs.
Validated the outputs byte for byte against the previous flow, so the existing tools kept working unchanged.
Constraints
View-only access to the original file, where plugins do not run.
The plugin can only reach the local machine and has to stay open while it works.
Figma reloads or closes the plugin now and then, so no job may be left half done without notice.
Writing to the design must never delete or damage the design team's work.
Decisions
Read and write from inside the editor
A development plugin runs with the user's session and uses the official plugin API, so reading the document and exporting images goes through no meter and returns the same pixels as the Export button.
Ruled out
- Paying for a developer seat just to get quota
- Reading the web app with an automated browser
- Waiting for the quota to reset every month
A job queue that only the command line can fill
The server listens only on the local machine and rejects any request that carries an origin header, so a page open in the browser cannot queue changes to the design.
Ruled out
- An HTTP server open to any local client
All or nothing, and a single undo step
If one node fails, the plugin removes what it had already created and the error gives the node's exact path. Every job lands in Figma as a single undo step.
Ruled out
- Creating whatever works and reporting the failures at the end
Delete only what the bridge created
Every node it creates carries a mark in the plugin data, and deleting refuses to touch any node without it. The original design cannot be deleted through the bridge.
Ruled out
- Allowing any node to be deleted by its id
Every job is addressed to a file by name
With two copies of the design open, a job once extracted from the wrong file without any warning. Since then the server only hands a job to the plugin that has the requested file open.
Ruled out
- Handing each job to the first plugin that asks
Architecture
01Agent
- AI agentDecides what to read or change in the design
- Command lineQueues, waits for and retries jobs
02Local bridge
- Python serverJob queue, local machine only
03Figma desktop
- Development pluginReads, exports, creates, modifies and deletes
- Copy of the designFrames, nodes, text and images
04Outputs
- Project filesNode JSON, WebP images and renders
How data moves
- AI agenttoCommand lineRequested job
- Command linetoPython serverQueue
- Development plugintoPython serverPolls every 2 s
- Development plugintoCopy of the designFigma plugin API
- Python servertoProject filesResult of each job
Results
The site's extractions no longer depend on a quota of six calls a month.
The agent can propose new sections as real frames in Figma, which the team reviews and adjusts on the same canvas.
The extraction and fidelity check tools kept working unchanged, because the outputs are identical.
What I would do differently
I would address every job to a file by name from day one, instead of finding out through a wrong extraction.
I would also expose the bridge as an MCP server, so any assistant can use it without knowing the command line.
Technologies
- REST APIs