Skip to content

Latest commit

 

History

History
80 lines (50 loc) · 1.46 KB

README.md

File metadata and controls

80 lines (50 loc) · 1.46 KB

@elizaos/plugin-asterai

A plugin for interacting with asterai plugins and agents.

Description

This plugin provides functionality to allow Eliza agents to interact with asterai plugins and agents.

This will expand your Eliza character's utility by giving it access to all the functionality of asterai's ecosystem of marketplace and private plugins and agents.

Installation

pnpm install @elizaos/plugin-asterai

Configuration

The plugin requires the following environment variables to be set:

ASTERAI_AGENT_ID=
ASTERAI_PUBLIC_QUERY_KEY=

Usage

Basic Integration

import { asteraiPlugin } from '@elizaos/plugin-asterai';

Example Usage

The plugin supports natural language for interacting with the asterai agent through your Eliza character.

For example, if your asterai agent can fetch weather data:

"Hey Eliza, how's the weather in LA?"

Eliza will then query the asterai agent to fetch the information.

Development Guide

Setting Up Development Environment

  1. Clone the repository
  2. Install dependencies:
pnpm install
  1. Build the plugin:
pnpm run build
  1. Run tests:
pnpm run test

Contributing

Contributions are welcome! Please see the CONTRIBUTING.md file for more information.

License

This plugin is part of the Eliza project. See the main project repository for license information.