⚡ HALF — Hermes Agentic Lifecycle Framework
Transform high-level business concepts into production-ready software through autonomous, multi-agent orchestration.
What is HALF?
HALF is a modular, open-source framework that enables AI agents to autonomously execute the full software development lifecycle. It implements a 5-phase structured SDLC with built-in quality gates, fail-safe protocols, explicit human checkpoints, and a GUI-first Command Center.
graph LR
A[Concept] --> B[Phase 1<br/>Discovery & Strategy]
B -->|Gate G1| C[Phase 2<br/>Development & Coding]
C -->|Gate G2| D[Phase 3<br/>Quality Assurance]
D -->|Gate G3| E[Phase 4<br/>Polish & Deployment]
E -->|Finality Gate| F[Phase 5<br/>Iteration]
F --> B
Core Principles
- Agent executes, human directs — Agents handle implementation; humans set intent, review checkpoints, own decisions
- Gates before progress — Every phase has mandatory quality gates
- Fail-safe by design — 3-level escalation: step retry → phase retry → human gap report
- TDD is mandatory — Harness-first: write failing tests before any implementation
- Codification Imperative — Every manual fix becomes a durable improvement to the agent system
- No-slop context — Agents earn context through hierarchical RAG, not flat directory dumps
Quick Start
# Install from PyPI (30 seconds)
pip install hermes-half
half version
# → HALF v1.0.0
# Full local setup with GUI + services
git clone https://github.com/iknowkungfubar/Hermes-Agentic-Lifecycle-Framework.git
cd Hermes-Agentic-Lifecycle-Framework
bash scripts/setup.sh
./src-tauri/target/release/half-command-center
The 5 Phases
| Phase | Objective | Agent Skills | Human Checkpoint |
|---|---|---|---|
| 1: Discovery & Strategy | Requirements → Spec → Architecture | Discovery, Specification, Architect | Review spec + arch |
| 2: Development & Coding | TDD implementation with Tri-Phasic Loop | Scaffold, Research, Plan, Implement, Simplify | — |
| 3: Quality Assurance | Test completeness + security red-teaming | Testing, Security, Integration | Review test + security report |
| 4: Polish & Deployment | IaC + CI/CD + production readiness | Infrastructure, CICD, Launch | Finality Gate sign-off |
| 5: Iteration | Monitoring + triage + codification | Observe, Iterate, Codify | — |
Three Human Checkpoints (non-negotiable)
- After Phase 1 — Review spec and architecture before code is written
- After Phase 3 — Review test results, security findings, merge confidence
- After Phase 4 — Review launch readiness via Finality Gate (cryptographic sign-off)
GUI Command Center
The Tauri 2.0 desktop application provides a 3-pane Command Center:
┌──────────────────┬──────────────────────┬──────────────────┐
│ Swarm Overview │ PDA Chat + CoT │ System Resources│
│ (Focalboard │ Reasoning Graph │ (Finality Gate, │
│ Kanban) │ + Agent Mail Logs │ VRAM, Error │
│ │ │ Budget) │
│ Live pipeline │ Commander Agent │ Locked/Unlocked │
│ Phase status │ chat interface │ Sign-off panel │
│ Active agents │ Run phases, gates │ Stalled node │
│ │ Generate MRP │ watchdog │
└──────────────────┴──────────────────────┴──────────────────┘
Launch: ./src-tauri/target/release/half-command-center
Chat commands: status, help, run phase 2, gate check phase 1, generate mrp, deploy
Architecture
┌─────────────────────────────────────────────────────────────────┐
│ Command Center (Tauri 2.0 GUI) │
│ ┌────────────────┐ ┌─────────────────┐ ┌──────────────────┐ │
│ │ Focalboard │ │ PDA Chat + │ │ Finality Gate │ │
│ │ (Kanban) │ │ Agent Mail │ │ + Observability │ │
│ └───────┬────────┘ └────────┬────────┘ └────────┬─────────┘ │
└──────────┼────────────────────┼────────────────────┼────────────┘
│ HTTP :9721 │ HTTP :9721 │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────────────┐
│ HTTP Sidecar (Python) │
│ /api/status /api/chat /api/gate-check /api/health │
│ /api/generate-mrp /api/approve_deployment /api/vram │
└───────────────────────────────┬─────────────────────────────────┘
│
┌───────────────────────────────┼─────────────────────────────────┐
│ LangGraph State Machine (5-phase DAG) │
│ 16 Agent Skills + Code-Simplifier + Verification-at-Scale │
└───────────────────────────────┬─────────────────────────────────┘
│
┌────────────────────┼────────────────────┐
▼ ▼ ▼
┌──────────────────┐ ┌──────────────────┐ ┌────────────────────┐
│ Observability │ │ Execution │ │ CI/CD (GitHub │
│ (Prometheus, │ │ Sandbox (Podman/ │ │ Actions) + │
│ Grafana) │ │ Docker) │ │ Docker Image │
│ Agent Mail DB │ │ Git Worktrees │ │ PyPI Package │
└──────────────────┘ └──────────────────┘ └────────────────────┘
Running Services
| Service | Port | Purpose |
|---|---|---|
| HTTP Sidecar API | :9721 |
REST API for GUI + chat |
| Prometheus | :9090 |
Metrics collection |
| Grafana | :3000 |
Visualization dashboards |
| Focalboard | :8000 |
Kanban task management |
| PostgreSQL | :5432 |
Focalboard backing store |
| Agent Mail DB | — | SQLite inter-agent messaging |
Fail-Safe Protocol
escalation:
level_1: "Step retry (×3) — auto-analyze failure, adjust, retry"
level_2: "Phase retry (×2) — re-run phase with expanded context"
level_3: "Human escalation — generate Gap Report, pause pipeline"
circuit_breakers:
- ">5 test failures → halt phase 2"
- "CRITICAL security finding → halt phase 3"
- "coverage drops >5% → warn before proceeding"
error_budget:
total: "100 points / 30 days"
thresholds: {warning: "<40%", critical: "<20%", exhausted: "0%"}
Security
| CVE | Component | Mitigation |
|---|---|---|
| CVE-2025-67644 | LangGraph SQLite | Metadata allowlist validates all filter keys |
| CVE-2026-28277 | LangGraph msgpack | JSON-safe serialization prevents RCE |
- Execution sandbox (read-only vault mount, network-isolated containers)
- Dangerous command denylist (rm -rf, dd, mkfs, format)
- Path traversal protection via pre-execution hooks
- Secrets detection in CI (gitleaks)
- Weekly dependency scans via Dependabot
- Zero-trust agent identity (SPIFFE/SPIRE config) — Coming in v1.x
- eBPF Grimlock datapath enforcement (kernel-level) — Coming in v1.x
Repository Structure
src/half/ # Package root + CLI entrypoint
├── agents/ # 16 agent skill implementations
├── core/ # Orchestrator, gates, fail-safe, error budget
├── runtime/ # LangGraph graph, checkpointer, nodes
├── state/ # LangGraph security (CVE mitigations)
├── agent_mail/ # Decentralized agent coordination
├── half_voice/ # Speech-to-text and text-to-speech
├── half_focalboard/ # Kanban API client
├── http_sidecar.py # REST API server (GUI backend)
└── half_sidecar.py # CLI sidecar (Tauri IPC)
scripts/ # Setup, genesis, CI integration runner
templates/ # fail-safes.yaml, gap-report.md
references/ # quickstart-execution.md
docker/ # Dockerfile + docker-compose (FOSS stack)
tests/ # 875+ tests (unit + integration + infrastructure)
├── tdd/ # TDD-style regression tests
├── integration/ # Integration tests (sidecar, services)
├── infrastructure/ # Infrastructure tests (Podman, ffmpeg, network)
├── coverage/ # Subprocess coverage tests
└── e2e/ # End-to-end pipeline tests
Development
pip install -e ".[dev]"
make lint # Run ruff linter
make typecheck # Run mypy type checker
make test # Run test suite (875+ tests)
make ready # Full CI pipeline
# Run with coverage
pytest tests/ -q --cov=src/half --cov-report=term-missing
# Start services for integration tests
python -m half.http_sidecar &
pytest tests/integration/ -q
Test Stats
| Metric | Value |
|---|---|
| Total tests | 875+ |
| Integration tests | 160+ |
| Infrastructure tests | 25+ |
| Subprocess coverage tests | 15 |
| E2E pipeline tests | 1 |
| mypy errors | 0 (81 files) |
| Coverage | 77% (sys.monitoring) |
| Skipped (graceful) | 13 (Docker/GPU optional) |
License
MIT — See LICENSE.
Built by Turin Tech Solutions with Hermes Agent.
Metadata
Release files for hermes-half 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| hermes_half-1.0.1.tar.gz | 210.0 kB | Without provenance | Details for hermes_half-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hermes_half-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for hermes_half-1.0.1-py3-none-any.whl |
Total release size: 416.1 kB
Release files / hermes_half-1.0.1.tar.gz
| Download URL | hermes_half-1.0.1.tar.gz |
|---|---|
| Size | 210.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ea2bae5582017eca7c59b818ed8d1469a1779cecb3bf5067db6b256411c447a2
|
|
BLAKE2b-256 checksum How to use checksums |
94c08206edf56789cc466982bac37af6bfd924f361107020ac4cbde68e7051a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Release files / hermes_half-1.0.1-py3-none-any.whl
| Download URL | hermes_half-1.0.1-py3-none-any.whl |
|---|---|
| Size | 206.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2f12e38cec0aee5fa6a7c83c356b8788551238bdfc45092a2c58ba417ebf202
|
|
BLAKE2b-256 checksum How to use checksums |
ba4092aec0aed05034773f95250e0cf3709aed945cadc14ab00cc23f192811fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.2.0 CPython/3.13.14
|
Security for hermes-half 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.