# Agent!

一款利用 AI 提供商执行编码任务并自动化桌面操作的 macOS 应用。

> 这是 OpenNavo 上 Agent! 页面的 Markdown 版本，内容与网页相同： <https://opennavo.com/zh/apps/agentiloop-agent>

- **最新版本**: `1.1.99.299`
- **开发者**: AgentiLoop
- **主页**: <https://github.com/AgentiLoop/Agent>
- **分类**: [AI 工具](https://opennavo.com/zh/categories/ai)
- **安装**: `brew install --cask agentiloop-agent`
- **近 30 天安装**: 30
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://github.com/AgentiLoop/Agent/releases/download/v1.1.99.299/Agent-v1.1.99.299-macOS.dmg>
- **SHA-256**: `1ac9293ffb4727e4237258c9df1eeaced9f484205ec771da372306df1c1d7df0`

SHA-256 只用来核对下载的文件是否完整，不代表安全认证。

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "Agent!.app"
      ],
      "target": "/Applications/Agent!.app"
    },
    "phase": "install",
    "sources": [
      "Agent!.app"
    ],
    "target": "/Applications/Agent!.app",
    "type": "app"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Caches/Agent.app.toddbruss",
            "~/Library/HTTPStorages/Agent.app.toddbruss",
            "~/Library/HTTPStorages/Agent.app.toddbruss.binarycookies",
            "~/Library/Preferences/Agent.app.toddbruss.plist"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

Agent! 是一款原生 macOS 应用，可将 AI 提供商和 Apple Intelligence 接入自主任务工作流。它能够处理代码库、编辑文件、构建 Xcode 项目、管理 Git，并通过辅助功能和基于 AppleScript 的自动化与 Mac 应用交互。

- **任务执行：** 通过观察结果并调整操作来循环执行任务；任务是否完成可依据指定标准进行检查。
- **编码工具：** 支持代码编辑、构建 Xcode 项目、Git 操作、变更快照和回滚。
- **Mac 自动化：** 可通过辅助功能、AppleScript 和 JavaScript for Automation (JXA) 操作应用，也提供 shell 执行选项。
- **提供商选择：** 可连接多个 AI 提供商；项目还介绍了设备端 Apple Intelligence 支持。根据所选提供商，配置时可能需要 API 密钥。
- **MCP 与任务管理：** 可在“设置”中配置 MCP 服务器；应用提供标签页，每个标签页有独立的项目文件夹和日志。

使用 `brew install --cask agentiloop-agent` 安装 Homebrew cask，然后打开 Agent! 并在“设置”中选择提供商。该 cask 面向 64 位 Apple Silicon；应用要求 macOS 14.6 或更高版本。这是图形界面的 Agent! 应用，并非独立的 AgentiLoop CLI 项目。

[官方项目](https://github.com/AgentiLoop/Agent) · [Homebrew cask](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/a/agentiloop-agent.rb)

## 系统要求

- macOS 14 起 · 应用版本: 1.1.99.299 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 核查于 2026-11-30
  - <https://github.com/AgentiLoop/Agent/releases/download/v1.1.99.299/Agent-v1.1.99.299-macOS.dmg>
  - SHA-256: `1ac9293ffb4727e4237258c9df1eeaced9f484205ec771da372306df1c1d7df0`

## 卸载

- `brew uninstall --cask agentiloop-agent`

普通卸载会删除应用本身，设置和缓存会保留。

### 深度清理（可选）

- `brew uninstall --zap --cask agentiloop-agent`

`--zap` 还会删除 Homebrew 定义里列出的设置、缓存等文件，其中可能有其他应用共用的数据，删除后无法恢复；它也不保证没有任何残留。请先备份需要保留的数据；如要保留设置和缓存，请不要加 `--zap`。

普通卸载会删除应用本身，设置和缓存会保留。

- 文件和文件夹: `~/Library/Caches/Agent.app.toddbruss` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/Agent.app.toddbruss` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/HTTPStorages/Agent.app.toddbruss.binarycookies` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Preferences/Agent.app.toddbruss.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 以上条目来自 Homebrew 定义，核查于 2026-11-30；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 1.1.102.302-prerelease (2026-11-29)

#### Agent! 1.1.102 (build 302) — Pre-release

This is a **pre-release** from `main`, tagged `v1.1.102.302`. It builds on [`v1.1.101.301`](https://github.com/AgentiLoop/Agent/releases/tag/v1.1.101.301) with smaller compaction summary requests and result links for OpenAI web searches.

##### 🗜️ Compaction
- **Smaller summary input:** context compaction now sends recoverable tool-result excerpts to the summarizer instead of full outputs, reducing summary request size ([`6f8b706c`](https://github.com/AgentiLoop/Agent/commit/6f8b706c))

##### 🔍 Web Search
- **OpenAI result links:** OpenAI's built-in searches used to show "Also searched…" with no links. The reply's URL citations are now attached to its searches in Recent Searches, in the same numbered title/URL format the other backends use ([`ea3cf700`](https://github.com/AgentiLoop/Agent/commit/ea3cf700))
- **Per-search OpenAI links:** each OpenAI search now lists its own result URLs (requested with `web_search_call.action.sources`), not just the links the reply cites. Cited links remain the fallback when a search returns no sources ([`4ae9d8f0`](https://github.com/AgentiLoop/Agent/commit/4ae9d8f0))

##### 🧪 Tests
- Bounded compaction requests and preserved instructions ([`c9ee4bec`](https://github.com/AgentiLoop/Agent/commit/c9ee4bec))
- Compaction cancellation, tight budgets, and reduced-request failures ([`3a907185`](https://github.com/AgentiLoop/Agent/commit/3a907185))

##### 🔢 Version
- Bumped to 1.1.102 (302) ([`49e3c478`](https://github.com/AgentiLoop/Agent/commit/49e3c478))

##### 📦 Install
- Download the signed, notarized `.dmg` or `.zip` attached to this release. The Release workflow builds and staples them after publishing.
- To get this build through **Check for Updates…**, turn on **Include Pre-releases** first.

**Full changelog:** https://github.com/AgentiLoop/Agent/compare/v1.1.101.301...v1.1.102.302

## 资料与来源

- <https://opennavo.com/zh/apps/agentiloop-agent>
- <https://opennavo.com/zh/apps/agentiloop-agent/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentiloop-agent.rb> · 核查于 2026-11-30
- <https://formulae.brew.sh/cask/agentiloop-agent>
