Skip to content
ML2

Astryx: Meta's design system your coding agent can query

Added NewCopyable prompt below

Published Last verified Released

Our verdict

The most complete answer we've seen to 'my agent's UI looks random': instead of a style prompt, the agent gets a typed component library plus a search-and-docs CLI, a remote MCP server (two tools, search and get) and auto-written AGENTS.md or CLAUDE.md instructions. Meta says it grew internally over eight years and powers 13,000+ apps; the open-source release is still labelled beta, needs React 19+, and you adopt a whole component system, so it suits new projects more than retrofits. It jumped back onto GitHub Trending in November 2026 (about 17,800 stars). We have not run it ourselves.

Who it's for
React builders and vibe coders who let Claude Code, Cursor or Codex write their front end and want consistent, accessible UI without hand-writing a design system
Leverage
Agent-written screens built from documented, themeable components and templates, instead of one-off Tailwind markup the agent invents each time
Effort
Medium
Date added

What it does

Astryx (meta/astryx, MIT) ships @astryxdesign/core (150+ accessible React components on StyleX, with prebuilt CSS so you need no build plugin), seven themes, page and block templates, and @astryxdesign/cli. The CLI searches components, hooks, docs, templates and themes, prints component docs, scaffolds templates, switches themes, ejects a component's source (swizzle) and runs upgrade codemods, with a typed JSON output for agents. astryx init writes agent instructions into AGENTS.md, CLAUDE.md, .cursorrules or a Cursor rule file, and a global install adds a short Astryx skill to ~/.claude/skills. A hosted MCP server at astryx.atmeta.com/mcp gives any MCP client search and get tools over the same docs. You can still style with className using Tailwind, CSS modules or plain CSS.

How builders use it

  • Start a React 19 project, install core, a theme and the CLI, then run init so your agent's instruction file tells it to use Astryx.
  • Add the MCP server to Claude Code or Cursor so the agent searches components and reads their props before writing a page.
  • Ask for pages by template (table page, detail layout, form wizard) and let the agent fill in your content.
  • Change the brand with a theme, and swizzle a component only when you truly need to own its source.

What to expect

Front-end screens your agent builds from one consistent, accessible component set, with docs it can look up instead of guess.

Copy this: Install + connect your agent

# Official source: github.com/meta/astryx (MIT, beta). Needs React 19+.
npm install @astryxdesign/core @astryxdesign/theme-neutral @stylexjs/stylex
npm install -D @astryxdesign/cli

# Write Astryx instructions into your agent's file (AGENTS.md by default):
npx @astryxdesign/cli init --features agents --agent claude   # or cursor / codex / all

# Hosted MCP server (search + get tools), Claude Code:
claude mcp add --transport http astryx https://astryx.atmeta.com/mcp

# Then ask your agent:
Build a settings page with Astryx. Search the Astryx components and templates first, read the docs for each component you use, and don't write custom CSS unless no component fits.

Related discoveries

See the newest picks →
  • ToolVibe-Coding & Prompt-to-App

    Context7: up-to-date docs for A.I. editors

    Feeds current, version-specific library docs into your coding assistant, through a CLI skill or an MCP server.

    Effort: LowPrompt#MCP#Open source

  • ToolSmall Tools, Repos & Plugins

    Repomix: pack a repo into one A.I.-ready file

    One command turns a local or remote repo into a single file you can hand to any LLM, with token counts.

    Effort: LowPrompt#Plugin / extension#MCP

  • ToolSmall Tools, Repos & Plugins

    Headroom: compress what your coding agent reads

    Apache-2.0 proxy, library and MCP server that compresses tool outputs and logs before they reach the LLM.

    Effort: MediumPrompt#Local / BYO model#MCP

Get the best new A.I. picks in your inbox

The best new agent workflows and tools we’ve vetted, with a clear verdict on each. Short, occasional, useful.

More in Vibe-Coding & Prompt-to-App →

Free. No spam. Unsubscribe anytime.