Bootstrap Plugin
The Bootstrap Plugin provides essential baseline functionality for your agent, including conversation management, room control, and core evaluation capabilities.
Installation
Section titled “Installation”-
Install the package:
Terminal window Terminal window Terminal window -
Import and add to your agent:
import { createBootstrapPlugin } from "@eliza/plugin-bootstrap";const agent = new AgentBuilder().withPlugin(createBootstrapPlugin()).build();
Available Features
Section titled “Available Features”Actions
Section titled “Actions”Action | Description | Example Usage |
---|---|---|
continue | Continue the current conversation flow | Continue our previous discussion |
followRoom | Begin following a room for updates | Follow room trading-signals |
unfollowRoom | Stop following a room | Unfollow room general-chat |
ignore | Ignore specific messages or patterns | Ignore messages from @spambot |
muteRoom | Mute notifications from a room | Mute room announcements |
unmuteRoom | Restore notifications from a room | Unmute room important-alerts |
Usage Examples
Section titled “Usage Examples”// Initialize plugin with default configurationconst bootstrapPlugin = createBootstrapPlugin();
// Add to agentconst agent = new AgentBuilder() .withPlugin(bootstrapPlugin) .build();
Configuration Options
Section titled “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
Section titled “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
Section titled “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