Integrations
Integrations
AI coding agents
Wire Foundry into Grok Build, Cursor, Claude Code, and Codex so generated UI stays on-token, accessible, and consistent.
One ruleset, four tools
Grok Build
xAI Grok app builder — ship Foundry UIs in live preview sandboxes.
Cursor
Project rules + Composer prompts so Cursor always builds with Foundry.
Claude Code
CLAUDE.md + slash skills so Claude Code ships Foundry-consistent UI.
Codex
OpenAI Codex / AGENTS.md instructions for Foundry-aware codegen.
Quick Prompt (all agents)
Paste at the start of any UI generation task.
Swap the bracketed line for your feature. Agents that already load AGENTS.md / CLAUDE.md / Cursor rules will reinforce the same constraints.
Shared agent rules
Canonical ruleset used by every integration page.
File cheatsheet
| Agent | Primary file | Also useful |
|---|---|---|
| Grok Build | AGENTS.md | Chat Quick Prompt |
| Cursor | .cursor/rules/foundry.mdc | Composer instructions |
| Claude Code | CLAUDE.md | .claude/rules/* |
| Codex | AGENTS.md | .codex/config.toml |
Rules are also mirrored under /integrations/* in this docs app for copy-paste.