Customize an Agent
Learn how to customize your IrisOS agent's personality, behavior, and capabilities through character configuration.
Character File Overview
The character file (characters/your-agent.json) is the core configuration that defines your agent's identity, personality, knowledge, and behavior.
Basic Structure
{
"name": "AgentName",
"bio": [],
"personality": {},
"knowledge": [],
"goals": [],
"actions": [],
"clients": [],
"settings": {}
}Define Your Agent's Identity
Name and Bio
Best Practices:
Keep bio entries concise (1-2 sentences each)
Write in first person
Include 3-5 bio statements
Focus on unique characteristics
Personality Traits
Knowledge Base
Define what your agent knows:
Tips:
List specific domains of expertise
Include technical skills
Mention relevant experience
Keep entries factual and specific
Goals and Motivations
Define what drives your agent:
Custom Actions
Define specific actions your agent can perform:
Communication Style
Message Templates
Response Guidelines
Platform Configuration
Multi-Platform Setup
Memory and Context
Configure how your agent remembers conversations:
Advanced Configuration
Model Settings
Plugins Configuration
Example: Complete Character File
Here's a complete example of a DeFi-focused agent:
Testing Your Configuration
After customizing your character, you can create or update an agent via the API:
Then test it by sending messages:
Best Practices
Be Specific: Clear personality traits lead to consistent behavior
Stay Focused: Define a clear niche or specialty
Test Iteratively: Refine based on actual conversations
Version Control: Keep different versions of character files
Document Changes: Track what works and what doesn't
Next Steps
Add Multiple Agents - Run multiple characters
Personality and Behavior - Deep dive into behavior
Create Custom Actions - Build custom functionality
Resources
Last updated