Skip to main content

Hermes Agentic Lifecycle Framework — transform concepts into production software

Project description

⚡ HALF — Hermes Agentic Lifecycle Framework

Transform high-level business concepts into production-ready software through autonomous, multi-agent orchestration.

CI License: MIT Python 3.13+ mypy Ruff Tests


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, and explicit human checkpoints.

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

Quick Start

# 1. Clone
git clone https://github.com/iknowkungfubar/Hermes-Agentic-Lifecycle-Framework.git
cd Hermes-Agentic-Lifecycle-Framework

# 2. Install
pip install uv
uv sync --group dev

# 3. Verify
make test

# 4. Bootstrap a project
./scripts/genesis.sh --project my-app --mode full

# 5. Use in Hermes Agent
skill_view(name="half")

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)

  1. After Phase 1 — Review spec and architecture before code is written
  2. After Phase 3 — Review test results, security findings, merge confidence
  3. After Phase 4 — Review launch readiness via Finality Gate (cryptographic sign-off)

Architecture

┌─────────────────────────────────────────────────────────────┐
│              Command Center (Tauri Desktop GUI)              │
│  ┌──────────────┐  ┌───────────────┐  ┌──────────────────┐  │
│  │ Focalboard   │  │ Agent Mail    │  │ Grafana/Laminar  │  │
│  │ (Kanban)     │  │ (Messages)    │  │ (Observability)  │  │
│  └──────┬───────┘  └──────┬────────┘  └────────┬─────────┘  │
└─────────┼──────────────────┼────────────────────┼────────────┘
          │                  │                    │
          ▼                  ▼                    ▼
┌─────────────────────────────────────────────────────────────┐
│                 LangGraph State Machine                      │
│    Phase 1 → Phase 2 → Phase 3 → Phase 4 → Phase 5         │
│                    ↕ (iteration cycle)                       │
│        16 Agent Skills + Code-Simplifier + Gates            │
└─────────────────────────────────────────────────────────────┘
          │                  │                    │
          ▼                  ▼                    ▼
┌──────────────┐  ┌──────────────────┐  ┌────────────────────┐
│ Observability│  │ Execution        │  │ CI/CD (GitHub      │
│ (LangWatch,  │  │ Sandbox (Docker/ │  │ Actions → Deploy)  │
│  Laminar,    │  │ Podman)          │  │ with per-stage     │
│  Prometheus) │  │ Read-only Vault  │  │ quality gates      │
└──────────────┘  └──────────────────┘  └────────────────────┘

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
└── half_sidecar.py     # Tauri Python sidecar

scripts/                # Bootstrap, genesis, deploy, install-foss
templates/              # fail-safes.yaml, gap-report.md
references/             # quickstart-execution.md
docker/                 # Dockerfile + docker-compose (app + FOSS stack)
vault_root/             # Obsidian RAG vault structure

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)
  • Dangerous command denylist (rm -rf, dd, mkfs, format)
  • Path traversal protection via pre-execution hooks
  • Secrets detection in CI (trufflehog)
  • Weekly dependency scans via Dependabot

Development

make install       # Install dependencies
make lint          # Run ruff linter
make typecheck     # Run mypy type checker
make test          # Run test suite (62 tests)
make ready         # Full CI pipeline
make ship          # Release build (Tauri + Python)

License

MIT — See LICENSE.

Built by Turin Tech Solutions with Hermes Agent.


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

hermes_half-1.0.0.tar.gz (187.0 kB view details)

Uploaded Source

Built Distribution

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

hermes_half-1.0.0-py3-none-any.whl (186.0 kB view details)

Uploaded Python 3

File details

Details for the file hermes_half-1.0.0.tar.gz.

File metadata

  • Download URL: hermes_half-1.0.0.tar.gz
  • Upload date:
  • Size: 187.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for hermes_half-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b630db4f86fd9f1868cea98157e55b78c338f5b40d0811391b0010875f1237e2
MD5 8f9d4cdffe14a8dbc4765bada6c3c60e
BLAKE2b-256 2f1072c39b067d691cac7fc1c2176bd7877806de159847789a2f844fc609c28d

See more details on using hashes here.

File details

Details for the file hermes_half-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: hermes_half-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 186.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.5

File hashes

Hashes for hermes_half-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b1113830aa2a5b524ca24b527dca519183d60493c391be21712051f7f6355aaf
MD5 34cbcf6d366fd14dcf15e3a664041d51
BLAKE2b-256 dbbf6267fb6bc6b66ff1f10450a4404df2af957bd93fe82cb58085aa084c8f34

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