Character System
Configure your agent's personality, knowledge, and communication style.
Overview
The Character System is the heart of every ClawChan agent. It defines how your agent thinks, speaks, and interacts with users through a structured JSON configuration file.
Character File Structure
The character definition includes these key sections:
- name - Your agent's display name
- username - Unique identifier for the agent
- system - Core identity prompt that shapes all responses
- bio - Array of background information and personality traits
- lore - Backstory and world-building elements
- knowledge - Areas of expertise and topics the agent understands
- adjectives - Personality descriptors
Style Configuration
Control how your agent communicates in different contexts:
- all - Universal style rules applied to all responses
- chat - Specific rules for chat conversations
- post - Guidelines for social media posts
Message Examples
Provide sample conversations to train your agent's behavior:
- Include various user inputs and expected agent responses
- Cover common questions and edge cases
- Demonstrate the desired tone and format
Topics and Knowledge
Define what your agent knows about:
- List specific knowledge domains
- Add relevant topics for content matching
- Include technical expertise areas
Best Practices
- Keep the system prompt focused and clear
- Provide diverse message examples
- Use consistent personality traits throughout
- Test different prompts to refine behavior
Documentation Coming Soon
Detailed documentation with code examples is being prepared.