選項

透過 Composio 使用 1000 多個外部應用程式——無論是直接透過命令列介面(CLI),還是利用 SDK 建置 AI 代理程式和應用程式

...展開全部
56
更新時間 2026-06-29

關於composio

Composio 是一款人工智慧技能,旨在透過命令列介面(CLI)或軟體開發套件(SDK),提供與超過 1,000 款外部應用程式無縫接軌的存取與互動功能。 它透過擔任統一的工具路由器,將使用者與 AI 代理程式連接至 Gmail、Slack、GitHub 和 Notion 等廣泛服務,從而解決管理多項應用程式及自動化任務的問題。藉由整合這些互動,Composio 能簡化工作流程,並降低處理跨平台多元 API 及認證流程的複雜性。

此技能提供兩項主要功能:透過Composio CLI 直接與應用程式互動,以及使用 SDK 建置整合式應用程式或 AI 代理程式。CLI 讓使用者無需編寫程式碼,即可搜尋工具、執行操作、連結帳戶,並監聽即時事件。 同時,SDK 讓開發者能夠建立能透過程式方式與外部工具整合的 AI 代理程式或後端服務,為建構自訂工作流程提供更大的靈活性。主要功能包括基於 OAuth 的驗證、即時事件監聽,以及對互動式與非互動式登入流程的支援,確保能安全且可擴展地存取外部服務。

Composio 對於希望自動化重複性任務、透過「按使用者」連接方式管理多使用者應用程式,或建置需存取多項服務的 AI 代理程式的使用者而言,此功能特別實用。 目標使用者包括開發者、技術團隊以及希望透過自動化與整合來提升生產力的 AI 從業者。常見的應用情境包括發送電子郵件、在 GitHub 建立問題、在協作平台上發佈訊息,或是協調複雜的多應用程式工作流程,且無需手動處理各服務 API 的複雜細節。

常見問題

如何開始使用Composio 與外部應用程式互動?

首先,若尚未安裝,請使用提供的安裝腳本安裝 CLI,然後透過 'composio login' 進行驗證。之後,您即可直接透過 CLI 搜尋工具、連結帳戶並執行操作。

我可以在無頭或非互動式環境中使用Composio 嗎?

可以,對於無法直接存取瀏覽器的代理程式,您可以使用 '--no-wait' 參數及 CLI 金鑰進行驗證,並以非互動模式運作。

支援哪些類型的外部應用程式?

Composio 支援超過 1,000 款應用程式,包括 Gmail、Slack、GitHub、Notion 以及許多其他應用程式,既可執行操作,也能監聽事件。

使用Composio 是否需要編寫程式碼?

不需要,您可以直接使用 CLI 進行互動,無需編寫程式碼。只有當您想使用 SDK 建立自訂代理程式或應用程式時,才需要編寫程式碼。

如何確認我目前登入的是哪個組織或專案?

完成驗證後,執行 'composio whoami' 即可確認您的 org_id、project_id 及 user_id。

在 GitHub 上查看

When to Apply

  • User wants to access or interact with external apps (Gmail, Slack, GitHub, Notion, etc.)
  • User wants to automate a task using an external service (send email, create issue, post message)
  • Building an AI agent or app that integrates with external tools
  • Multi-user apps that need per-user connections to external services

Setup

Check if the CLI is installed; if not, install it:

curl -fsSL https://composio.dev/install | bash

After installation, restart your terminal or source your shell config, then authenticate:

composio login       # OAuth; interactive org/project picker (use -y to skip)composio whoami      # verify org_id, project_id, user_id

For agents without direct browser access: composio login --no-wait | jq to get URL/key, share URL with user, then composio login --key <cli_key> --no-wait once they complete login.

1. Use Apps via Composio CLI

Use this when: The user wants to take action on an external app directly — no code writing needed. The agent uses the CLI to search, connect, and execute tools on behalf of the user.

Key commands (new top-level aliases):

  • composio search "<query>" — find tools by use case
  • composio execute "<TOOL_SLUG>" -d '{...<input params>}' — execute a tool
  • composio link [toolkit] — connect a user account to an app (agents: always use --no-wait for non-interactive mode)
  • composio listen — listen for real-time trigger events

Typical workflow: search → link (if needed) → execute

Full reference: Composio CLI Guide

2. Building Apps and Agents with Composio

Use this when: Writing code — an AI agent, app, or backend service that integrates with external tools via the Composio SDK.

Run this first inside the project directory to set up the API key:

composio init

Full reference: Building with Composio

安裝 composio

請下載並將技能檔案解壓縮至您的 .claude/skills/ 目錄中。

下載 ZIP

複製儲存庫並將技能檔案複製到您的專案中。

git clone https://github.com/ComposioHQ/skills/blob/main/skills/composio/SKILL.md # Copy SKILL.md to your .claude/skills/ directory

複製 複製
快速設定: 將技能資料夾複製到 .claude/skills/,Claude 會自動偵測並使用該技能
儲存庫 composiohq/skills

相關技能

office-mcp
更新時間 2026-07-13
mcpgraph
更新時間 2026-06-29
connect-mcp-server
更新時間 2026-06-29
browser-devtools-mcp
更新時間 2026-06-29
OR