# AI 编程助手

> 了解如何使用 Antigravity 等 AI 编程助手来加速 Flutter 开发。




AI tools are not only features in your app,
but can also be powerful assistants in your development workflow.

AI 工具不仅是应用中的功能，
也可以成为你开发流程中的得力助手。

Tools like Antigravity can help you write code faster,
understand complex concepts, and reduce boilerplate.

Antigravity 等工具能帮你更快写代码、
理解复杂概念，并减少样板代码。

## Antigravity

[Antigravity](https://antigravity.google/) is a suite of agentic development tools that includes:

[Antigravity](https://antigravity.google/) 是一套基于 Agent 的开发工具集，包括：

* **Antigravity 2.0**: The core agentic assistant experience (TUI/CLI-driven).

  **Antigravity 2.0**：核心 Agent 体验（基于 TUI/CLI）。

* **Antigravity IDE**: The focused editor experience featuring an integrated agent panel.

  **Antigravity IDE**：一款配备 Agent 面板、注重编辑体验的编辑器。

Some of Antigravity's capabilities include:

Antigravity 部分能力包括：

*   **Agentic capabilities**: Unlike chat-based assistants, Antigravity can proactively edit files and run terminal commands to complete tasks.

    **智能体能力**：与基于聊天的助手不同，Antigravity 可主动编辑文件并运行终端命令以完成任务。

*   **Complex reasoning**: It can plan and execute multi-step workflows which makes it suitable for larger refactors or feature implementations.

    **复杂推理**：它能规划并执行多步工作流，适合较大规模的重构或功能实现。

*   **Verification**: It can run tests and verify its own changes to ensure correctness.

    **验证**：它能运行测试并验证自身修改，以确保正确性。

<YouTubeEmbed
  id="YY2w2JEX2xk"
  title="Flutter + Antigravity in 10 minutes">
</YouTubeEmbed>

To get started with the editor experience, see the [Antigravity IDE](/ai/antigravity) page.

如果要体验编辑器，请访问 [Antigravity IDE](/ai/antigravity) 页面。

To get started with the command-line tool, see the [Antigravity CLI](/ai/antigravity-cli) page.

如果要使用命令行工具，请访问 [Antigravity CLI](/ai/antigravity-cli) 页面。

## Gemini CLI (Legacy)

## Gemini CLI（旧版）

The [Gemini CLI](https://geminicli.com/) is a command-line AI workflow tool.
For individual developers, it is superseded by the new [Antigravity CLI](/ai/antigravity-cli).
It continues to be supported for Gemini Enterprise users.

[Gemini CLI](https://geminicli.com/) 是一款基于命令行的 AI 工作流工具。
对于个人开发者而言，它已经被全新的 [Antigravity CLI](/ai/antigravity-cli) 取代。
Gemini Enterprise 用户仍然可以继续使用该工具。

For more details about Gemini CLI, visit the [Gemini CLI](https://geminicli.com/) website.

更多关于 Gemini CLI 的信息，请访问 [Gemini CLI](https://geminicli.com/) 网站。

## Claude Code

[Claude Code](https://code.claude.com/) is an agentic coding assistant from
Anthropic that runs in your terminal.

[Claude Code](https://code.claude.com/) 是 Anthropic 推出的一款
在终端中运行的智能编码助手。

You can equip Claude Code with domain expertise and tools for Flutter and Dart
by installing the official Flutter plugin, which bundles official
[agent skills](/ai/agent-skills) and the
[Dart and Flutter MCP server](/ai/mcp-server).

你可以通过安装 Flutter 官方插件，
来为 Claude Code 配备 Flutter 和 Dart 的专业知识以及工具，
该插件继承了官方的 [Agent skills](/ai/agent-skills) 以及 
[Dart 和 Flutter MCP server](/ai/mcp-server)。

To install the plugin, follow the Claude Code instructions in
[Install agent skills](/ai/agent-skills#install-agent-skills).

请按照 Claude Code 中的安装说明进行操作：
[安装 Agent skills](/ai/agent-skills#install-agent-skills)。

