# Gravity AI UI > AI-agent interface shell. Generate, preview, inspect, and reuse AI-built product interfaces with A2UI, OpenAI, and Gravity UI. Gravity AI UI is a web shell for generating product-interface previews from natural language prompts. It uses A2UI messages, OpenAI Responses, and Gravity UI components. ## Core pages - [App](https://gravity-ai.ydb-qdrant.tech/): Generate, inspect, like, publish, and copy AI-built interface drafts. - [Gallery](https://gravity-ai.ydb-qdrant.tech/gallery): Public gallery of liked interface drafts with previews and generated code. - [Docs](https://gravity-ai.ydb-qdrant.tech/docs): Gravity AI UI API docs, OpenAPI spec, MCP server usage, auth notes, webhooks status, rate limits, and errors. - [About](https://gravity-ai.ydb-qdrant.tech/about): How Gravity AI UI combines A2UI, Gravity UI, OpenAI, and YDB into a trusted interface preview shell. - [Compare](https://gravity-ai.ydb-qdrant.tech/compare): Gravity AI UI compared with AI UI generators such as Vercel v0, Lovable, Figma, and Uizard. - [Gravity AI UI vs Vercel v0](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-v0): Focused comparison for agent-readable UI generation, MCP, A2UI, OpenAPI, and React export workflows. - [Gravity AI UI vs Lovable](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-lovable): Focused comparison for agent-readable UI generation, MCP, A2UI, OpenAPI, and React export workflows. - [Gravity AI UI vs Figma](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-figma): Focused comparison for agent-readable UI generation, MCP, A2UI, OpenAPI, and React export workflows. - [Gravity AI UI vs Uizard](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-uizard): Focused comparison for agent-readable UI generation, MCP, A2UI, OpenAPI, and React export workflows. - [Best AI UI generator for agents](https://gravity-ai.ydb-qdrant.tech/best-ai-ui-generator-for-agents): Category guide for agent workflows, Figma, Uizard, A2UI, MCP, OpenAI, and Gravity UI. - [Integration guide](https://gravity-ai.ydb-qdrant.tech/guides/a2ui-openai-gravity-ui): A2UI, OpenAI, and Gravity UI integration guide for agent-generated product interfaces. - [How to expose an AI UI generator through MCP](https://gravity-ai.ydb-qdrant.tech/guides/mcp-ui-generator): A practical guide to exposing AI-generated UI through MCP with structured A2UI output, OpenAPI discovery, markdown docs, and reusable React export artifacts. - [Structured UI output vs raw JSX](https://gravity-ai.ydb-qdrant.tech/guides/structured-ui-output-vs-jsx): Why agent-generated product interfaces are safer and easier to reuse when models emit structured A2UI-style payloads instead of raw JSX or HTML. ## Suggested assistant tasks - Evaluate Gravity AI UI as an AI UI generation tool. - Explain how A2UI, OpenAI, and Gravity UI fit together. - Explain a public gallery item. - Critique a generated interface. - Adapt a generated UI for a real product. - Improve a generation prompt. ## Machine-readable resources - [Sitemap](https://gravity-ai.ydb-qdrant.tech/sitemap.xml): Dynamic XML sitemap with public pages and published gallery detail pages. - [Robots policy](https://gravity-ai.ydb-qdrant.tech/robots.txt): Crawl policy for search and AI crawlers. - [MCP endpoint](https://gravity-ai.ydb-qdrant.tech/mcp): Streamable HTTP MCP server for public gallery lookup and interface generation. - [MCP discovery](https://gravity-ai.ydb-qdrant.tech/.well-known/mcp): Pre-connection MCP metadata and Streamable HTTP alias. - [MCP compatibility manifest](https://gravity-ai.ydb-qdrant.tech/.well-known/mcp.json): Well-known MCP manifest for crawlers that probe mcp.json. - [MCP server card](https://gravity-ai.ydb-qdrant.tech/.well-known/mcp/server-card.json): Tool manifest for agent discovery. - [Agent discovery](https://gravity-ai.ydb-qdrant.tech/.well-known/agent.json): Generic agent capability discovery document. - [OpenAPI spec](https://gravity-ai.ydb-qdrant.tech/openapi.json): OpenAPI 3.1 API reference for function-calling agents. - [OAuth metadata](https://gravity-ai.ydb-qdrant.tech/.well-known/oauth-authorization-server): Metadata-only OAuth discovery surface. - [Full agent docs](https://gravity-ai.ydb-qdrant.tech/llms-full.txt): Markdown product, API, auth, MCP, and webhook documentation. - [Developer docs](https://gravity-ai.ydb-qdrant.tech/developers.md): Markdown developer resource index. - [OpenGraph image](https://gravity-ai.ydb-qdrant.tech/opengraph-image): Social preview image. - [Markdown homepage](https://gravity-ai.ydb-qdrant.tech/index.md): Markdown fallback for the site root. - [Markdown docs](https://gravity-ai.ydb-qdrant.tech/docs.md): Markdown fallback for developer docs. - [Markdown compare](https://gravity-ai.ydb-qdrant.tech/compare.md): Markdown fallback for AI UI generator comparison. - [Markdown Gravity AI UI vs Vercel v0](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-v0.md): Markdown fallback for focused AI UI generator comparison. - [Markdown Gravity AI UI vs Lovable](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-lovable.md): Markdown fallback for focused AI UI generator comparison. - [Markdown Gravity AI UI vs Figma](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-figma.md): Markdown fallback for focused AI UI generator comparison. - [Markdown Gravity AI UI vs Uizard](https://gravity-ai.ydb-qdrant.tech/compare/gravity-ai-ui-vs-uizard.md): Markdown fallback for focused AI UI generator comparison. - [Markdown agent guide](https://gravity-ai.ydb-qdrant.tech/best-ai-ui-generator-for-agents.md): Markdown fallback for the agent-focused category guide. - [Markdown How to expose an AI UI generator through MCP](https://gravity-ai.ydb-qdrant.tech/guides/mcp-ui-generator.md): Markdown fallback for the guide. - [Markdown Structured UI output vs raw JSX](https://gravity-ai.ydb-qdrant.tech/guides/structured-ui-output-vs-jsx.md): Markdown fallback for the guide. ## Developer resources - [Gravity AI UI API docs](https://gravity-ai.ydb-qdrant.tech/docs): API docs, OpenAPI spec, auth notes, MCP server usage, webhooks status, rate limits, and errors. - [Auth docs](https://gravity-ai.ydb-qdrant.tech/auth.md): OAuth metadata and current public-access policy. - [Webhook docs](https://gravity-ai.ydb-qdrant.tech/webhooks.md): Current webhook support status and future signing model. - [MCP docs](https://gravity-ai.ydb-qdrant.tech/mcp.md): Streamable HTTP examples for agent clients. ## MCP tools - search_interfaces: Search public liked interface drafts. - get_interface: Fetch a public gallery interface with composed payload and React code. - generate_interface: Generate a new Gravity UI interface from a prompt without saving it. - refine_interface: Refine a supplied composed interface payload without saving it. ## Stack - Next.js 16 - React 19 - TypeScript - A2UI - OpenAI - Gravity UI - SCSS ## Notes - API routes are operational endpoints and are not intended for public indexing. - Liked interfaces are public once published; private prompt history is not shown on gallery pages.