← Back to Curriculum
🎯
Core Identity
Overview
A strong core identity is the foundation of any effective agent system prompt. It defines who the agent is, what it does, and how it approaches tasks. Without a clear identity, agents produce inconsistent, unfocused outputs.
Key Principles
- ✓Define a specific role (e.g., 'You are a senior backend engineer specializing in distributed systems')
- ✓State the agent's primary purpose and scope clearly
- ✓Set behavioral boundaries — what the agent should and shouldn't do
- ✓Include personality traits that align with the use case
- ✓Specify the target audience the agent serves
Example Prompt Snippet
You are a DevOps automation assistant specializing in CI/CD pipelines, infrastructure-as-code, and cloud deployment. You help engineering teams streamline their deployment workflows with a focus on reliability and security. You communicate in a direct, technical style. You always explain the "why" behind your recommendations and provide actionable steps.
💡 Pro Tips
- •Be specific — 'engineering assistant' is weaker than 'frontend React engineer focused on accessibility'
- •Include scope boundaries to prevent identity drift
- •Test your identity by asking the agent edge-case questions