https://github.com/comput3ai/eliza-plugin-comput3ai
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (11.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: comput3ai
- Language: TypeScript
- Default Branch: main
- Size: 276 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
@elizaos/plugin-comput3ai
A plugin for Comput3AI GPU Services API that integrates with the ElizaOS platform.
Description
This plugin enables interaction with Comput3AI's GPU services through the ElizaOS platform. It provides a seamless interface for managing GPU workloads, checking balances, and accessing Comput3AI services.
Features
- Check Comput3AI wallet balance
- View Comput3AI profile
- List available workload types
- Launch new GPU workloads
- Manage existing workloads
- Stop running workloads
Prerequisites
- Node.js >= 18.0.0
- Bun package manager
- ElizaOS CLI
- Comput3AI API credentials
Installation
Method 1: Using ElizaOS CLI (Recommended)
Install the ElizaOS CLI if you haven't already:
bash bun install -g @elizaos/cliCreate a new ElizaOS project or navigate to your existing project:
bash elizaos create my-agent --type project cd my-agentInstall the plugin:
bash bun install @elizaos/plugin-comput3ai
Method 2: Development Setup
Clone this repository into your ElizaOS workspace: ```bash
From your ElizaOS root directory
git clone https://github.com/comput3ai/eliza-plugin-comput3ai.git packages/plugin-comput3ai ```
Install dependencies from the ElizaOS root:
bash bun installBuild the plugin:
bash bun run build
Configuration
Environment Variables
Create or update your .env file with the following required variables:
```bash
Comput3AI Credentials
COMPUT3AIAPIKEY=yourcomput3aiapikey COMPUT3AIWALLETADDRESS=yourcomput3aiwalletaddress
LLM Configuration (using Comput3AI's API)
OPENAIAPIKEY=yourcomput3aiapikey OPENAIAPIURL=https://api.comput3.ai/v1 SMALLOPENAIMODEL=llama3:70b MEDIUMOPENAIMODEL=llama3:70b LARGEOPENAIMODEL=llama3:70b DEFAULTMODEL=llama3:70b MODEL_PROVIDER=openai ```
Character Configuration
Add the plugin to your character configuration file (e.g., characters/your-agent.character.json):
json
{
"name": "YourAgent",
"plugins": [
"@elizaos/plugin-comput3ai"
],
"modelProvider": "openai",
"settings": {
"secrets": {}
}
}
Usage
Starting Your Agent
Start your agent using the ElizaOS CLI:
bash elizaos start --character="characters/your-agent.character.json"Access the web interface:
http://localhost:3000Interact with your agent through the chat interface or supported clients (Discord, Telegram, etc.)
Example Commands
You can interact with the plugin through natural language commands:
- "What's my current balance on Comput3?"
- "What's my Comput3 profile?"
- "What workload types are available on Comput3?"
- "Launch a new GPU workload of type media:fast that expires in 60 minutes"
- "List all my Comput3 workloads"
- "Stop my workload {workload_id}"
Development and Testing
For development purposes, you can run the agent in debug mode:
bash
LOG_LEVEL=debug elizaos start --character="characters/your-agent.character.json"
To test the plugin actions directly:
bash
elizaos test
Plugin Architecture
This plugin follows the standard ElizaOS plugin architecture:
- Actions: Define specific behaviors the agent can perform
- Providers: Supply contextual information to the agent
- Services: Handle external API integrations
- Types: Define TypeScript interfaces for type safety
Available Actions
GET_USER_BALANCE: Retrieve Comput3AI wallet balanceGET_USER_PROFILE: Get user profile informationGET_WORKLOAD_TYPES: List available workload typesLIST_WORKLOADS: Show user's workloadsLAUNCH_WORKLOAD: Start a new GPU workloadSTOP_WORKLOAD: Stop a running workload
Troubleshooting
Common Issues
- Plugin not found: Ensure the plugin is properly installed and listed in your character's plugins array
- API key errors: Verify your
COMPUT3AI_API_KEYis correct and has proper permissions - Build errors: Run
bun installandbun run buildfrom the ElizaOS root directory
Debug Mode
Enable detailed logging:
bash
LOG_LEVEL=debug elizaos start
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
License
This project is licensed under the terms specified in the repository.
Support
For support and questions, please refer to the Comput3AI documentation or open an issue in the repository.
Owner
- Name: comput3.AI
- Login: comput3ai
- Kind: organization
- Email: hello@comput3.ai
- Website: https://comput3.ai
- Twitter: comput3ai
- Repositories: 1
- Profile: https://github.com/comput3ai
Cloud infrastructure for the future of AI.
GitHub Events
Total
- Member event: 2
- Push event: 10
Last Year
- Member event: 2
- Push event: 10