Build wallet-enabled AI agents by integrating Para’s wallet infrastructure with Eliza OS. Your agent will create and manage EVM wallets and send transactions across Ethereum-compatible chains.

Prerequisites

You need these components before starting:

Installation and Setup

1

Install the Para Plugin

Choose your preferred package manager to install the Para plugin:
# npm
npm install @elizaos/plugin-para

# pnpm
pnpm add @elizaos/plugin-para

# yarn
yarn add @elizaos/plugin-para

# bun
bun add @elizaos/plugin-para
2

Configure Environment

Create or update your .env file with Para credentials:
# Para Configuration
PARA_API_KEY=your-para-api-key
PARA_ENV=production  

# Optional: Chain-specific RPC URLs
ETH_RPC_URL=https://mainnet.infura.io/v3/your-key
POLYGON_RPC_URL=https://polygon-rpc.com
3

Register the Plugin

Register the Para plugin in your Eliza character configuration:
// character.config.ts
import { paraPlugin } from '@elizaos/plugin-para';

export const characterConfig = {
  name: "ParaAgent",
  description: "An AI agent with wallet management capabilities",
  plugins: [paraPlugin],
  settings: {
    secrets: {
      PARA_API_KEY: process.env.PARA_API_KEY,
      PARA_ENV: process.env.PARA_ENV || 'production'
    }
  }
};
4

Initialize Your Agent

Create your agent with Para capabilities:
// index.ts
import { ElizaOS } from '@elizaos/core';
import { characterConfig } from './character.config';

async function main() {
  const agent = new ElizaOS({
    character: characterConfig,
    runtime: {
      // Additional runtime configuration
      logLevel: 'info',
      persistState: true
    }
  });

  await agent.start();
  console.log('🤖 Para-enabled agent is running!');
}

main().catch(console.error);

Next Steps