Get started developing with AI
Learn how to set up and use AI agent plugins for Flutter and Dart using your preferred coding assistant.
AI coding assistants can accelerate your Flutter development workflow by writing code, fixing errors, and building complete features.
To get the best experience with AI coding assistants, install the official Flutter agent plugins, which bundle agent skills and configuration for the Dart and Flutter MCP server.
Choose your AI coding agent
#Select your agent below for instructions on how to install official plugins and set up rules for Flutter development.
Antigravity is a suite of agentic development tools built by Google that includes the Antigravity IDE and Antigravity CLI.
Install the official plugin
Equip Antigravity with official Dart and Flutter tools by installing the plugin from settings:
- Open Settings in Antigravity by clicking the gear icon or pressing Cmd/Ctrl + ,.
- Click the Customizations tab.
- In the Build with Google Plugins section, click Customize.
- Click Download next to the Dart and Flutter integration.
Claude Code is an agentic coding assistant from Anthropic that runs in your terminal.
Install the official plugin
Equip Claude Code with domain expertise and tools for Flutter and Dart by installing the official plugin from flutter/agent-plugins:
-
Add the marketplace for Claude Code plugins:
claude plugin marketplace add flutter/agent-plugins -
Install the Flutter and Dart plugin:
claude plugin install dart-flutter@dart-flutter -
Verify the installation:
claude plugin marketplace list
Rules setup
Claude Code plugins currently cannot bundle rules files automatically. You can configure rules for your project by following Rules for Flutter and Dart.
Codex is an agentic coding assistant designed for terminal and IDE workflows.
Install the official plugin
Equip Codex with official Flutter and Dart skills and MCP configuration:
-
Add the Dart and Flutter marketplace for Codex plugins:
codex plugin marketplace add flutter/agent-plugins -
Install the Dart and Flutter plugin:
codex plugin add dart-flutter@dart-flutter
Rules setup
Codex plugins currently cannot bundle rules files automatically. You can configure rules for your project by following Rules for Flutter and Dart.
Cursor is an AI-first code editor built on VS Code.
Install the local plugin
You can install the plugin locally by copying it to your Cursor plugins directory:
-
Clone the repository:
bashgit clone https://github.com/flutter/agent-plugins.git -
Copy the repository directory to your local Cursor plugins folder:
bashmkdir -p ~/.cursor/plugins/local cp -r agent-plugins ~/.cursor/plugins/local/dart-flutter -
Restart Cursor. The editor automatically discovers and loads the skills under
skills/and configures the MCP server defined in.mcp.json.
If you're using another compatible agentic assistant:
- MCP Server: To connect your agent to Dart and Flutter developer tools, see the Dart and Flutter MCP server setup guide.
-
Agent Skills: To manually install agent skills into your project's
.agents/skillsdirectory using theskillsCLI tool, see Install agent skills. - Rules: To configure rules and project best practices for your assistant, see Rules for Flutter and Dart.
The AI tooling stack
#To get the most out of AI, it helps to understand how the different pieces work together:
| Component | What it is | How it helps |
|---|---|---|
| Plugins | Packages MCP and Skills together for your editor. | Start here. Recommended for quick setup. |
| MCP Server | Connects the AI to Flutter developer tools (hot reload, widget tree). | Provides the raw machinery for advanced tools. |
| Agent Skills | Step-by-step blueprints for specific tasks. | Provides the professional know-how to operate tools. |
| AI Rules | General guidelines and best practices for your project. | Enforces consistent coding standards. |
Next steps
#- Learn more about Agent skills and how agents use them.
- Explore the Dart and Flutter MCP server integration.
- Check out Rules for Flutter and Dart to customize model behavior.
Unless stated otherwise, the documentation on this site reflects Flutter 3.44.7. Page last updated on 2026-08-12. View source or report an issue.