Logo Agents Council MCP

Agents Council MCP

Cộng đồng
MrLesk

Agent-to-Agent MCP communication tool for feedback requests

Nhà phát hànhMrLesk
Kho mãagents-council
Ngôn ngữTypeScript
Bản fork
24
Sao
68
Công cụ có sẵn
5
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Agents Council MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 5 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    68 sao và 24 bản fork từ kho mã được liên kết.


🏛️ Overview

Designed for developers who already have active agent sessions and want them to collaborate without extra infrastructure.

Agents Council is the simplest way to bridge and collaborate across AI Agent sessions like Claude Code, Codex, Gemini, Cursor or others. It allows your agents to combine their strengths to solve your most difficult tasks without leaving their current context.

The most powerful way to use the council is by connecting your existing, active sessions. You can initialize them with the specific context you want, let them brainstorm or peer-review the matter, and then seamlessly take over the session once the council has finished.

Inspired by Andrej Karpathy's LLM Council, it provides an MCP-based CLI tool that lets multiple agents communicate with each other and find solutions to your most complex tasks.

✨ Features

  • Centralized agent communication via MCP stdio server (no complex peer-to-peer networking).
  • Summon Claude or Codex: Instantly summon Claude or Codex into your council when needed. Reuses local CLI authentication where available.
  • Session Preservation: Start agents with your specific context, let them collaborate, and resume when they are done.
  • Human Participation: A local desktop Council Hall app to monitor or join the discussion.
  • Private & Local: State is stored on disk at ~/.agents-council/state.json.
  • Flexibility: Markdown or JSON text output for agent readability or automation.

🚀 Getting Started

Agents Council requires Node.js or Bun.

1. MCP Mode (Zero Install)

No installation is needed when using only the MCP mode. You can add the agents council MCP server to your agents using npx (or bunx). See the MCP Setup section below for specific commands.

If you only need agent-to-agent communication, skip to MCP Setup. Install the CLI only for the desktop app and global council command.

2. Desktop App & CLI

If you want to participate via the desktop app or use the council command globally, install the package:

bash
npm install -g agents-council

Then run one of these:

bash
council        # desktop default launch
council chat   # compatibility alias: also launches desktop
council mcp    # terminal MCP server mode

3. Distribution Model

Releases keep a single user-facing npm package (agents-council) backed by platform optional dependencies:

  • agents-council-linux-x64
  • agents-council-linux-arm64
  • agents-council-darwin-x64
  • agents-council-darwin-arm64
  • agents-council-windows-x64

Each platform package ships:

  • the council CLI binary for terminal mode (--help, --version, mcp), and
  • Electrobun desktop artifacts in desktop-artifacts/ for native installer/update distribution.

GitHub releases publish the Electrobun desktop-launchable artifacts for macOS, Windows, and Linux.


🔌 MCP Setup

Add the council to your favorite MCP client using the commands below.

bash
claude mcp add council npx agents-council@latest mcp

or use a predefined Agent Name:

bash
claude mcp add council -s user -- npx agents-council@latest mcp -n Opus
bash
gemini mcp add council npx agents-council@latest mcp
bash
codex mcp add council npx agents-council@latest mcp
bash
amp mcp add council npx agents-council@latest mcp
json
{
  "mcpServers": {
    "council": {
      "command": "npx",
      "args": [
        "agents-council@latest",
        "mcp"
      ]
    }
  }
}

📖 Quick Start

  1. Start a council session in one terminal (e.g. via Claude Code) and describe the complex topic you need help with.
  2. Join the council from another terminal (e.g. via Codex or Gemini) to provide feedback.
  3. Review feedback and take over the session once the council has provided enough insights.

💬 Desktop Council Hall

Run the local desktop interface for human participants:

bash
council

council chat remains available as a compatibility alias and opens/focuses the same desktop interface.

The desktop interface follows the Council Hall redesign:

  • Council Sidebar: session chronicle, session spawn action, and archive area.
  • Council Hall: active session header, voice stream, composer, and summon entry point.

The summon workflow is part of the Hall interface. Model and agent selections persist in ~/.agents-council/config.json.

UI implementation and future UI feature work should follow docs/ui-spec.md and docs/ui-implementation-progress.md.


🪄 Summon Agents

The Summon feature lets you bring a Claude or Codex agent into the active Council Hall session. Summoned agents review the matter and prior feedback, then contribute their response to the same voice stream.

Summon Claude

Prerequisites:

  • Claude Code must be installed and available in your PATH
  • Run claude at least once to authenticate

How it works:

  1. A summoned Claude agent joins the active council session
  2. It reads the current request and any prior feedback
  3. It contributes a response using the council tools
  4. The agent is granted read-only access to the project (Read/Glob/Grep) plus council tools
  5. Other tools follow your Claude Code user permission settings

Advanced Configuration:

These settings are optional. By default, Agents Council looks for claude in your PATH.

SettingDefaultDescription
Claude Code Path (Settings UI)claudeCustom path to the Claude Code executable
CLAUDE_CODE_PATH (env var)claudeAlternative way to set the path
AGENTS_COUNCIL_SUMMON_DEBUG(unset)Set to 1 to enable debug logging

Summon Codex

Prerequisites:

  • Run codex login once (authentication is handled by the Codex SDK/CLI)
  • Optional: set a default model in ~/.codex/config.toml (for example, model = "gpt-5.2-codex")

How it works:

  1. A summoned Codex agent reads the current request and any prior feedback
  2. It returns a single response that is recorded in the council
  3. Codex runs via the Codex SDK CLI in read-only mode by default

Advanced Configuration:

Authentication is handled by the Codex SDK/CLI (typically codex login). If your Codex setup uses API keys or a custom base URL, those will still be honored.

These settings are optional. By default, Agents Council uses the bundled Codex CLI from the SDK.

SettingDefaultDescription
Codex CLI Path (Settings UI)bundledCustom path to the Codex CLI executable
CODEX_PATH (env var)(unset)Alternative way to set the path

🛠️ MCP Tools

  • start_council: Open a new session with a request (returns session_id).
  • join_council: Join a specific session via session_id.
  • get_current_session_data: Poll a specific session_id (supports cursors).
  • send_response: Submit feedback to a specific session_id.
  • close_council: End a specific session_id with a conclusion.
  • summon_agent: Summon Claude or Codex into the current council.

🗺️ Roadmap

Unchecked items are planned and may change based on feedback.

  • v0.1 - MCP Council
  • v0.2 - Chat UI
  • v0.3 - Summon Claude
  • v0.4 - Summon Codex
  • v0.5 - Summon Gemini
  • v0.6 - Multiple council sessions in parallel
  • v0.7 - Connect to external LLMs via API Keys
  • v0.8 - Agents can summon user (Telegram/Slack)

📄 License

MIT

Cài đặt

TypingMind
{
  "mcpServers": {
    "agents-council": {
      "command": "npx",
      "args": [
        "agents-council@latest",
        "mcp"
      ]
    }
  }
}

Công cụ có sẵn

  • start_council

    Start a new council session and submit your request. Other council members will reply shortly after. Provide agent_name to identify yourself; the server may append #1, #2, etc. if the name is already taken.

  • get_current_session_data

    Get the current session request and responses since the last cursor.

  • join_council

    Join the current council session and fetch the request and responses. Provide agent_name to identify yourself; the server may append #1, #2, etc. if the name is already taken.

  • close_council

    Close the current council session with a conclusion.

  • send_response

    Send a response for the current session.

Dùng MCP Agents Council MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Agents Council MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Agents Council MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Agents Council MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "agents-council": {
      "command": "npx",
      "args": [
        "-y",
        "agents-council"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Agents Council MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Agents Council MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Agents Council MCP giúp tôi làm việc này không?
Agents Council MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Agents Council MCP.

Câu hỏi thường gặp

Máy chủ MCP Agents Council MCP dùng để làm gì?

Agents Council MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Agents Council MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Agents Council MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Agents Council MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Agents Council MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Agents Council MCP với TypingMind?

Agents Council MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Agents Council MCP cung cấp những công cụ nào trong TypingMind?

Agents Council MCP cung cấp 5 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Agents Council MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Agents Council MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇