Aqua

Autonomous QUorum of Agents - Lightweight coordinator for CLI AI agents

View the Project on GitHub vignesh07/aqua

Aqua

Autonomous QUorum of Agents - Lightweight coordinator for CLI AI agents.

PyPI version License: MIT Python 3.10+

See It In Action

Manual Workflow

Add tasks, spawn agents, and monitor progress:

Aqua manual demo

Agent-Driven Workflow

Let Claude plan and coordinate everything:

Aqua agent demo

What is Aqua?

Aqua enables multiple AI agents (Claude Code, Codex CLI, Gemini CLI) running in separate terminal sessions to collaborate on tasks within a shared codebase.

When working with AI coding agents, you often want multiple agents working in parallel on different tasks. But without coordination, agents can:

Aqua solves this with:

Quick Install

pip install aqua-coord

Quick Start

# 1. Initialize in your project
cd your-project
aqua init
aqua setup --all  # Add instructions to CLAUDE.md, AGENTS.md, GEMINI.md

# 2. Add tasks
aqua add "Set up project structure" -p 9
aqua add "Implement data models" -p 8 --after "Set up project structure"
aqua add "Build API endpoints" -p 7

# 3. Spawn agents
aqua spawn 3

# 4. Monitor
aqua watch

Let the Agent Do It

After running aqua setup --all, you can simply start your AI agent and ask it to plan the project:

aqua init
aqua setup --all

# Start your AI agent
claude  # or: codex, gemini

# Then ask:
> "Plan this project and spawn workers to build it"

The agent reads the instructions from CLAUDE.md (or AGENTS.md/GEMINI.md), understands Aqua’s capabilities, and handles task breakdown, agent spawning, and coordination autonomously.

Features

Feature Description
Task Queue Priority-based task management with dependencies
File Locking Prevent multiple agents from editing the same file
Blocking Messages Ask questions and wait for replies from other agents
Live Monitoring Real-time dashboard and event stream
Leader Election Automatic coordination with one agent assuming leadership
Crash Recovery Automatic detection of dead agents and task reassignment
Agent Agnostic Works with Claude Code, Codex CLI, Gemini CLI, or any CLI tool
Zero Dependencies Uses SQLite - no Redis, Docker, or external services
JSON Mode Full --json support and AQUA_JSON=1 env var

Supported Agent CLIs

CLI Instruction File
Claude Code CLAUDE.md
Codex CLI AGENTS.md
Gemini CLI GEMINI.md

Aqua auto-detects which CLI is available when using aqua spawn. Each CLI uses its own default model - override with --model if needed.


Made for the multi-agent future.