The Core Idea
Hive is outcome-driven: you define what success looks like, and the agent adapts toward that result. Instead of hardcoding every step, you define:- A goal
- Success criteria (weighted quality checks)
- Constraints (hard and soft boundaries)
- Context (domain knowledge and preferences)
Task-Driven vs Goal-Driven vs Outcome-Driven
Goal as a Structured Contract
In Hive, a goal is a structured object with three parts.Success Criteria
Each criterion defines a measurable quality signal and a weight. Common metrics:output_containsoutput_equalsllm_judgecustom
Constraints
Constraints define non-negotiables and preferences.- Hard constraints: violation triggers failure/escalation
- Soft constraints: violation is tolerated with warning/replan
timecostsafetyscopequality
Context
Context supplies durable background information that should influence agent decisions and LLM behavior.Why This Model Matters
- The agent can self-correct during execution against explicit criteria.
- Evolution has a target because failures map to specific unmet criteria.
- Humans retain control through hard constraints and intervention gates.
Goal Lifecycle
Goals typically move through:DRAFT -> READY -> ACTIVE -> COMPLETED | FAILED | SUSPENDED