Akash Network Plugin for deploying and managing cloud compute resources on ElizaOS.
npm install @elizaos/plugin-akashAdd to your .eliza/.env file:
# Required
AKASH_MNEMONIC=your_wallet_mnemonic_here
AKASH_WALLET_ADDRESS=akash1... # Optional, but recommended
# Network Configuration (defaults to mainnet)
AKASH_ENV=mainnet # or testnet
AKASH_NET=https://raw.githubusercontent.com/ovrclk/net/master/mainnet
RPC_ENDPOINT=https://rpc.akashnet.net:443
# Gas Configuration
AKASH_GAS_PRICES=0.025uakt
AKASH_GAS_ADJUSTMENT=1.5
AKASH_FEES=20000uakt
AKASH_DEPOSIT=500000uakt
# Optional Configuration
AKASH_PRICING_API_URL=https://console-api.akash.network/v1/pricing
AKASH_DEFAULT_CPU=1000
AKASH_DEFAULT_MEMORY=1000000000
AKASH_DEFAULT_STORAGE=1000000000
AKASH_SDL=example.sdl.yml
AKASH_MANIFEST_MODE=auto # auto, manual, or validate_only
AKASH_MANIFEST_VALIDATION_LEVEL=strict # strict, lenient, or noneimport akashPlugin from '@elizaos/plugin-akash';
// Add to your ElizaOS configuration
const plugins = [akashPlugin];CREATE_DEPLOYMENT- Create a new deployment on Akash NetworkCLOSE_DEPLOYMENT- Close an existing deploymentGET_DEPLOYMENT_STATUS- Get the status of a deploymentGET_DEPLOYMENT_API- Get deployment API information
GET_PROVIDER_INFO- Get detailed information about a providerGET_PROVIDERS_LIST- List available providersGET_GPU_PRICING- Get GPU pricing information
ESTIMATE_GAS- Estimate gas for operationsGET_MANIFEST- Get deployment manifest
akashService- Provides current Akash service state and configuration
The Akash plugin includes a service that manages:
- Wallet connections
- Network configuration
- Deployment lifecycle
- Provider interactions
npm run dev # Development mode with watch
npm run build # Build for production
npm run test # Run tests
npm run lint # Lint code
npm run format # Format codeThis plugin follows the ElizaOS v2 plugin architecture:
- Service Layer: Manages Akash connections and state
- Actions: Modular deployment and provider operations
- Providers: State providers for runtime access
- Configuration: Zod-validated configuration management
"Can you create a deployment with 2 CPU, 4GB RAM, and 10GB storage?"
"Can you check the provider info for akash1ccktptfkvdc67msasmesuy5m7gpc76z75kukpz?"
"Show me available GPU providers"
-
Wallet Not Initialized
- Ensure
AKASH_MNEMONICis set in your environment - Mnemonic must be 12 or 24 words
- Ensure
-
Network Connection Issues
- Verify
RPC_ENDPOINTis accessible - Check network configuration matches your intended network (mainnet/testnet)
- Verify
-
Insufficient Funds
- Ensure wallet has sufficient AKT for gas and deposits
- Default deposit is 500000uakt (0.5 AKT)
MIT