Agentic Execution Environment
Building frontend UIs with Codex and Figma | OpenAI Developers

Building frontend UIs with Codex and Figma | OpenAI Developers

2/26/2026

What this post added

This post introduces the integration of Codex with Figma via the Figma MCP server, enabling bidirectional UI generation. It details how to extract design context from Figma files (designs, makes, FigJam) to inform Codex for code generation, and conversely, how to render live UIs and convert them into editable Figma frames. This enhances the agentic execution environment by allowing agents to directly interact with and generate UI elements based on design specifications and to iterate on code-generated UIs within a design context.

Read the original post ↗