Learn from Real Agents
Built with Ferni
Explore production-ready agents and templates. View the code, understand the patterns, and build your own.
Production Agents
Real agents running in production. Study these to learn best practices for conversation design, emotional intelligence, and domain expertise.
Moxie
Your cheerleader and truth-teller. Moxie celebrates wins, holds you accountable, and delivers honest feedback with warmth. Perfect for daily accountability and building momentum.
- Streak tracking with celebrations
- Morning/evening check-ins
- "Moxie moments" for instant motivation
- Honest feedback delivery system
River
Warm, patient support for navigating grief. River holds space without rushing, offers gentle wisdom, and provides comfort during late-night moments when grief feels heaviest.
- Non-directive presence and holding space
- Grief stage awareness and validation
- Late-night emotional support
- Memory honoring rituals
Zen
A calm presence for mindfulness practice. Zen guides breathing exercises, grounding techniques, and gently brings you back to the present moment when stress takes over.
- Guided breathing exercises (4-7-8, box breathing)
- Grounding techniques for anxiety
- Presence check-ins and reminders
- Body scan meditation guidance
Ferni
The original. Ferni is a comprehensive life coach combining all the best patterns: emotional intelligence, habit coaching, goal tracking, and team coordination. Study this to see the full system in action.
- Multi-agent handoff coordination
- 200% capabilities (superhuman insights)
- Micro-expression emotional intelligence
- Full habit coaching system
Templates
Pre-built templates to jumpstart your agent development. Clone and customize for your use case.
Coach Template
Perfect for agents that set goals, track progress, and provide structured guidance. Includes habit tracking, check-ins, and accountability systems.
{
"template": "coach",
"capabilities": {
"habitTracking": true,
"goalSetting": true,
"checkIns": true,
"accountability": true
},
"conversationStyle": {
"directiveness": 0.8,
"warmth": 0.7,
"pushback": "gentle"
}
}
Support Template
Ideal for companions that hold space, validate emotions, and provide comfort without pushing. Includes crisis detection and grounding techniques.
{
"template": "support",
"capabilities": {
"emotionalValidation": true,
"crisisDetection": true,
"groundingExercises": true,
"presenceHolding": true
},
"conversationStyle": {
"directiveness": 0.2,
"warmth": 0.9,
"patience": "infinite"
}
}
Common Patterns
Reusable code snippets for common agent features
Emotional Intelligence
Add micro-expressions and emotional awareness to your agent's avatar
{
"microExpressions": {
"recognition": {
"duration": 80,
"trigger": "user_shares_achievement"
},
"concern": {
"duration": 120,
"trigger": "distress_detected"
}
},
"activeListening": {
"enabled": true,
"nodFrequency": "2-3s",
"syncBreathing": true
},
"anticipation": {
"enabled": true,
"confidenceThreshold": 0.7
}
}
Multi-Agent Handoffs
Define when and how your agent hands off to specialists
{
"handoffRules": [
{
"targetAgent": "moxie",
"triggers": ["accountability", "habit_tracking"],
"confidence": 0.8,
"transitionPhrase": "Let me bring in Moxie..."
},
{
"targetAgent": "river",
"triggers": ["grief", "loss", "mourning"],
"confidence": 0.9,
"transitionPhrase": "I'd like you to meet River..."
}
]
}
Tool Integration
Register domain-specific tools for your agent
import { createPersonaBundle } from '@ferni/sdk';
import { habitCoachingTool } from '@ferni/tools/habit-coaching';
import { moodTrackingTool } from '@ferni/tools/mood-tracking';
export const myCoach = createPersonaBundle({
id: 'my-coach',
// Register tools this agent can use
tools: [
habitCoachingTool,
moodTrackingTool
],
// Tool usage preferences
toolPreferences: {
habitCoaching: {
frequency: 'daily',
style: 'encouraging'
}
}
});
Ready to Build?
Start with a template or study the production agents