goal • AI Agent SDK
Goal Engineering Module for PraisonAI Agents.
goal
AI Agent
Goal Engineering Module for PraisonAI Agents.
Goal Engineering is the systematic practice of turning a vague objective into a structured, measurable goal — a statement plus weighted success criteria and constraints — then verifying agent output against it. It complements Context / Harness / Loop (CHL) engineering by making the goal an explicit, testable artifact.
Zero performance impact: all components are lazy loaded via `__getattr__`.
Usage:
from praisonaiagents.goal import GoalEngineer
engineer = GoalEngineer()
goal = engineer.engineer("Summarise the report in under 100 words")
result = engineer.verify(goal, agent_output)
print(result.score, result.achieved)Import
from praisonaiagents import goalConstants
| Name | Value |
|---|---|
_LAZY_IMPORTS | {'GoalEngineer': ('engineer', 'GoalEngineer'), 'GoalConfig': ('config', 'GoalConfig'), 'Goal': ('models', 'Goal'), 'SuccessCriterion': ('models', 'SuccessCriterion'), 'GoalVerificationResult': ('model... |