Skip to main content

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

Project description

hyh

PyPI version Python versions License: MIT

CLI orchestration tool for agentic workflows. Coordinate tasks with claude-code, AI agents, and development tools through a daemon-based task management system.

Features

  • Task orchestration - DAG-based dependency resolution with cycle detection
  • Thread-safe operations - Concurrent task claiming with atomic state transitions
  • Client-daemon architecture - Unix socket RPC for fast, reliable communication
  • Pull-based task claiming - Workers claim tasks atomically via hyh task claim
  • Command execution - Run commands with mutex protection (local or Docker)
  • Git integration - Safe git operations with dangerous option validation

Installation

Recommended: uv tool (persistent installation)

uv tool install hyh

One-off execution

uvx hyh status

Traditional pip

pip install hyh

From source (development)

uv tool install git+https://github.com/pproenca/hyh

Curl install script

curl -fsSL https://raw.githubusercontent.com/pproenca/hyh/master/install.sh | bash

Quick Start

# Check daemon is running
hyh ping

# Import a plan file
hyh plan import --file plan.md

# Show workflow status
hyh status

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

# Execute commands with mutex
hyh exec -- make test

# Safe git operations
hyh git -- status

Architecture

┌─────────────┐     Unix Socket RPC     ┌──────────────┐
│   Client    │ ──────────────────────► │    Daemon    │
│  (hyh)  │                         │  (per-project)│
└─────────────┘                         └──────┬───────┘
                                               │
                          ┌────────────────────┼────────────────────┐
                          │                    │                    │
                    ┌─────▼─────┐       ┌──────▼──────┐      ┌──────▼──────┐
                    │   State   │       │   Runtime   │      │  Trajectory │
                    │  Manager  │       │ (Local/Docker)│    │   Logger    │
                    └───────────┘       └─────────────┘      └─────────────┘

Requirements

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

Development

# Clone and setup
git clone https://github.com/pproenca/hyh.git
cd hyh
make install

# Run tests
make test

# Start development daemon
make dev

License

MIT License - see LICENSE for details.

Documentation

See CLAUDE.md for detailed architecture and code style documentation.

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.0a1.tar.gz (374.3 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.0a1-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hyh-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 d51ed9752295916fb39fd7ed2c2eab38f56b8e60576b2fe0be34a6deab2c4b34
MD5 4a8f326bc8a30c7bd228505fe7e85ee5
BLAKE2b-256 10adc546f5343a12a3e2267d0eb08ba0fa2461be944ca84259b11b8393d9a51b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hyh-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 920053fd643ba94addd0e6fb370a335fc38e08c474a0027990ad8ab7653a0be4
MD5 fb7fb9d8f69e5aeb391a22385ebfe7e1
BLAKE2b-256 320494f7fd1a756f9bac240973ef82b3b0faaa449877f97cafb0f769d9354c04

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