Personality configuration

The Lillo Agent Personality System provides a layered approach to defining and managing agent personalities through a combination of metadata, character configuration, and dynamic prompt composition.

Core Components

1. Agent Identity Layer

The base identity of an agent is composed of structured metadata:

interface AgentMetadata {
  // Basic Information (Required)
  name: string;
  type: string;
  botUsername?: string;

  // Token Information (Optional)
  tokenConfig?: {
    ticker: string;
    network: string;
    tokenAddress: string;
    maxSupply?: string;
    decimals?: number;
  };

  // Social Presence (Optional)
  systemIdentity?: {
    websiteUrl?: string;
    telegramGroup?: string;
    twitterHandle?: string;
  };

  // Capabilities
  capabilities?: Record<string, boolean>;
}

2. Character Configuration

The personality is defined through four key aspects:

Default configuration provides a baseline personality:

Prompt Composition System

1. Metadata Formation

2. Character Prompt Generation

3. Command-Specific Behavior

4. Final Prompt Assembly

Management Interface

Agents can be managed through the Telegram interface using a hierarchical menu system:

Main Agent Menu (/myagents)

The interface provides three main configuration categories:

1. Agent Bio Menu (🎭)

  • Background & Purpose (πŸ“)

    • Core identity definition

    • Main purpose

    • Key characteristics

  • Communication Style (πŸ—£οΈ)

    • Language style

    • Tone of voice

    • Communication preferences

  • Special Characteristics (✨)

    • Unique traits

    • Memorable quirks

    • Distinguishing features

  • Format & Capabilities (βš™οΈ)

    • Message length preferences

    • Emoji usage

    • Formatting style

    • Special characters

  • Website URL (🌐)

    • Official website link

    • Landing page URL

    • Documentation links

  • Twitter Handle (🐦)

    • Social media presence

    • Twitter username

    • Community engagement

  • Telegram Group (πŸ’¬)

    • Community chat link

    • Support group URL

    • Announcement channel

3. Token Configuration Menu (πŸ’°)

  • Token Ticker (πŸ’±)

    • Symbol/ticker

    • Trading identifier

    • Market reference

  • Token Network (πŸ”—)

    • Blockchain platform

    • Network type

    • Protocol

  • Token Address (πŸ“)

    • Contract address

    • Token identifier

    • Blockchain location

State Management

Each menu interaction is managed through a state system:

Configuration Flow

  1. Select agent from list

  2. Choose configuration category

  3. Select specific field to edit

  4. Enter new value

  5. Automatic validation and update

  6. Return to category menu

Best Practices

  1. Identity Definition

    • Keep bio clear and focused

    • Define specific personality traits

    • Set appropriate tone and format

    • Consider target audience

  2. Prompt Management

    • Use structured metadata

    • Keep command prompts focused

    • Test personality combinations

    • Validate prompt effectiveness

  3. Configuration

    • Start with default configuration

    • Customize gradually

    • Test changes incrementally

    • Monitor agent behavior

Example Configuration

Last updated