# Field — Hierarchical Agent Workflow Architecture

**Primary evidence:** Cheng et al. (2025), §§3–3.3, pp. 4–7.

## Five layers and twenty modules

| Layer | HAWK modules | Durable responsibility |
|---|---|---|
| User | Task Request Interface; Task Translation & Parsing | Turn human input into a structured task without binding the rest of the system to one UI. |
| Workflow | Engine; Optimizer; Planner; Monitoring | Select and coordinate workflows, plan dependencies, observe execution, and adapt strategy. |
| Operator | Environment; Memory; Task Management; Task Optimizer; Reasoning/Inference; Security | Execute and govern task-level work while preserving state, policy, and resource constraints. |
| Agent | Specification; Publication; Registration; Discovery | Govern agent identity, capability declaration, availability, and lookup. |
| Resource | Heterogeneous Data; Physical Devices; Large Models; Services & Tools | Abstract external capabilities from the modules that consume them. |

The architecture's most useful contribution is separation of concerns. Workflow
model selection is separated from task-model selection; workflow scheduling is
separated from task execution; task execution is separated from agent
lifecycle; and resource access is made an explicit boundary.

## Sixteen interfaces

| Interfaces | Connection | Purpose stated by HAWK |
|---|---|---|
| I1 | Task Translation & Parsing ↔ Workflow Engine | submit a parsed and normalized task |
| I2 | Workflow Optimizer ↔ Workflow Engine | exchange feedback and adjust workflow structure or scheduling |
| I3 | Workflow Engine ↔ Workflow Planner | decompose tasks, order them, and resolve dependencies |
| I4 | Workflow Engine ↔ Workflow Monitoring | report node state and execution metrics |
| I5–I10 | Workflow Engine ↔ six Operator modules | dispatch task-level work and collect results |
| I11–I14 | Task Management ↔ Specification, Publication, Registration, Discovery | manage agent definition, deployment, registry, and lookup |
| I15 | Operator ↔ Resource | access resources uniformly and log execution data |
| I16 | Agent ↔ Resource | select models or tools needed to instantiate and run agents |

These are **interface responsibilities**, not finished protocols. HAWK does not
publish field-level payload schemas, version negotiation, error taxonomies,
delivery guarantees, retry rules, identity proof, or authorization semantics.

## Architecture implications for Miadi

1. Treat Workflow as a control plane and Operator as an execution plane.
2. Keep agent discovery and publication separate from task dispatch.
3. Put model, tool, data, and device access behind resource adapters rather than
   embedding provider behavior in workflow logic.
4. Make monitoring and optimization consume traceable facts; neither should
   infer that a stop event means semantic completion.
5. Preserve the paper's bidirectional interaction language where response and
   feedback direction remain unspecified.

## Relationship to adjacent standards

HAWK positions itself above MCP, ANP, and A2A as a higher-level workflow
abstraction. That positioning supports using a transport or tool protocol under
HAWK, but it does not establish protocol compatibility. FIPA's agent-management
specification provides older, more formal precedent for registration,
directories, identity, and discovery; it is useful context for I11–I14, not a
claim that HAWK or Miadi is FIPA-compliant.

## Gaps and cautions

- HAWK §4.3 states that some modules remained to be developed; the CreAgentive
  prototype is not evidence that all twenty modules work together.
- The paper alternates `Reasoning` and `Inference` for one Operator module.
- The I1–I16 numbering gives a stable vocabulary but not semantic versioning.
- Claims of cross-platform interoperability require concrete conformance tests.
- Broad healthcare, government, finance, and education applications are future
  directions, not evaluated deployments.
