Skip to main content

A coding AI agent runner for Claude Code

Project description

Gza

AI agent task runner. Queue up tasks, let Claude work through them.

Installation

uv pip install -e .

Quick Start

# Initialize a project
gza init

# Add a task
gza add "Refactor the auth module to use JWT tokens"

# Run the next pending task
gza work

Commands

Command Description
gza init Initialize gza in current directory
gza add <prompt> Add a new task
gza next List pending tasks
gza work Run the next pending task
gza work --background Run task in background (detached mode)
gza ps List running background workers
gza logs <worker_id> Tail logs for a background worker
gza stop <worker_id> Stop a running background worker
gza history Show completed/failed tasks
gza show <id> Show task details
gza log <id> Display task execution log
gza stats Show cost and usage statistics
gza import <file> Import tasks from YAML

Background Workers

Run tasks in the background to parallelize work:

# Start a background worker for the next task
gza work --background

# Start multiple workers (runs 3 tasks concurrently)
for i in {1..3}; do gza work --background; done

# List running workers
gza ps

# Tail logs for a worker
gza logs w-20260107-123456

# Stop a worker
gza stop w-20260107-123456

# Stop all workers
gza stop --all

Background workers spawn detached processes that:

  • Atomically claim pending tasks (no conflicts with concurrent workers)
  • Write logs to .gza/logs/<task_id>.log
  • Update their status in .gza/workers/<worker_id>.json
  • Clean up automatically on completion

See specs/concurrent-work.md for full documentation.

Importing Tasks

Import tasks from a YAML file with dependencies:

gza import tasks.yaml --dry-run  # preview
gza import tasks.yaml            # import
gza import tasks.yaml --force    # skip duplicate detection

See specs/task-import.md for full documentation on the import file format.

Configuration

Gza uses gza.yaml for project configuration:

project_name: my-project

# Optional settings
use_docker: true
timeout_minutes: 30
max_turns: 50

Run gza validate to check your configuration.

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

gza_agent-0.1.0.tar.gz (118.4 kB view details)

Uploaded Source

Built Distribution

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

gza_agent-0.1.0-py3-none-any.whl (64.7 kB view details)

Uploaded Python 3

File details

Details for the file gza_agent-0.1.0.tar.gz.

File metadata

  • Download URL: gza_agent-0.1.0.tar.gz
  • Upload date:
  • Size: 118.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gza_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0463c4aa75a24b713de63019d759e4c6436fdb745e49f6fc530599b9d8c8e5de
MD5 7aeab209550226f5c2821e546050b761
BLAKE2b-256 ce41881309492a5b6554958f7abca1f6eed0b798ce98cd95b6628fefa8ba1e22

See more details on using hashes here.

Provenance

The following attestation bundles were made for gza_agent-0.1.0.tar.gz:

Publisher: pypi.yml on mhawthorne/gza

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gza_agent-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gza_agent-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 64.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gza_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16aca50bd658ecd9888ad787603a070a6240aed92512370fbdf811041d0798f8
MD5 a329080fe0b3896e75760a3c820d1453
BLAKE2b-256 a3fb16c1a495cf60889f97617eab03cc8f39b4112a98e597ac094f0e10f5650b

See more details on using hashes here.

Provenance

The following attestation bundles were made for gza_agent-0.1.0-py3-none-any.whl:

Publisher: pypi.yml on mhawthorne/gza

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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