Eliza is a lightweight AI agent framework. It leverages Character files - JSON-formatted configurations that define an AI character's personality, knowledge, and behavior patterns.
Eliza Agent Weaver enables you to develop a set of Character files based on your own lore, and connects the narratives of multiple agents together through their character files.
Learn More โ
git clone https://github.com/yourusername/eliza-agent-weaver.git
cd eliza-agent-weaver
# Install backend dependencies
cd backend
npm install
# Install frontend dependencies
cd ../frontend
npm install
Create two .env files:
In the backend directory:
OPENAI_API_KEY='YOUR API KEY HERE'
PORT=3001
In the root directory:
OPENAI_API_KEY='YOUR API KEY HERE'
SKIP_PREFLIGHT_CHECK=true
cd backend
npm start
cd frontend
npm start
http://localhost:3000
Enter World Lore: Provide detailed background information about your world setting.
Add Character Names: List the names of characters you want to generate (one per line).
Configure Settings:
Generate Characters: Click "Generate Characters" and monitor the progress.
View Results:
Generated character files follow this structure:
{
"name": "Character Name",
"clients": [],
"modelProvider": "anthropic",
"settings": {
"secrets": {},
"voice": {
"model": "en_US-male-medium"
}
},
"plugins": [],
"bio": ["Biography entries..."],
"lore": ["Lore entries..."],
"knowledge": ["Knowledge entries..."],
"messageExamples": ["Message examples..."],
"postExamples": ["Post examples..."],
"topics": ["Topics of interest..."],
"style": {
"all": ["General style traits..."],
"chat": ["Chat-specific style traits..."],
"post": ["Post-specific style traits..."]
},
"adjectives": ["Character adjectives..."],
"relationships": [
{
"name": "Other Character Name",
"relationship": "Nature of relationship",
"details": "Relationship details"
}
]
}
CharacterGenerator
: Main application componentCharacterViewer
: Displays individual character profilesSimpleRelationshipView
: Provides a simplified relationship viewGenerationProgress
: Shows real-time generation progressThis project is licensed under the MIT License - see the LICENSE file for details.