Skip to main content

CLI orchestration tool for agentic workflows - coordinate tasks with claude-code and other AI agents

Project description

hyh

PyPI Python License CI

A CLI orchestration tool for agentic workflows. Coordinate tasks with AI agents through a daemon-based task management system.

hyh (hold your horses) provides DAG-based task orchestration with atomic state transitions, designed for coordinating claude-code and other AI agents in development workflows.

Highlights

  • DAG-based orchestration - Dependency resolution with cycle detection and topological validation
  • Thread-safe operations - Concurrent task claiming with atomic state transitions via mutex protection
  • Client-daemon architecture - Unix socket RPC for fast, reliable inter-process communication
  • Pull-based task claiming - Workers claim tasks atomically, preventing race conditions
  • Command execution - Run commands with mutex protection (local or Docker runtimes)
  • Git integration - Safe git operations with dangerous option validation
  • Python 3.13+ / 3.14 freethreaded - Modern Python with full type annotations

Getting started

Run hyh with uvx to get started quickly:

uvx hyh status

Or start a workflow from a plan file:

uvx hyh plan import --file plan.md
uvx hyh status

Installation

Install hyh as a persistent tool:

uv tool install hyh

Or with pip:

pip install hyh

For development installation, see Contributing.

Usage

# Check daemon status
hyh ping

# Import and manage plans
hyh plan import --file plan.md
hyh status

# Claim and complete tasks
hyh task claim
hyh task complete --id task-1

# Execute commands with mutex protection
hyh exec -- make test

# Safe git operations
hyh git -- status

Requirements

  • Python 3.13+ (3.14 freethreaded supported)
  • macOS or Linux
  • uv (recommended) or pip

Getting help

If you have questions or want to report a bug, please open an issue in this repository.

Contributing

We welcome contributions! To get started:

git clone https://github.com/pproenca/hyh.git
cd hyh
make install
make test

See CONTRIBUTING.md for guidelines.

License

MIT License - see LICENSE for details.

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

hyh-0.1.0a5.tar.gz (270.2 kB view details)

Uploaded Source

Built Distribution

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

hyh-0.1.0a5-py3-none-any.whl (53.5 kB view details)

Uploaded Python 3

File details

Details for the file hyh-0.1.0a5.tar.gz.

File metadata

  • Download URL: hyh-0.1.0a5.tar.gz
  • Upload date:
  • Size: 270.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hyh-0.1.0a5.tar.gz
Algorithm Hash digest
SHA256 9a95cecda3d8842230538e1ef5e162da674637539c55f50563a7af03c6113729
MD5 a9e15d4079780b7b4328e5cbb6973f87
BLAKE2b-256 6ad1b2451f16c7f1b9e9d31cbc33b96f35be51271a26a30f227917c6bdbcbaa5

See more details on using hashes here.

File details

Details for the file hyh-0.1.0a5-py3-none-any.whl.

File metadata

  • Download URL: hyh-0.1.0a5-py3-none-any.whl
  • Upload date:
  • Size: 53.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for hyh-0.1.0a5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d6f9dc6b55ec9c17d6202f6c059f01ea8c2eeeded482037e4c9836c7f4755c3
MD5 d5b5f2bfd381b55a85e3faca1928624a
BLAKE2b-256 345b7cd124c6b275b3bc1b0699191f6d9dfc489af02a13fb2121e0500630c5d3

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