Skip to main content

A tmux-based agent queue manager. You sit at the desk, agents come to you.

Project description

aque logo

Aque

PyPI version Python License: MIT

A tmux-based agent queue manager. You sit at one "desk" and your AI agents come to you.

Why?

Running multiple AI coding agents (Claude Code, aider, Codex) at once? They all need your attention at different times. Aque queues them so you work through them one at a time — no forgotten terminal tabs, no context switching.

Demo

Install

pipx install aque

Or with pip:

pip install aque

Requires: Python 3.11+, tmux

Development

git clone https://github.com/can-can/aque.git
cd aque
pip install -e ".[dev]"

Usage

Launch agents:

aque run --dir ~/projects/api --label "auth fix" -- claude --model opus
aque run --dir ~/projects/web -- aider --model gpt-4
aque run --dir ~/code/tests -- codex

Sit at your desk:

aque desk

The desk shows a unified dashboard with all your agents, their states, and a live preview of the selected agent's terminal output.

Dashboard Keys

Key Action
↑↓ Navigate agent list
Enter Attach to selected agent
n Create new agent
k Kill selected agent (moves to history)
h Toggle hold on selected agent
q Quit desk

Detach Behavior

When you detach from a tmux session (Ctrl-b d), aque handles the transition automatically:

  • Running/waiting agent — auto-dismissed back to running, returns to dashboard
  • Exited agent — auto-marked as done and moved to history

No action menu, no extra steps.

Auto-Attach

When a waiting agent is detected (on the dashboard or after detaching), aque shows a 3-second countdown modal and auto-attaches to the top-priority waiting agent. Press Esc to cancel and stay on the dashboard.

Idle Detection

Aque monitors tmux panes for prompt markers (, $, >>>) to detect when an agent is waiting for input. After the configured idle timeout (default: 10s), the agent transitions from running to waiting and enters the queue.

Agent States

State Meaning
running Agent is actively working
waiting Agent is idle, queued for your attention
focused You are currently attached to this agent
on_hold Paused, skipped in the queue
exited Tmux session has ended
done Completed, moved to history

Other Commands

aque list    # show all agents and states
aque kill 3  # terminate an agent

Configuration

Edit ~/.aque/config.yaml:

idle_timeout: 10
snapshot_interval: 2
session_prefix: aque
action_keys:
  dismiss: d
  done: k
  skip: s
  hold: h

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aque-0.0.3.tar.gz (8.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aque-0.0.3-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file aque-0.0.3.tar.gz.

File metadata

  • Download URL: aque-0.0.3.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for aque-0.0.3.tar.gz
Algorithm Hash digest
SHA256 52e153ef4253f5b504a17e16e8ed2958e8757706a46e97a78f84cea13fc52764
MD5 b5b5292a3bc99c8eb1774ee3821b06a4
BLAKE2b-256 d380b77eb4c478b5bc798a4a76c4fb1bd1638200a5ebe6029bb8bbf061b72c8d

See more details on using hashes here.

File details

Details for the file aque-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: aque-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for aque-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f34c5cc7f00d2e4ea5b0cd2863740640b515cb3c708ba23ad1c62e8fb62539dc
MD5 201c1fa56bc99686d353126b8d0eb0b3
BLAKE2b-256 94c9b1a893a73878ceec3545066f776fdde3e55456cbb525c9ac9dc352f0718d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page