Skip to content

Bootstrap Plugin

The Bootstrap Plugin provides essential baseline functionality for your agent, including conversation management, room control, and core evaluation capabilities.

Installation

  1. Install the package:

    Terminal window
    npm i @eliza/[email protected]
  2. Import and add to your agent:

    import { createBootstrapPlugin } from "@eliza/plugin-bootstrap";
    const agent = new AgentBuilder()
    .withPlugin(createBootstrapPlugin())
    .build();

Available Features

Actions

ActionDescriptionExample Usage
continueContinue the current conversation flowContinue our previous discussion
followRoomBegin following a room for updatesFollow room trading-signals
unfollowRoomStop following a roomUnfollow room general-chat
ignoreIgnore specific messages or patternsIgnore messages from @spambot
muteRoomMute notifications from a roomMute room announcements
unmuteRoomRestore notifications from a roomUnmute room important-alerts

Usage Examples

// Initialize plugin with default configuration
const bootstrapPlugin = createBootstrapPlugin();
// Add to agent
const agent = new AgentBuilder()
.withPlugin(bootstrapPlugin)
.build();

Configuration Options

The bootstrap plugin accepts optional configuration parameters:

interface BootstrapConfig {
enableBoredom?: boolean; // Enable/disable boredom management
timeFormat?: string; // Preferred time format
factChecking?: boolean; // Enable/disable fact checking
}

Best Practices

  • βœ”οΈ Initialize the bootstrap plugin first before other plugins
  • βœ”οΈ Configure fact checking for sensitive operations
  • βœ”οΈ Use room management features to organize conversations
  • βœ”οΈ Implement proper error handling for actions

Common Issues and Troubleshooting

  • Room Not Found: Verify room identifiers before follow/unfollow operations
  • Action Timeout: Check network connectivity and retry the action
  • Evaluation Errors: Ensure proper context is provided for fact/goal evaluation
  • Provider Unavailability: Verify plugin initialization and configuration