Concept
An agent definition needs more than a name. TheGOAL says what outcome the agent owns. PERSONA describes how it should communicate while doing that work. LIMITATIONS define what it must not do. Together, these sections give the runtime enough identity to build useful prompts and give your project team a stable contract for routing, testing, and escalation.
Write the goal as an owned responsibility, not a slogan. Write the persona as observable behavior, not a brand adjective list. Write limitations as enforceable boundaries that point to the next action when possible.
Minimal working example
How it works
The refund agent owns policy explanation, not payment actions. Its limitation is not just “do not process refunds”; it also names the correct boundary for disputes. TheHANDOFF makes that boundary executable by routing charge disputes to Billing_Specialist.
This separation matters in enterprise assistants because customers do not care which internal team owns an issue. They ask naturally. The agent goal and limitations keep the self-service experience helpful while preventing the wrong agent from taking a sensitive action.
Since the HANDOFF above omits HISTORY, Billing_Specialist now receives the full conversation history by default (the current platform default when HISTORY is omitted) — set an explicit HISTORY strategy if you want bounded or summary-only context instead.
Common variations
Short persona
Use a one-line persona for simple specialists:Multiline persona
Use a multiline persona when tone, format, and operating style matter:IDENTITY section
Some projects useIDENTITY: to group role, persona, expertise, and limitations. Use it only when the project standard prefers that shape; otherwise, GOAL, PERSONA, and LIMITATIONS are easier to scan.
Verification
- Test an in-scope request and confirm the agent answers directly.
- Test a boundary request and confirm it hands off, delegates, or declines instead of improvising.
- Test a sensitive request, such as refund approval or payment reversal, and confirm the limitation is respected.
- Inspect the handoff target and passed fields so the receiving agent has enough context.
Production readiness checklist
- Every agent has one primary responsibility.
- Limitations name prohibited work and the correct next path.
- Routing conditions align with the same boundaries described in limitations.
- Sensitive actions are handled by the right specialist, workflow, tool, or human escalation.
- Test cases cover in-scope, adjacent, out-of-scope, and ambiguous requests.