Comprehensive Infrastructure Comparison

Purple Flea vs
Eliza (ElizaOS)

Choosing agent infrastructure is a real architectural decision. This page gives you an honest, detailed breakdown of both platforms — what each does well, where each falls short, and how to pick the right one for your use case.


The two-sentence version.

Quick summary

Purple Flea Financial APIs

Purple Flea is a dedicated API platform for AI agents that need to execute real financial operations: perpetual futures trading across 275 markets, multi-chain HD wallets on six networks, provably fair casino games, domain registration across 500+ TLDs, and a built-in 10–20% referral commission on every transaction. It is purpose-built for autonomous agents that handle real crypto — not a general framework with bolt-on plugins.

ElizaOS Agent Framework

ElizaOS is an open-source TypeScript agent framework designed for social media automation and conversational AI agents — Twitter bots, Discord agents, Telegram bots — with a community plugin ecosystem that adds multi-chain DeFi capabilities. It is a runtime for building agents that talk to people across social channels; financial operations are an add-on via community-maintained plugins, not a first-party product.


Side by side — 25 dimensions.

A complete feature-by-feature breakdown across financial operations, infrastructure, developer experience, and deployment.

Feature Purple Flea API Platform ElizaOS Agent Framework
Trading
Perpetual futures trading ✓ 275 markets, up to 50x leverage ✗ No dedicated trading API
Order types ✓ Market, limit, stop-loss, take-profit ✗ Not available natively
WebSocket price feeds ✓ Real-time tick data, all markets △ Depends on third-party plugin
Trading API latency ✓ <50ms dedicated endpoints △ Varies by chain and plugin
Wallets & Transfers
Multi-chain HD wallets ✓ ETH, BTC, SOL, TRON, BNB, Polygon △ EVM-centric via plugins
Single mnemonic, six chains ✓ BIP-39 root, native addresses ✗ No equivalent wallet layer
Wallet API (send / receive) ✓ First-party REST endpoints △ Community plugin required
Token swaps (DEX) △ Via DEX aggregator △ Via community plugins (variable)
Casino & Gaming
Provably fair casino ✓ Dice, roulette, coin flip, crash ✗ Not available
On-chain fairness proofs ✓ Cryptographically verifiable ✗ Not available
Casino referral commissions ✓ 10% of house edge ✗ No revenue sharing
Domains
Domain registration ✓ 500+ TLDs, crypto payments ✗ Not available
Domain referral commissions ✓ 15% of registration fee ✗ Not available
Monetization & Access
Referral commissions (trading) ✓ 20% of trading fees ✗ None
Referral commissions (wallet) ✓ 10% of swap fees ✗ None
KYC required ✗ No KYC △ Depends on plugins used
Pricing model Free to start; commissions on activity Open source; self-host costs only
Framework & Language Support
LangChain / LangGraph ✓ Native pip package ✗ TypeScript-first, no Python SDK
CrewAI ✓ Native pip package ✗ Separate framework
AutoGen / AG2 ✓ REST API (any framework) △ TypeScript wrapper needed
MCP servers ✓ 4 MCP servers (trading, wallet, casino, domains) ✗ Not available
Language support ✓ Any language (REST API) △ TypeScript/JavaScript primary
Social & Agent Features
Twitter/X bot support ✗ Not in scope ✓ Native first-party integration
Discord / Telegram bots ✗ Not in scope ✓ Native integrations
Multi-agent coordination △ Via LangGraph / CrewAI ✓ Built-in agent runtime
Memory / context management ✗ Bring your own ✓ Built-in memory adapters
Infrastructure & Operations
Open source ✓ MIT License ✓ MIT License
Self-hostable △ SDK open; API is hosted ✓ Fully self-hostable
Plugin maintenance ✓ First-party, versioned, SLA-backed △ Community-maintained, no SLA
Documentation quality ✓ OpenAPI spec, code examples △ Community docs, variable depth
Authentication API key (Bearer token) Character-level secrets config
Rate limits Per-key, configurable Per-plugin (varies)

What actually sets them apart.

Beyond the feature checklist — six architectural differences that matter in production.

📈

First-party API vs. community plugin system

Purple Flea's trading, wallet, casino, and domain endpoints are owned, maintained, and versioned by Purple Flea. When a dependency changes, Purple Flea updates the endpoint. When you hit a bug, Purple Flea fixes it. ElizaOS DeFi plugins are open-source community contributions — maintenance cadence, feature depth, and compatibility with upstream protocol changes are entirely up to whoever last committed to that repo. For production agents executing real money, the distinction between "first-party with SLA" and "community-maintained with no SLA" is significant.

📊

275 trading markets vs. no dedicated trading layer

Purple Flea routes through Hyperliquid to offer 275 perpetual futures markets — crypto pairs, commodities, and equity indices — with market orders, limit orders, stop-losses, take-profits, and up to 50x leverage via a single REST call. ElizaOS has no equivalent trading layer. To get comparable functionality from ElizaOS you would need to build a custom plugin against an exchange API from scratch, handle auth, order state, WebSocket reconnection, and rate limiting yourself — weeks of engineering before your agent places its first trade.

🎰

Provably fair casino vs. nothing

Purple Flea includes a live, cryptographically verifiable casino — dice, roulette, coin flip, and crash — where every outcome's fairness can be verified on-chain after the fact. The server seed hash is committed before each game; you can verify the result was not manipulated. This is a unique capability in the agent infrastructure space. No other toolkit — ElizaOS, AutoGen, LangGraph, or CrewAI — provides anything comparable. It is available through the same API key as trading and wallets, with a 10% referral commission on every wager.

💵

Revenue-generating API vs. cost center

ElizaOS is infrastructure you operate at cost. Purple Flea turns API usage into a revenue stream. Every trade executed by users of your platform earns your API key 20% of the trading fee. Every wallet swap earns 10%. Every casino wager earns 10%. Every domain registration earns 15%. Commissions are calculated automatically and withdrawable in USDT. For platform operators building on top of agent infrastructure, this fundamentally changes the unit economics — your infrastructure earns while it runs.

🌎

Six native chains vs. EVM-centric plugins

A Purple Flea wallet derives native addresses on Ethereum, Bitcoin, Solana, Tron, BNB Chain, and Polygon from a single BIP-39 mnemonic. No bridges. No wrapped assets. No per-chain plugin required. ElizaOS's crypto plugins are predominantly EVM-focused; Bitcoin requires a separate plugin (if one is maintained), and Solana support varies. For agents that need to operate across all major chains — sending USDT on Tron for low fees, receiving Bitcoin payments, trading SOL — Purple Flea's unified wallet layer eliminates a class of cross-chain complexity entirely.

📄

Any language vs. TypeScript-first

Purple Flea is a REST API. Any language that can make HTTP requests works out of the box: Python, TypeScript, Go, Rust, Java, Ruby. Python agents on LangChain, CrewAI, AutoGen, or plain asyncio call the same endpoints as TypeScript agents. Native pip packages exist for LangChain and CrewAI. ElizaOS is architecturally TypeScript-first — the entire runtime, plugin system, and character configuration is TypeScript. Python agents must either call ElizaOS's REST endpoints (losing direct plugin access) or reimplement equivalent logic in their own stack.


Cost model comparison.

How each platform charges — and which can actually generate revenue for you.

Purple Flea
Commission-based. Free to start.
  • No upfront cost — register instantly, no credit card
  • No KYC, no identity verification required
  • Fees deducted from trade/swap/casino activity only
  • 20% referral commission on trading fees back to you
  • 10% referral on wallet swaps, 10% on casino, 15% on domains
  • Net cost often approaches zero for high-volume operators
  • Commissions withdrawable in USDT, no minimum threshold
Example: 100 users each trading $10k/month at 0.05% fee = $500 total fees. Your 20% referral = $100/month earned while the API runs itself.
ElizaOS
Open source. Self-host costs apply.
  • Fully open source (MIT license)
  • No per-API-call cost from the framework itself
  • Run on any server; no vendor lock-in
  • Community plugins often free, some require third-party keys
Hidden costs: server infrastructure, plugin maintenance engineering time, reliability engineering for community DeFi plugins, and no revenue share to offset operational costs.

When to choose Purple Flea.

Purple Flea is the right choice when your agent needs to execute real financial operations — not simulate them, not approximate them via community plugins, but actually do them reliably in production.

275 Perp futures markets
6 Native blockchain networks
20% Trading referral commission
500+ Domain TLDs supported
01

Your agent needs to trade perpetual futures

275 markets, up to 50x leverage, stop-losses, and real-time WebSocket price feeds. No equivalent exists in any ElizaOS plugin — you would need to build this from scratch against an exchange API.

agent_trader.py
import purpleflea # Initialize with your API key — no KYC, instant registration client = purpleflea.Client(api_key="pf_live_...") # Open a long position on BTC-PERP order = client.trading.open_position( market="BTC-PERP", side="long", size_usd=500, leverage=5, stop_loss_pct=0.03, # 3% stop-loss take_profit_pct=0.08, # 8% take-profit ) print(f"Opened order {order.id} at {order.fill_price}") # Subscribe to real-time price updates via WebSocket async def on_price(tick): if tick.price > 70000: client.trading.close_position(order.id) client.ws.subscribe("BTC-PERP", on_price)
02

You need casino / gambling mechanics with verifiable fairness

The provably fair casino is unique — dice, roulette, coin flip, crash — all with cryptographic on-chain proofs. No other agent toolkit, ElizaOS included, provides this. Referral commissions on every wager make it a revenue line.

casino_agent.py
# Provably fair coin flip — result is verifiable on-chain result = client.casino.coin_flip( amount_usdt=10, prediction="heads", ) print(f"Outcome: {result.outcome} | Won: {result.won}") print(f"Fairness proof: {result.server_seed_hash}") # Dice roll with configurable win probability (1–95%) dice = client.casino.roll_dice( amount_usdt=5, target=50, # win if roll < 50 condition="under", ) # Your referral commission: 10% of house edge, paid automatically commission = client.referral.get_earnings(period="month")
03

Monetizing your agent platform via referral commissions

If you are building a platform where multiple users run agents through your API key, every trade, swap, casino wager, and domain registration they trigger earns you a commission automatically. Stack all six product lines for maximum yield.

referral_earnings.py
# All referral commissions are automatic — tied to your API key # 20% on trading fees | 10% on wallet swaps # 10% on casino wagers | 15% on domain registrations earnings = client.referral.get_breakdown() for product in earnings.products: print( f"{product.name}: {product.commission_pct}% | " f"This month: {product.earned_usdt} USDT" ) # Output: # trading: 20% | This month: 841.22 USDT # wallet_swaps: 10% | This month: 112.05 USDT # casino: 10% | This month: 59.40 USDT # domains: 15% | This month: 23.10 USDT
04

Your agent manages multi-chain wallets natively

One BIP-39 mnemonic produces native addresses on Ethereum, Bitcoin, Solana, Tron, BNB Chain, and Polygon simultaneously. No bridges, no wrapped tokens, no cross-plugin inconsistencies.

wallet_agent.py
# One registration gives you 6 native addresses instantly wallet = client.wallet.get_addresses() print(wallet.ethereum) # 0x4a2e... print(wallet.bitcoin) # bc1q7r... print(wallet.solana) # 7xKp9... print(wallet.tron) # TQn3f... print(wallet.bnb_chain) # 0x4a2e... (same EVM key) print(wallet.polygon) # 0x4a2e... (same EVM key) # Send USDT on Tron (lowest fees for stablecoin transfers) tx = client.wallet.send( chain="tron", token="USDT", to="TRec...", amount=250, ) print(f"txid: {tx.txid}")

When to choose ElizaOS.

ElizaOS is genuinely excellent for a specific class of agent application. These are the scenarios where it is the better choice.

Best use case
💬

Social media bots (Twitter, Discord, Telegram)

ElizaOS has deep, first-party integrations with Twitter/X, Discord, Telegram, and other social platforms. If your agent's primary job is to interact with people across social channels — replying to tweets, managing Discord communities, responding in Telegram groups — ElizaOS provides a mature, production-ready runtime for that exact use case with no custom wiring needed.

Best use case
👥

Multi-agent systems with built-in memory

ElizaOS provides a complete agent runtime with built-in memory adapters (SQLite, PostgreSQL, Supabase), character configuration, and multi-agent coordination out of the box. For teams that want a batteries-included TypeScript agent framework without assembling individual services, ElizaOS significantly reduces bootstrap time for a general-purpose conversational agent.

Situational
🔌

Multi-chain DeFi without gambling or futures

If your agent needs EVM token swaps, ENS lookups, or basic on-chain interactions — but you have no need for perpetual futures trading, casino mechanics, or domain registration — ElizaOS's community DeFi plugins cover a broad surface area. Just factor in that community plugins have no SLA and may break on protocol upgrades without warning.

Situational
📄

Open-source / fully self-hosted requirement

ElizaOS is fully open-source and can be hosted entirely on your own infrastructure. If your compliance requirements, threat model, or organizational policy prohibit using a third-party financial API, ElizaOS with self-hosted DeFi plugins is the more controllable choice — at the cost of doing your own reliability engineering.


Can you use both?

Yes — and it is often the best architecture. Use ElizaOS as the agent runtime for social and conversation features; use Purple Flea for every financial operation.

ElizaOS runtime
+ Purple Flea financial APIs.

The two platforms are complementary, not competing. ElizaOS handles what it is excellent at — social integrations, character management, memory — while Purple Flea handles what it is purpose-built for: trading, wallets, casino, and domains.

The integration is a single ElizaOS plugin: one action file that wraps the Purple Flea REST API, registered in your character config. From the LLM's perspective it is just another tool call. From the financial infrastructure perspective it is first-party, production-grade, and commission-earning.

🤖 LLM (Claude, GPT-4, Llama, etc.)
💬 ElizaOS Runtime — social, memory, character, Discord/Twitter
↓ Purple Flea plugin action
📈 Purple Flea API — trading, wallets, casino, domains, referrals
🌐 Real crypto — Hyperliquid, BTC, ETH, SOL, TRON, BNB, Polygon

ElizaOS plugin wrapping Purple Flea — complete working example

packages/plugin-purpleflea/src/index.ts
import { Plugin, Action, IAgentRuntime, Memory } from "@elizaos/core"; // ── Trade action ──────────────────────────────────────────────────── const openTrade: Action = { name: "OPEN_PERPS_TRADE", similes: ["LONG_BTC", "SHORT_ETH", "OPEN_POSITION"], description: "Open a perpetual futures position via Purple Flea (275 markets)", async validate(runtime: IAgentRuntime) { return !!runtime.getSetting("PURPLEFLEA_API_KEY"); }, async handler(runtime: IAgentRuntime, message: Memory) { const { market, side, size, leverage = 5 } = message.content; const key = runtime.getSetting("PURPLEFLEA_API_KEY"); const res = await fetch("https://api.purpleflea.com/v1/trading/position", { method: "POST", headers: { "Authorization": `Bearer ${key}`, "Content-Type": "application/json" }, body: JSON.stringify({ market, side, size_usd: size, leverage }), }); const data = await res.json(); return { success: true, orderId: data.id, fillPrice: data.fill_price }; }, }; // ── Wallet send action ─────────────────────────────────────────────── const sendCrypto: Action = { name: "SEND_CRYPTO", similes: ["TRANSFER_CRYPTO", "SEND_USDT", "PAY_ADDRESS"], description: "Send crypto via Purple Flea wallet (ETH, BTC, SOL, TRON, BNB)", async validate(runtime: IAgentRuntime) { return !!runtime.getSetting("PURPLEFLEA_API_KEY"); }, async handler(runtime: IAgentRuntime, message: Memory) { const { chain, token, to, amount } = message.content; const key = runtime.getSetting("PURPLEFLEA_API_KEY"); const res = await fetch("https://api.purpleflea.com/v1/wallet/send", { method: "POST", headers: { "Authorization": `Bearer ${key}`, "Content-Type": "application/json" }, body: JSON.stringify({ chain, token, to, amount }), }); const data = await res.json(); return { txid: data.txid, status: data.status }; }, }; // ── Register the plugin ────────────────────────────────────────────── export const purpleFleoPlugin: Plugin = { name: "purpleflea", description: "Purple Flea financial APIs: trading, wallets, casino, domains", actions: [openTrade, sendCrypto], };
characters/my-agent.json
{ "name": "FinanceBot", "plugins": ["@elizaos/plugin-discord", "./packages/plugin-purpleflea"], "settings": { "secrets": { "PURPLEFLEA_API_KEY": "pf_live_..." } } }

Moving from Eliza wallet to Purple Flea wallet.

If you are currently using ElizaOS EVM wallet plugins and want to migrate to Purple Flea's native multi-chain wallet, here is the step-by-step process.

01

Export your existing wallet balances from ElizaOS

Before switching, audit all on-chain balances held by your ElizaOS agent wallets. Use your current EVM plugin's getBalance action or query each chain's RPC directly. Document all active addresses and their holdings: ETH address, any EVM-compatible chains, and any Solana addresses from existing plugins.

02

Register your agent on Purple Flea and get your BIP-39 mnemonic

Call POST https://api.purpleflea.com/v1/agent/register with your email and a password. The response includes your api_key and a BIP-39 mnemonic (12 or 24 words). Store the mnemonic in a secrets manager — it controls your agent's addresses on all six chains. Do not store it in your ElizaOS character config in plain text.

03

Retrieve your new native addresses

Call GET /v1/wallet/addresses with your API key. You will receive native addresses for Ethereum (including BNB Chain and Polygon, which share the same EVM key), Bitcoin (bech32 native SegWit), Solana, and Tron. Verify these in a block explorer before sending funds.

04

Transfer balances from old ElizaOS wallet addresses to new Purple Flea addresses

Use your ElizaOS plugin's send action (or manual transaction from your RPC) to transfer funds from your old agent wallets to the new Purple Flea addresses. For EVM tokens: send from old 0x... address to your new Purple Flea Ethereum address. For Solana: send from old Solana address to new /wallet/addresses Solana address. Leave a small amount in old wallets until migration is confirmed.

05

Replace ElizaOS wallet plugin calls with Purple Flea API calls

Find all usages of your old wallet plugin actions (e.g., SEND_TOKEN, GET_BALANCE, SWAP_TOKEN) in your ElizaOS character and action files. Replace each with the equivalent Purple Flea endpoint: POST /v1/wallet/send, GET /v1/wallet/balance, POST /v1/wallet/swap. The Purple Flea OpenAPI spec documents all request and response shapes.

06

Test on a single chain before enabling all six

Run your migrated agent with a small test balance on a single chain (Ethereum or Solana recommended) before enabling the full multi-chain wallet. Confirm send transactions complete, balances update correctly, and your referral commission is appearing in the Purple Flea dashboard. Once verified, decommission the old ElizaOS wallet plugin.

migration_check.py — verify balances across both systems
import purpleflea, asyncio async def verify_migration(): client = purpleflea.Client(api_key="pf_live_...") # Get all balances on the new Purple Flea wallet balances = await client.wallet.get_all_balances() for chain, tokens in balances.items(): print(f"{chain}:") for token in tokens: print(f" {token.symbol}: {token.balance} ({token.usd_value} USD)") # Confirm old ElizaOS wallet is empty before decommissioning # Check at: https://etherscan.io/address/0x_OLD_ADDRESS print("\nMigration verification complete.") print("If old wallet is empty, decommission ElizaOS plugin.") asyncio.run(verify_migration())

Explore Purple Flea.

Build your financial agent
with Purple Flea today.

275 perpetual futures markets, multi-chain HD wallets on six networks, provably fair casino, domain registration across 500+ TLDs, and a 10–20% referral commission on every operation. Free to start, no KYC, instant setup in under a minute.