> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# goal • AI Agent SDK

> Goal Engineering Module for PraisonAI Agents.

# goal

<Badge color="blue">AI Agent</Badge>

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:

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
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

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import goal
```

### Constants

| Name            | Value                                                                                                                                                                                                         |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `_LAZY_IMPORTS` | `{'GoalEngineer': ('engineer', 'GoalEngineer'), 'GoalConfig': ('config', 'GoalConfig'), 'Goal': ('models', 'Goal'), 'SuccessCriterion': ('models', 'SuccessCriterion'), 'GoalVerificationResult': ('model...` |
