5-Minute Quick Start Guide
Get your first ElizaOS agent running in just 5 minutes! No coding required.
📋 What You'll Need
Before starting, make sure you have:
- A computer (Windows, Mac, or Linux)
- Internet connection
- An AI API key (we'll help you get one)
🚀 Step 1: Install ElizaOS (2 minutes)
Open your terminal (Command Prompt on Windows, Terminal on Mac/Linux) and follow these steps:
Install the ElizaOS CLI globally
bun install -g @elizaos/cli
Create your first agent
elizaos create my-first-agent
When prompted, select:
- Project Type:
project
(for a complete agent) - Template:
basic
(simplest template) - Install dependencies:
yes
The installer will create your agent and set everything up automatically!
🔑 Step 2: Get Your AI Key (1 minute)
Your agent needs an AI service to think and respond. Choose one:
Option A: OpenAI (Recommended for beginners)
- Go to platform.openai.com
- Sign up or log in
- Click "API Keys" → "Create new secret key"
- Copy your key (starts with
sk-
prefix)
Option B: Claude (Anthropic)
- Go to console.anthropic.com
- Sign up or log in
- Go to "API Keys" → "Create Key"
- Copy your key
Option C: Local AI (Free, no API key needed)
- The agent will use a local AI model (slower but free)
- No additional setup required!
⚙️ Step 3: Configure Your Agent (1 minute)
-
Navigate to your agent folder:
cd my-first-agent
-
Open the
.env
file in any text editor -
Add your API key:
# For OpenAI
OPENAI_API_KEY=your-key-here
# OR for Claude
ANTHROPIC_API_KEY=your-key-here
# OR for Local AI - leave empty -
Save the file
🎭 Step 4: Customize Your Agent (Optional - 30 seconds)
Open agent/eliza.character.json
to customize your agent's personality:
{
"name": "Eliza",
"description": "A helpful AI assistant",
"plugins": ["@elizaos/plugin-sql", "@elizaos/plugin-openai", "@elizaos/plugin-bootstrap"],
"settings": {
"voice": "alloy"
},
"bio": [
"I'm here to help you with anything you need!",
"I love learning new things and chatting with people."
],
"style": {
"all": ["friendly", "helpful", "encouraging"]
}
}
Note: The plugins must be in this exact order:
@elizaos/plugin-sql
- Database (always first!)@elizaos/plugin-openai
- AI provider (or use@elizaos/plugin-anthropic
)@elizaos/plugin-bootstrap
- Core functionality
Change the name, bio, and style to create your unique agent!
▶️ Step 5: Start Your Agent (30 seconds)
Run this command:
bun start
Your agent is now running! You'll see:
🤖 Agent "Eliza" is starting...
✅ Connected to OpenAI
🌐 Chat interface available at: http://localhost:3000
💬 Discord bot online (if configured)
🐦 Twitter bot online (if configured)
💬 Step 6: Chat with Your Agent
Web Chat (Easiest)
- Open your web browser
- Go to
http://localhost:3000
- Start chatting with your agent!
Terminal Chat
Type messages directly in the terminal where you started the agent.
🎉 Congratulations
You've successfully created and launched your first ElizaOS agent!
📚 What's Next?
Now that your agent is running, explore these options:
🎨 Customize Your Agent
- Change personality and behavior
- Add custom responses
- Create unique characters
🔌 Connect to Platforms
To connect your agent to platforms like Discord, Twitter, or Telegram, check out the platform-specific templates in our Templates section.
🚀 Advanced Features
For more advanced configuration and monitoring options, check out our Technical Documentation.
🛠️ For Developers
- Technical Documentation - System architecture
- Twitter Technical Guide - API implementation details
❓ Need Help?
Common Issues
Error: "API key not found"
Make sure you:
- Added your API key to the
.env
file - Saved the file
- Used the correct format (no extra spaces or quotes)
- Restarted the agent after adding the key
Error: "Port 3000 already in use"
Another program is using port 3000. Either:
-
Stop the other program, or
-
Change the port in your
.env
file:PORT=3001
Agent not responding
Check that:
- Your API key is valid and has credits
- You have internet connection
- The terminal shows no error messages
- Try restarting with
bun start
Get Support
🎊 You did it! Your agent is alive and ready to chat. Have fun exploring all the possibilities with ElizaOS!