Skip to main content

Agents Parliament

Agents Parliament

PyPI version

The idea: instead of asking one AI coding agent (Claude, Gemini, Codex, Aider, etc.), you group them into your "Agents Parliament."

When you submit a task:

  1. Your main agent receives the request and decides if it needs help
  2. It calls other agents as tools — Claude might ask Gemini for a code review, or delegate a refactor to Aider
  3. The agents collaborate — each bringing their strengths to produce better results

Each agent can also spawn sub-agents on the fly, dynamically creating their instructions based on the task.

Supported Agents

Server CLI Tool Publisher
claude-mcp Claude Code Anthropic
aider-mcp Aider Open Source
codex-mcp OpenAI Codex OpenAI
gemini-mcp Gemini CLI Google
goose-mcp Goose Block (Square)

Prerequisites

  • Python 3.10+
  • The respective CLI tools installed (see below)

CLI Installation

# Claude Code (required for claude-mcp)
# Install from: https://docs.anthropic.com/en/docs/claude-code

# Aider (required for aider-mcp)
pip install aider-chat

# OpenAI Codex (required for codex-mcp)
npm install -g @openai/codex

# Gemini CLI (required for gemini-mcp)
npm install -g @google/gemini-cli

# Goose (required for goose-mcp)
curl -fsSL https://github.com/block/goose/releases/download/stable/download_cli.sh | bash

Installation

# Install from PyPI (recommended)
pip install agenters

# OR install from source
git clone https://github.com/roeiba/agenters.git
cd agenters
pip install .

Usage

Run servers directly

Once installed, you can use the CLI commands directly:

# Claude MCP Server
claude-mcp

# Aider MCP Server
aider-mcp

# Codex MCP Server
codex-mcp

# Gemini MCP Server
gemini-mcp

# Goose MCP Server
goose-mcp

Configure with Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "claude-agent": {
      "command": "claude-mcp",
      "args": []
    },
    "aider-agent": {
      "command": "aider-mcp",
      "args": []
    },
    "codex-agent": {
      "command": "codex-mcp",
      "args": []
    },
    "gemini-agent": {
      "command": "gemini-mcp",
      "args": []
    },
    "goose-agent": {
      "command": "goose-mcp",
      "args": []
    }
  }
}

Available Tools

Claude MCP Server

Tool Description
ask_claude Simple prompt to Claude
ask_claude_with_system Prompt with custom system prompt
ask_claude_json Get structured JSON response
ask_claude_in_directory Run with directory context
ask_claude_with_tools Run with specific tools enabled
get_claude_version Get CLI version

Aider MCP Server

Tool Description
aider_chat Send a message to make code changes
aider_architect Use architect mode for planning
aider_ask Ask questions without making changes
get_aider_version Get Aider version

Codex MCP Server

Tool Description
codex_prompt Send a prompt (suggest mode)
codex_full_auto Run in full-auto sandboxed mode
codex_auto_edit Run in auto-edit mode
get_codex_version Get Codex CLI version

Gemini MCP Server

Tool Description
gemini_prompt Send a prompt to Gemini
gemini_in_directory Run with directory context
gemini_with_search Run with Google Search grounding
get_gemini_version Get Gemini CLI version

Goose MCP Server

Tool Description
goose_run Run with text instructions
goose_run_file Run with instructions from file
goose_run_recipe Run a predefined recipe
get_goose_version Get Goose version

License

MIT

Release files for agenters 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agenters 0.3.0
File Size Uploaded
agenters-0.3.0.tar.gz 9.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agenters 0.3.0
File Interpreter ABI Platform
agenters-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.4 kB

Release files / agenters-0.3.0.tar.gz

Download URL agenters-0.3.0.tar.gz
Size 9.9 kB
Tags Source
SHA-256 checksum
How to use checksums
52128fd816038fc9d062ed6b1169b01975cfc1c4ce378c24002498f80f1610c1
BLAKE2b-256 checksum
How to use checksums
872af226276cb8aab32dc3849767978e1ae43bd080a46620dd947172284e3530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / agenters-0.3.0-py3-none-any.whl

Download URL agenters-0.3.0-py3-none-any.whl
Size 14.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4ce80fd0f1fa96d03097f6b837bae2fb8d6c47a03a46b3075e39b8d85af68fc8
BLAKE2b-256 checksum
How to use checksums
ba61bcb5c8ec3da18309f1c560ae138d6206533d9751684bb8eda8d78266dacf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page