Skip to main content

Guide | AI Assistant Integration

Compose is extremely well-suited to AI assistant integration. It's far easier for an LLM to generate a 50 line Compose app as opposed to a 2000 line full-stack app.

You can think of Compose as the abstraction layer that handles the complexity of building internal apps, while exposing a simplified interface that AI assistants can use to quickly build apps.

Integrate with Cursor

You can index Compose's documentation, then refer to it using the @Compose symbol. Cursor documentation: link.

Step 1: Open Cursor Settings

Step 2: Go to the Docs section

Then click "+ Add new doc".

Step 3: Add the Compose docs

Step 4: Confirm information

Step 5: Use with @Compose symbol

Integrate with Github Copilot

Compose does not yet support a native Github Copilot integration. If you'd like to see this feature, please reach out by emailing us: atul@composehq.com.

Other AI assistants

Due to how new Compose is, most AI assistants are not yet trained on it. We have thought about creating a v0/bolt.new style prompt window for generating Compose apps, but have not yet implemented it. If you'd like to see this feature, please reach out by emailing us: atul@composehq.com.