# AgentsView

面向 AI 编码代理会话的本地归档与浏览工具，支持转录搜索、用量和费用报告，以及可选的远程同步。

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

- **最新版本**: `0.48.0`
- **开发者**: Kenn Software LLC
- **主页**: <https://www.agentsview.io/>
- **分类**: [开发工具](https://opennavo.com/zh/categories/developer-tools)
- **安装**: `brew install --cask agentsview`
- **近 30 天安装**: 765
- **Homebrew**: 可以安装，由 Homebrew 更新
- **下载地址**: <https://github.com/kenn-io/agentsview/releases/download/v0.48.0/AgentsView_0.48.0_aarch64.dmg>
- **SHA-256**: `fb081803f8812e2dd87d392a25db1b344ba9683b49d0f8215c1719ee224a8bcb`
- **附带命令**: agentsview

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

## 安装与卸载内容

```json
[
  {
    "declaration": {
      "app": [
        "AgentsView.app"
      ],
      "target": "/Applications/AgentsView.app"
    },
    "phase": "install",
    "sources": [
      "AgentsView.app"
    ],
    "target": "/Applications/AgentsView.app",
    "type": "app"
  },
  {
    "declaration": {
      "binary": [
        "$APPDIR/AgentsView.app/Contents/MacOS/agentsview"
      ],
      "target": "$HOMEBREW_PREFIX/bin/agentsview"
    },
    "phase": "install",
    "sources": [
      "$APPDIR/AgentsView.app/Contents/MacOS/agentsview"
    ],
    "target": "$HOMEBREW_PREFIX/bin/agentsview",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/.agentsview",
            "~/Library/Caches/agentsview",
            "~/Library/Caches/io.agentsview.desktop",
            "~/Library/Logs/io.agentsview.desktop",
            "~/Library/WebKit/io.agentsview.desktop"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 介绍

AgentsView 可将已记录的编码代理会话导入本地 SQLite 归档，并支持浏览转录内容、搜索对话以及查看令牌用量、预估费用和活动情况。适合使用多种代理工具，并希望在不同会话、项目和设备间保留可搜索记录的开发者。

### 归档与分析
可通过桌面 UI、本地 Web 控制面板、CLI 或 API 读取同一归档。搜索文本、筛选项目和日期、查看活动时间线，并导出用量或对话记录。受支持的代理采用不同的源格式，核算详细程度也各不相同；费用总额取决于记录的用量和可用价格，不能替代服务提供商的账单。版本 0.44.0 增加了可选的项目映射修正、ClickHouse 镜像和更多代理格式；语义搜索、生成式洞察和托管同步需要各自配置及依赖项。

守护进程负责可写的 SQLite 归档、文件监视器和会话同步。桌面应用及常规 CLI 命令可能会自动启动此分离进程，且该进程可能在启动命令结束后继续运行。需要停止同步时，请明确执行 `agentsview daemon stop`。导入会话会创建另一份敏感数据副本；删除原始转录内容不会自动移除已导入的归档。

### 安装与要求
下载对应架构的桌面 DMG 并移入“应用程序”，或 `brew install --cask agentsview`。目录最新记录为 0.46.1、0.45.0 和 0.44.0。此前测得 56,751,798 字节的 Apple 芯片 DMG 属于 0.44.0，不能作为当前下载或安装后体积。0.46.1 标签中的 Tauri 配置声明最低 macOS 11.0；这是构建配置，不是对所有发布资源的独立检查。选择对应的 Apple 芯片或单独发布的 Intel 构建，不假设 DMG 通用。未核实数字化最低 RAM。归档、图像、索引和模型数据需额外空间。

打包的桌面应用包含 CLI sidecar；Go/Rust/Node 是从源代码构建所用的工具，并非文档所述的常规安装前置条件。AgentsView 需要能够读取你所用工具生成的会话文件；仅凭代理名称无法恢复缺失的转录内容。数据库镜像、嵌入和可选集成可能需要额外服务。CLI 安装程序是供无头或通过 SSH 管理的机器使用的独立选项；运行下载的脚本前请先检查。

### 权限、账户与网络
仅授予其所需的代理会话文件夹访问权限。经核查的来源未要求一概授予辅助功能或屏幕录制权限。本地查看归档不需要 AgentsView 云账户。托管同步、S3、数据库、GitHub 发布或基于模型的分析，需要使用所选服务提供商对应的账户、凭据和网络访问权限。不要将这些密钥包含在导出的转录内容中。

默认情况下，服务器绑定到 127.0.0.1，并验证 Host 标头以降低 DNS 重绑定风险。如需有意将服务暴露到环回地址之外，请配置身份验证和安全传输；公共 URL 设置仅用于选择受信任的来源，本身不会提供身份验证或创建代理。不要在不受信任的局域网上暴露会话归档。

### 隐私与保留
会话数据默认在本机，但托管原始同步、PostgreSQL/ClickHouse 镜像、远程 DuckDB、Generated Insights 和 GitHub 发布可将数据传出。当前官方文档说明 PostHog 遥测不止守护进程存活，还包括应用/设置与页面访问、限定范围的功能使用和结果事件，以及分档的可见停留时长。事件使用稳定随机安装 ID 及应用、构建、系统和 CPU 信息；官方称不包含会话/项目/提示内容、路径、账户或机器身份。可用 `AGENTSVIEW_TELEMETRY_ENABLED=0`、`TELEMETRY_ENABLED=0` 或 `DO_NOT_TRACK=1` 禁用。默认本地不代表完全不联网。

归档内容默认包含完整转录，包括工具输入和输出。0.43 版本新增 full、transcripts 和 usage 保留模式，以及图像保留、丢弃或卸载控制。对现有数据应用更严格的保留策略，需要按文档要求重启守护进程并执行完整重新同步；恢复数据则需要原始源文件。分享前请检查导出内容中是否包含凭据、私有代码、个人数据或图像附件。压缩或删除归档内容可能无法撤销，请保留适当的备份。

### 许可证
AgentsView 是由 Kenn Software LLC 发布的 MIT 许可软件。外部代理、模型服务和远程存储各自遵循其许可证并产生相应费用。经核查的来源显示，本地 MIT 应用无需付费的 AgentsView 激活。

来源：[官方 README](https://github.com/kenn-io/agentsview)、[快速入门](https://agentsview.io/docs/quickstart/)、[隐私与归档架构](https://agentsview.io/docs/)、[带标签的 Mac 配置](https://github.com/kenn-io/agentsview/blob/v0.44.0/desktop/src-tauri/tauri.conf.json)、[官方发布版本](https://github.com/kenn-io/agentsview/releases)、[许可证](https://github.com/kenn-io/agentsview/blob/v0.44.0/LICENSE)。

## 系统要求

- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 0.48.0 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 核查于 2026-12-01
  - <https://github.com/kenn-io/agentsview/releases/download/v0.48.0/AgentsView_0.48.0_x64.dmg>
  - SHA-256: `e39fef7dce7ddf15c50caa46615e49e0a7b22ea1767584abe0ec897044c9d7f8`
- 适用于 macOS 27, 26, 15, 14, 13, 12, 11 的版本 · 应用版本: 0.48.0 · Apple 芯片 · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 核查于 2026-12-01
  - <https://github.com/kenn-io/agentsview/releases/download/v0.48.0/AgentsView_0.48.0_aarch64.dmg>
  - SHA-256: `fb081803f8812e2dd87d392a25db1b344ba9683b49d0f8215c1719ee224a8bcb`

## 价格

- 免费 — 官网: <https://github.com/kenn-io/agentsview/blob/main/LICENSE> · <https://github.com/kenn-io/agentsview/blob/main/LICENSE> · 核查于 2026-10-25

## AgentsView 的安全事实

这里只列可以核验的事实，并注明来源和日期，不是安全认证。要检查你下载的文件，可以用 OpenNavo 在本机扫描。

- <https://github.com/kenn-io/agentsview> · 是否开源: 是 — <https://github.com/kenn-io/agentsview> · 核查于 2026-11-13

## 卸载

- `brew uninstall --cask agentsview`

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

### 深度清理（可选）

- `brew uninstall --zap --cask agentsview`

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

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

- 文件和文件夹: `~/.agentsview` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/agentsview` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Caches/io.agentsview.desktop` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/Logs/io.agentsview.desktop` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。
- 文件和文件夹: `~/Library/WebKit/io.agentsview.desktop` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 以上条目来自 Homebrew 定义，核查于 2026-12-01；它们只说明定义声明会删除什么，不代表你的 Mac 上都有。

## 最新版本说明

### 0.49.1 (2026-12-01)

#### New features

- Use `--schema-version 8` with `--by-machine` to count each Claude Code and Codex reply's tokens, cost, and agent time under the last repository its tools touched. Only tool working directories and explicit file paths count as repository evidence. Replies without that evidence count under the session's starting project.
- Apps that embed AgentsView can select a bundled kit-ui theme such as `quiet` by setting `data-kit-theme` on `<html>`.

#### Improvements

- Startup sync after a parser upgrade finishes sooner on archives with large tool results. On an archive of 120 Claude sessions with three 8 MiB tool log results each, it took 7.1 s instead of 84.1 s.
- Reparsing Claude Code sessions after a parser upgrade uses less memory when they have large saved tool outputs. In a replay of 120 sessions with three 8 MiB saved outputs each, peak memory fell from 379 MiB to 323 MiB.

#### Bug fixes
- `agentsview agent setup` now registers its SessionStart hook with agentsview's own path when PATH doesn't find this same binary. Before, on Windows, where agentsview is installed outside PATH, Claude Code and Codex couldn't start the hook, and setup reported `Can't find a usable hook command "agentsview"`. Installs where PATH finds agentsview keep the bare name.

- Conversation exports no longer resend a whole growing Codex session after each sync. When sync re-reads the whole session, messages before the first changed message keep their export IDs.
- On Windows, the SessionStart hook installed by `agentsview agent setup` now runs when AgentsView is installed outside `PATH`.
- Remote sync stages SQLite snapshots in the user cache by default and tries the platform temp directory first if it was explicitly set. If the first directory can't hold the snapshot, remote sync tries the other. Each transfer needs room for one snapshot.
- Controls on the main pages now work from the keyboard and have names that screen readers and speech input can use. Move between cells in the hour-of-week heatmap with the arrow keys, or pick a cell with the Day and Hour selectors.

## 资料与来源

- <https://opennavo.com/zh/apps/agentsview>
- <https://opennavo.com/zh/apps/agentsview/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/agentsview.rb> · 核查于 2026-12-01
- <https://formulae.brew.sh/cask/agentsview>
- <https://github.com/kenn-io/agentsview/blob/main/LICENSE> · 核查于 2026-10-25
- <https://github.com/kenn-io/agentsview> · 核查于 2026-11-13
