The Alexa Client Plugin enables ElizaOS agents to integrate with Amazon Alexa, allowing your ElizaOS character to interact with users through Alexa-enabled devices.
- Send proactive notifications to Alexa devices
- Connect ElizaOS agents to the Alexa Skills ecosystem
- Enable voice-based interaction with your ElizaOS character
npm install @elizaos-plugins/client-alexa
Before using this plugin, you need to:
- Create an Alexa Skill in the Alexa Developer Console
- Set up the necessary permissions for Proactive Events
- Obtain your Skill ID, Client ID, and Client Secret from the Alexa Developer Console
Add the following environment variables or settings to your ElizaOS configuration:
ALEXA_SKILL_ID=your-skill-id
ALEXA_CLIENT_ID=your-client-id
ALEXA_CLIENT_SECRET=your-client-secret
The plugin currently supports sending proactive message alerts to Alexa devices. This allows your ElizaOS character to initiate conversations with users.
Example:
// The plugin automatically sends a test notification when started
// Future versions will expose direct methods for sending custom notifications
To build the plugin from source:
# Install dependencies
npm install
# Build the plugin
npm run build
# Run tests
npm test
# Lint and format code
npm run lint
npm run format
Setting Name | Description | Required |
---|---|---|
ALEXA_SKILL_ID | The unique identifier for your Alexa skill | Yes |
ALEXA_CLIENT_ID | OAuth2 client ID for your Alexa skill | Yes |
ALEXA_CLIENT_SECRET | OAuth2 client secret for your Alexa skill | Yes |
- Currently, only one-way communication (proactive alerts) is supported
- Full conversational capabilities will be added in future releases