| Crates.io | hupasiya |
| lib.rs | hupasiya |
| version | 1.0.1 |
| created_at | 2025-11-14 20:38:22.398667+00 |
| updated_at | 2025-11-15 05:25:54.262346+00 |
| description | Multi-agent session orchestrator built on top of hannahanna |
| homepage | |
| repository | https://github.com/rajatscode/hupasiya |
| max_upload_size | |
| id | 1933407 |
| size | 551,773 |
Multi-agent session orchestrator for parallelized local development
Named after Hupasiya - the Hittite hero who slayed the dragon Illuyanka
hupasiya (hp) is a multi-agent session orchestrator built on top of hannahanna. It provides coordinated AI agent workflows with isolated workspaces, PR integration, and multi-agent coordination.
hupasiya calls hn commands as an external tool. Both must be installed.
Version: 1.0.0 Status: Production Ready ✅
Core Features (v0.1):
Multi-Agent Orchestration (v0.2):
cascade - Sync parent changes to all childrengather - Collect children back to parenttree - Visualize session hierarchiesPR & Shepherd Workflows (v0.3):
pr create - Create PRs with reviewers/labels/draftpr sync - Fetch unresolved commentspr status - Display PR state and metricsCollaboration & Marketplace (v0.4):
handoff - Transfer sessions between developersclone - Duplicate sessions for parallel workmerge-sessions - Consolidate workUtilities & Polish (v1.0):
monitor - Live dashboard of all sessionsclean - Remove old/archived sessionsleave - Gracefully exit sessionsSee CHANGELOG.md for detailed release notes.
cargo install hannahanna)# Clone repository
git clone https://github.com/yourorg/hupasiya.git
cd hupasiya
# Build and install
cargo install --path .
# Verify installation
hp version
# hupasiya (hp) v0.1.0
# Verify hannahanna is installed
hn --version
# hannahanna 0.2.0
# Install pre-commit and pre-push hooks
./scripts/install-hooks.sh
# Create a new session
hp new auth-feature --type=feature
# Create session on current branch (no new branch)
hp new my-work --no-branch
# Edit context (opens in your $EDITOR)
hp context edit auth-feature
# Launch AI agent with context
hp launch
# Create child session for tests
hp new auth-tests --parent=auth-feature --type=test
# Sync parent changes to children
hp cascade auth-feature
# Collect children back to parent
hp gather auth-feature
# Create PR
hp pr create auth-feature
# Address PR comments with AI
hp shepherd
Comprehensive documentation is available in the spec/ directory:
.hp/ directory structure# 1. Create feature session
hp new auth-feature --type=feature
# 2. Edit context (describe what you want to build)
hp context edit
# 3. Launch AI agent
hp launch
# AI works on feature...
# 4. Create child session for tests
hp new auth-tests --parent=auth-feature --type=test
# 5. Cascade feature code to test session
hp cascade auth-feature
# 6. Switch to test session
hp switch auth-tests
# 7. Launch AI to write tests
hp launch
# 8. Gather tests back to feature
hp gather auth-feature
# 9. Create PR
hp pr create auth-feature
# 10. Address PR comments
hp shepherd
# 1. Sync PR comments
hp pr sync auth-feature
# 2. Run shepherd to analyze comments
hp shepherd
# Shepherd:
# - Fetches all unresolved comments
# - Creates shepherd.md with context
# - Launches AI for analysis
# - AI suggests actions (FIX, CLARIFY, ACKNOWLEDGE, etc.)
# - Applies high-confidence fixes (if --auto-apply)
# - Posts responses to PR
# 3. Verify comments resolved
hp pr status auth-feature
Configuration files use YAML and follow a 4-level hierarchy:
/etc/hapusiyas/config.yml~/.config/hp/config.yml.hapusiyas.yml (committed).hapusiyas.local.yml (gitignored)# .hapusiyas.yml
hp:
default_agent: feature
ai_tool:
command: claude-code # or cursor, codex, etc.
launch_method: exec
context_strategy: slash_command
pr:
github:
org: myorg
default_reviewers: [alice, bob]
labels: [agent-created]
shepherd:
auto_apply_safe: false
confidence_threshold: high
See Configuration for complete reference.
# Clone repository
git clone https://github.com/yourorg/hupasiya.git
cd hupasiya
# Install git hooks
./scripts/install-hooks.sh
# Build
cargo build
# Run tests
cargo test
# Run clippy
cargo clippy
# Format code
cargo fmt
hupasiya/
├── src/ # Source code
│ ├── main.rs # CLI entry point
│ ├── cli/ # CLI commands
│ ├── session/ # Session management
│ ├── context/ # Context management
│ ├── hn/ # hannahanna integration
│ ├── orchestration/# Multi-agent coordination
│ ├── pr/ # PR integration
│ └── config/ # Configuration
├── tests/ # Tests
├── spec/ # Specification documents
├── .githooks/ # Git hooks
└── scripts/ # Utility scripts
We welcome contributions! Please see Contributing Guide.
Quick Contribution Steps:
git checkout -b feature/my-feature)cargo test, cargo clippy, cargo fmt)git commit -m "feat: add my feature")rustfmt for formatting (enforced by pre-commit hook)clippy for linting (enforced by pre-commit hook)hupasiya is built as a standalone Rust binary that calls hn commands via the shell. This loose coupling provides:
See Architecture for detailed design.
hp switchSee Roadmap for complete version goals.
MIT License - see LICENSE for details
Status: ✅ Production Ready Version: 1.0.0 Last Updated: 2025-01-14