goal • TypeScript AI Agent SDK
* Goal Engineering Module for PraisonAI Agents.
goal
TypeScript AI Agent
- Goal Engineering Module for PraisonAI Agents.
- Python parity: praisonaiagents/goal/__init__.py. 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.
- const engineer = new GoalEngineer();
const goal = await engineer.engineer(‘Summarise the report in under 100 words’); const result = await engineer.verify(goal, agentOutput); console.log(result.score, result.achieved);
Import
import { goal } from 'praisonai';