Skip to main content

aisquare

PyPI Python versions CI License: MIT

One terminal over your projects and your coding agents: task a manager in plain words, and it runs the coders, testers and reviewers for you.

Type asq and you get a full-screen, mouse-driven view: your projects on the left, and on the right a manager agent you task in prose — it plans, spawns coders, testers and reviewers, and loops until the goal is met. Click any of them and you are inside its real Claude Code or Codex session, typing at it directly. Nothing is relayed or re-rendered as a chat.

Underneath, agents get a memory that persists across sessions — your preferences, each project's conventions — so every session starts oriented instead of cold. The memory also works on its own, without the UI.

Quickstart 1: memory only

Needs uv and Claude Code; no installer, no tmux. Run init inside your repo:

UV_PYTHON_DOWNLOADS=automatic uv tool install --python 3.13 aisquare-cli
cd path/to/your/repo
aisquare init --local --agent claude-code
aisquare remember --user "prefer pytest over unittest"

init registers the repo you run it in and wires Claude Code's hooks, so every new session starts with what you told it to remember. aisquare context list shows what is in scope. To install from inside Codex instead, see the Codex plugin.

Quickstart 2: the full fleet

One line. It works out what your machine already has, installs only what is missing, and ends by offering to open the UI:

curl -fsSL https://raw.githubusercontent.com/AISquare-Studio/aisquare-cli/main/install.sh | sh

That installs the latest release. To pin one, every release from 0.9.0 on carries its own copy: curl -fsSL https://github.com/AISquare-Studio/aisquare-cli/releases/download/v0.10.0/install.sh | sh.

macOS, Linux and WSL2. It installs uv, a Python 3.13 for the CLI alone, aisquare-cli, tmux, gh, git and Claude Code, offers Node for browser tools, then registers the git repo you ran it from and wires Claude Code's hooks. Running it again is a no-op. To read it before you run it, it is install.sh at the root of this repository.

On Windows, run irm https://raw.githubusercontent.com/AISquare-Studio/aisquare-cli/main/install.ps1 | iex in PowerShell: it runs that installer inside your WSL2 distribution, or prints the one command that installs WSL2 if there is none.

Then asq opens on Welcome, three steps to a running fleet:

  1. Project: use the folder you are in, or choose another.
  2. Claude Code: connect it. If it is missing, Welcome names the install command; if it is signed out, it offers the sign-in.
  3. Fleet: press Start manager, then Open the manager and answer Claude Code's one-time question about trusting the folder, then Start the coders: a manager and two coders, each a real Claude Code session. Type your goal to the manager in prose.

Click any agent to see and drive its session. Press F12 to hand focus back to the sidebar, where w returns to Welcome and q quits. The agents keep running; reopen asq and it re-attaches to what it finds. To stop them spending tokens without losing them, ⚙ Settings ▸ Fleet ▸ Pause all… exits each one and keeps its task, worktree and session; Resume all… brings each back where it was.

A few buttons ask before they act, in place rather than in a dialog: Remove from fleet, Reset all settings, a role binding's Clear, Take over and attaching a persona to a running agent. The first click turns the button into its question (Remove? click again) and says beside it what will happen; click it again, or double-click it, to go ahead. Esc, or three seconds without that second click, puts it back.

You can open asq over SSH into the same Mac while the Mac's own is open: both show the same fleet, and a line in the sidebar says where each one runs. Start the first agent at the Mac, since on macOS an SSH login can't start the fleet's tmux server (agents in it couldn't read the Keychain). A Codex account signs in with a device code, so aisquare accounts add --agent codex works over SSH too: open the link it prints on any device and enter the code (--browser signs in with this machine's browser instead). Running more than one asq has the rest, including what happens when the two run different releases.

The manager never writes code and never pushes. It merges a PR only when a person approved it on GitHub and every CI check on its head is green.

Everything is also a command

Everything the UI does is also a plain command, and every one takes --json; aisquare --help lists them:

aisquare fleet ls                         # this project's agents and their live state
aisquare fleet top                        # what each live agent consumes: CPU, memory, tokens
aisquare fleet relabel coder-1 login fix  # give an agent a name you chose: login-fix
aisquare fleet pause --all                # every project's agents stop, kept for resume
aisquare fleet resume --all               # ...and come back where they were
aisquare fleet attach                     # the same session in raw tmux, full fidelity
aisquare instances                        # the asqs open on this home: at the Mac, over SSH
aisquare outcomes                         # what the agents got done this week, and who steered
aisquare doctor                           # is everything wired? (and how to fix anything)

The captain (experimental, off by default)

One agent above every project: the captain runs every fleet for you, and you talk to it, typed or spoken. aisquare captain starts it (or attaches to it), and aisquare captain say "what is up" asks it what needs you, across every board. Every effect is one of its 26 tools, each leaving one audit event with your words; stop, spawn and restart happen only when your words name what they act on, and a refusal is said, never faked. The owner gate is on by default while the captain is: its acting tools refuse until you run aisquare captain gate enroll (it needs the gate extra), or you add gate = false under [captain] in ~/.aisquare/config.toml by hand (config set does not take it).

It ships off. Turn it on in asq under ⚙ Settings ▸ Captain, at once and with no restart, or once from a shell, or for one shell with AISQUARE_EXPERIMENTAL_CAPTAIN=1, which wins over the setting; while it is off, aisquare captain refuses with one line saying so, and asq shows no captain:

aisquare config set experimental.captain true
aisquare captain
aisquare captain say "what is up"

What stays free

Everything that runs on your machine — memory, the fleet, the board — is MIT licensed, needs no account, and stays free. It's a single CLI, local-first, backed by one SQLite file: no daemon, no cloud dependency. Sign in with aisquare login only when a command needs to act as you on AISquare.

Requirements

  • macOS, Linux, or Windows through WSL2.
  • Python 3.11+ if you install by hand (the one-liner brings its own 3.13).
  • Claude Code or Codex (beta; CLI 0.164.0 or newer; tested on 0.164.0, 0.166.0 and 0.167.0) for the agents, either or both, and tmux 3.2+ for the fleet.
  • Node 22.12+, optional, for browser tools like the Chrome DevTools MCP; the one-liner offers both, Node and the MCP registered with Claude Code (--with chrome-devtools installs them without asking). aisquare itself never runs Node.
  • The symbol index (aisquare code find|refs|similar) needs nothing extra for Python.

The package is aisquare-cli; the command is aisquare, with asq as the short alias.

Documentation

Page What is in it
Usage sharing Optional and off by default: anonymous daily counts of how aisquare is used. What is collected, what never is, how to see exactly what would be sent and turn it off

Community

Questions and ideas go to Discussions, bugs to issues. Pull requests are welcome: CONTRIBUTING has the setup and the one command CI runs. Releases are in the changelog; to report a vulnerability, see SECURITY.

License

MIT

Metadata

Release files for aisquare-cli 0.10.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 aisquare-cli 0.10.0
File Size Uploaded Provenance Actions
aisquare_cli-0.10.0.tar.gz 7.9 MB With provenance Details for aisquare_cli-0.10.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aisquare-cli 0.10.0
File Interpreter ABI Platform Actions
aisquare_cli-0.10.0-py3-none-any.whl Python 3 none any Details for aisquare_cli-0.10.0-py3-none-any.whl

Total release size: 11.1 MB

Release files / aisquare_cli-0.10.0.tar.gz

Download URL aisquare_cli-0.10.0.tar.gz
Size 7.9 MB
Tags Source
SHA-256 checksum
How to use checksums
bd4e65a03d231881bbb4eea92f2334a74fd02843333a5a22f604975ddd1c9674
BLAKE2b-256 checksum
How to use checksums
cec7716c1bea66e9aebb9fccee8607ba06127e7ba0a82878e5b87e347ed99732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / aisquare_cli-0.10.0-py3-none-any.whl

Download URL aisquare_cli-0.10.0-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
39bf9a8e545c81d6764443640ff06522f02c758f5be35c6e611c4aa666d59161
BLAKE2b-256 checksum
How to use checksums
23c8606d396cd97740134acde59b0cc149e1941f1bc0c4460f5caf259e7ee3bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for aisquare-cli 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aisquare_cli-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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