Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.7.1 instead.

AGCoord

AGCoord gourd mascot

AGCoord is a machine-local coordinator for developers and coding agents that share a workstation. It gives every check, standalone full gate, and atomic gate-and-publication request one durable job ID, then schedules compatible work across repositories without letting two agents accidentally publish stale or untested code.

The coordinator is local infrastructure: one detached broker per OS user, a private durable spool, per-job logs, and an optional terminal UI. It does not require a hosted service. The core package is forge-neutral; GitHub support is an optional adapter.

Install and start

Install the published package in a tool environment:

python -m pip install agcoord

There is no separate service-install step. The first command starts the detached broker on demand; later shells and repositories join the same user-scoped coordinator:

agcoord list
agcoord tui

State defaults to ${XDG_STATE_HOME:-~/.local/state}/agcoord. Set AGCOORD_STATE_DIR or pass --state-dir to use a deliberate alternate spool. Machine capacity defaults to two concurrent job slots. Configure named resources before the broker starts with either AGCOORD_CAPACITIES='jobs=4,cpu=8,browser=1' or an equivalent JSON object.

Run work

Submit focused checks with the resources they consume:

agcoord run --label "unit tests" --resource cpu=2 -- python -m pytest -q

Every job implicitly holds one jobs slot. Repeatable --resource options add only named, configured resources; unknown or impossible requests fail instead of waiting forever.

Run a standalone full validation for an exact clean Git head when publication is not part of the request:

agcoord full --label "release gate" --resource cpu=4 -- ./scripts/test.sh

full records the checkout's full 40-character HEAD, checks that the worktree is clean, and establishes a barrier in that repository's lane. It remains useful for validation and release preparation, but normal landing does not compose a full row with a later publication row. It is not a machine-global lock: compatible work in other repositories can overlap when configured resource capacities allow it.

After pushing the exact clean head and opening a pull request, gate and publish it as one indivisible request:

agcoord land 123 \
  --label "gate and publish PR 123" \
  --resource cpu=4 \
  -- ./scripts/test.sh
# GitHub is the convenience default and may also be named explicitly.
agcoord land 123 --adapter github -- ./scripts/test.sh

land stores the adapter, request, exact checkout/head, gate command, caller environment, and resource claim in one durable repository barrier. The core record keeps adapter and request separate even though the current installed adapter uses GitHub pull-request numbers. It rejects a stale target before the gate, runs the gate once, and publishes immediately after a green result without releasing the lane or resources. A red gate publishes nothing. --adapter github is the default when the option is omitted; the core request remains forge-neutral.

AGCoord never refreshes, rebases, or rewrites the checkout. If the source head or target branch moves before or during the gate, the same job ends with a named handback and does not publish. Update the branch yourself, push it, and submit a fresh agcoord land request; a separate full-plus-merge sequence is not a landing substitute.

Inspect or manage jobs from any terminal:

agcoord list
agcoord show land-0123456789ab
agcoord log land-0123456789ab --follow
agcoord cancel land-0123456789ab
agcoord clear

clear removes terminal history and its logs only. It refuses while queued or running work exists and never removes the spool, broker ownership, or migration history.

The full operating contract, recovery behavior, TUI keys, and resource model are in the coordinator guide. Package maintainers should also read the release guide, and published user-facing changes are recorded in the changelog. Contributors follow the repository workflow in AGENTS.md.

Project status

AGCoord targets distribution as the agcoord project on PyPI, with import package agcoord and both agcoord and python -m agcoord command forms. Until a release is published, build and install the checkout into an isolated environment rather than copying modules into another project.

The gourd mascot and its asset notes live under docs/assets.

Release files for agcoord 0.1.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 agcoord 0.1.0
File Size Uploaded
agcoord-0.1.0.tar.gz 795.6 kB Details

Built distribution (wheel)

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

Total release size: 842.8 kB

Release files / agcoord-0.1.0.tar.gz

Download URL agcoord-0.1.0.tar.gz
Size 795.6 kB
Tags Source
SHA-256 checksum
How to use checksums
33be10dc360e8c4040a072dd236dcb42e230a93c9297cbaf0acb4676e65d9410
BLAKE2b-256 checksum
How to use checksums
ca04e308e25d4ba661ba5273f16c6a6fdc2c7eff37550290bf15996b1af53944
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11

Release files / agcoord-0.1.0-py3-none-any.whl

Download URL agcoord-0.1.0-py3-none-any.whl
Size 47.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf79376ec193141ac26cd54d5c38ef0122c75f1c7940dd6760adbd1fec72dcec
BLAKE2b-256 checksum
How to use checksums
4397e4cf0865ad666b051011e833ee68bc7600e2201f8599a11f626298f113ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.11
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