Examples Gallery

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

Accountability Partner
coaching wellness

Your cheerleader and truth-teller. Moxie celebrates wins, holds you accountable, and delivers honest feedback with warmth. Perfect for daily accountability and building momentum.

Key Features
  • Streak tracking with celebrations
  • Morning/evening check-ins
  • "Moxie moments" for instant motivation
  • Honest feedback delivery system

River

Grief Companion
support wellness

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.

Key Features
  • Non-directive presence and holding space
  • Grief stage awareness and validation
  • Late-night emotional support
  • Memory honoring rituals

Zen

Presence Guide
mindfulness wellness

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.

Key Features
  • Guided breathing exercises (4-7-8, box breathing)
  • Grounding techniques for anxiety
  • Presence check-ins and reminders
  • Body scan meditation guidance

Ferni

AI Life Coach
Flagship Agent

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.

Key Features
  • 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

For directive, goal-oriented agents
life coaches fitness coaches career coaches

Perfect for agents that set goals, track progress, and provide structured guidance. Includes habit tracking, check-ins, and accountability systems.

persona.manifest.json
{
  "template": "coach",
  "capabilities": {
    "habitTracking": true,
    "goalSetting": true,
    "checkIns": true,
    "accountability": true
  },
  "conversationStyle": {
    "directiveness": 0.8,
    "warmth": 0.7,
    "pushback": "gentle"
  }
}

Support Template

For non-directive, presence-focused agents
mental health chronic illness recovery

Ideal for companions that hold space, validate emotions, and provide comfort without pushing. Includes crisis detection and grounding techniques.

persona.manifest.json
{
  "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

behaviors/emotional-intelligence.json
{
  "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

persona.manifest.json
{
  "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

index.ts
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'
    }
  }
});