Prerequisites
Before creating an agent, you should:Connect Integrations
Define the Use Case
- What problem does it solve?
- What triggers it?
- What tools does it need?
- What output should it produce?
(Optional) Prepare Context Docs
Creation Methods
You can create agents in three ways:From Chat (Recommended)
From Scratch (Advanced)
From Template
Method 1: Create From Scratch
Navigate to Agents
Basic Information
Write System Prompt
- The agent’s role
- What it should do
- When to use which tools
- How to format output
Select Tools
- Browse by category (SIEM, EDR, Ticketing, etc.)
- Or search by name
- Grant only what’s needed for the task
Attach Skills (Optional)
- Standard investigation procedures
- Output formats and reporting templates
- Reusable enrichment or triage playbooks
Add Context Documents (Optional)
- Runbooks and procedures
- Known false positive lists
- Contact directories
- Policy documents
Configure Settings
never: Agent acts immediately (faster, good for simple tasks)auto: Agent decides if planning is neededalways: Agent always creates a plan first (better for complex tasks)
Save and Test
Method 2: Create From Template
Templates are pre-built agents for common use cases:Browse Templates
Choose Template
Customize
- Pre-written system prompt (edit to fit your needs)
- Recommended tools (add/remove as needed)
- Example context documents
Configure Integrations
Test & Deploy
Method 3: Create From Chat
If you’ve had a successful chat session, convert it to an agent:Complete Chat Session
Review the Session
Click 'Create Agent'
Auto-Generated Prompt
- System prompt based on your conversation
- Tool list from what was used
- Planning mode based on complexity
Refine and Save
What Happens After Creation?
Once you create an agent:- Test in Builder
- Set Up Triggers
- Monitor Performance
- Iterate & Improve
- Test with sample inputs
- Refine the system prompt
- Verify tool usage
- Check output format
Common Patterns
Pattern: Alert Enrichment Agent
Pattern: Scheduled Report Agent
Pattern: On-Demand Research Agent
Agent Configuration Options
When creating an agent, you can configure:Model Selection
Model Selection
- General-purpose hosted model: Strong reasoning, tool use, and instruction following
- High-speed/cost-optimized hosted model: Good fit for simpler tasks or high volume
- Custom or self-hosted: Bring your own fine-tuned or on-prem model
Planning Mode
Planning Mode
- never: Agent acts immediately (faster, 1-2 tool calls)
- auto: Agent decides if planning helps (balanced)
- always: Agent creates detailed plan first (complex multi-step tasks)
auto, adjust based on resultsTool Access
Tool Access
- Increases token usage (all tools described to LLM)
- Can confuse the agent
- Creates security risk
Skills
Skills
- Standard operating procedures
- Shared report formats
- Repeatable investigation workflows
Context Documents
Context Documents
- 50KB per document (plain text equivalent)
- Agent has ~200KB total context window
Evaluation Criteria
Evaluation Criteria
- Accuracy of findings
- Completeness of investigation
- Clarity of output
- Appropriate tool usage
Tips for Success
Troubleshooting Common Issues
Agent doesn't use the right tools
Agent doesn't use the right tools
get_sentinelone_alert to fetch full alert details”Output format is inconsistent
Output format is inconsistent
Agent is too slow
Agent is too slow
- Reduce number of granted tools
- Set planning mode to
never - Remove verbose context documents
- Check if tools themselves are slow (API performance)
Agent makes wrong decisions
Agent makes wrong decisions
- Add decision criteria to prompt
- Provide examples of good/bad decisions
- Check if context documents have necessary info
- Verify tool outputs are correct