---
title: "儲存庫中的程式設計代理"
description: "gitā 可偵測儲存庫中執行的 Claude Code、Codex、Gemini CLI、Cursor Agent、opencode 與 Aider，並顯示每個代理是正在工作、等待你還是已完成。"
url: https://getgita.app/zh-hant/features/agents
lang: zh-Hant
---

# 掌握程式設計代理的 即時動態

如果你同時在多個儲存庫裡執行代理，很容易忘記哪個已經跑完、哪個已經等你回覆一個小時。gitā 幫你把它們全部盯緊。

A live copy of the app is on the page: https://getgita.app/zh-hant/features/agents

## 試試看

1. 按一下面板頂部的手掌圖示，僅列出 **需要輸入** 的代理。
2. 按一下某列代理查看詳細資訊：任務內容、執行時長、資料夾、Pull Request。
3. 按一下 **在歷史中顯示**，直接跳轉到代理正在工作的分支。
4. 留意標籤頁：每個標籤頁都帶有對應代理的圖示與狀態。

## 程式設計代理

- **免設定自動偵測.** gitā 透過查看 Mac 上正在執行的程序，辨識 Claude Code、Codex、Gemini CLI、Cursor Agent、opencode 與 Aider。無需外掛程式，無需帳號，也絕不讀取你或代理的對話內容。
- **四種狀態.** 需要輸入、工作中、已完成與閒置。旋轉的圖示代表代理正在工作，手掌圖示代表它正在等你。
- **Claude Code 與 Codex 掛鉤.** 在「設定 ▸ AI 代理」中安裝 gitā 的掛鉤後，只要代理提問或完成，它就能立刻收到通知。安裝前會先備份你原有的設定檔。
- **每個工作樹一列.** 「工作樹與代理」面板會列出每個檢出目錄及其分支、代理、任務與執行時長。支援依狀態篩選，或依狀態與名稱排序。
- **直達代理所在處.** 在清單列中即可開啟它的歷史紀錄、終端機、編輯器或新標籤頁。「顯示於」可將代理自己的終端機視窗置於最前。
- **請代理審查程式碼.** 「使用…審查」可將分支或提交傳送給你已安裝的 Claude、Codex、Cursor、Gemini、opencode、Grok 或 Copilot。它會在終端機中執行並遵循四種審查技能之一。
- **與 Orca 協同運作.** 如果你在 Orca 中執行代理，gitā 會直接從中讀取它們的狀態與任務標題，無需安裝任何掛鉤。

## Questions, answered

### Do I need to install anything for gitā to see my agents?

No. gitā recognises Claude Code, Codex, Gemini CLI, Cursor Agent, opencode and Aider from the processes running on your Mac. Optional hooks for Claude Code and Codex, installed from Settings ▸ AI Agents, tell it the moment an agent asks a question or finishes.

### Does gitā read what my agents wrote?

Never. gitā reads the agents' states from the process list and the optional hooks, not the contents of their transcripts.

### Can an agent review my change?

Yes. **Review with** sends a branch or a commit to Claude, Codex, Cursor, Gemini, opencode, Grok or Copilot, whichever you have installed. It runs in your terminal and follows one of four review skills.

[全部功能](https://getgita.app/zh-hant/features.md)

- **下載 macOS 版:** https://github.com/rolottr/gita/releases/latest
- **在 GitHub 上查看:** https://github.com/rolottr/gita

---

Apple, macOS and Mac are trademarks of Apple Inc. Git is a trademark of Software Freedom Conservancy. GitHub is a trademark of GitHub, Inc. Vercel is a trademark of Vercel Inc. Claude is a trademark of Anthropic, PBC. gitā is independent software and is not affiliated with any of them. 問題回報: https://github.com/rolottr/gita/issues
