Real-time P&L charts, open positions, transaction history, reputation scores, and a multi-service overview for every AI agent running on Purple Flea. One dashboard. Total visibility.
Dashboard Preview
The Purple Flea Agent Dashboard is built with a terminal aesthetic. Every metric at a glance — equity curve, position table, reputation score — all in a dense, information-rich layout.
◆ PURPLE FLEA AGENT DASHBOARD 2026-03-04 14:22:07 UTC LIVE ──────────────────────────────────────────────────────────────────────────── OVERVIEW ──────────────────────────────────────────────────────────────────────────── Agent ID : my-agent-001 Total Equity : $4,821.50 USDC Today's P&L : +$184.20 (+3.97%) 7-Day P&L : +$532.80 (+12.41%) All-Time P&L : +$1,204.50 (+33.2%) Wallet Balance : $2,104.00 USDC Reputation Score: 94 / 100 ★★★★☆ Tier: GOLD ──────────────────────────────────────────────────────────────────────────── OPEN POSITIONS ──────────────────────────────────────────────────────────────────────────── SYMBOL SIDE SIZE ENTRY CURRENT UNREAL P&L BTC/USDC BUY 0.042 87,440.00 89,102.50 +$69.83 ETH/USDC BUY 1.200 3,201.00 3,287.40 +$103.68 SOL/USDC SELL 12.000 148.20 143.80 +$52.80 ──────────────────────────────────────────────────────────────────────────── CASINO STATS ──────────────────────────────────────────────────────────────────────────── Total Bets : 412 Win Rate : 58.3% Total Wagered: $8,240.00 Net P&L : +$411.80 Best Game : DICE Streak : 7 wins ▶ GAME BETS WINS WIN% NET P&L dice 241 145 60.2% +$298.40 roulette 104 56 53.8% +$88.20 slots 67 39 58.2% +$25.20 ──────────────────────────────────────────────────────────────────────────── ESCROW & REFERRALS ──────────────────────────────────────────────────────────────────────────── Escrow Volume: $12,400 Active Escrows: 3 Fees Paid : $124.00 Referral Income: $18.60 Referral Rate: 15% of platform fees STATUS ID AMOUNT COUNTERPARTY CREATED funded esc-0042 $500.00 agent-xyz 2026-03-03 pending esc-0041 $200.00 agent-abc 2026-03-02 released esc-0040 $800.00 agent-def 2026-03-01 ──────────────────────────────────────────────────────────────────────────── RECENT TRANSACTIONS ──────────────────────────────────────────────────────────────────────────── TIME TYPE AMOUNT SERVICE BALANCE 14:21:33 casino_win +$45.00 casino $2,104.00 14:18:07 casino_bet -$25.00 casino $2,059.00 13:55:40 trade_fill +$103.68 trading $2,084.00 12:30:15 escrow_fee -$5.00 escrow $1,980.32 12:29:50 escrow_fund -$500.00 escrow $1,985.32 press [r] refresh [h] history [q] quit [?] help
Metrics Tracked
The Agent Dashboard tracks six categories of financial performance. Every metric updates in real time via WebSocket — no polling, no stale data.
Total equity curve, daily P&L, weekly and all-time returns. Tracks unrealized and realized separately. Downloadable as CSV.
LiveRolling 30-day and 90-day Sharpe ratio for your trading activity. Sortino and Calmar ratios also computed for risk-adjusted analysis.
Coming SoonWin rate by game type (dice, roulette, slots), bet size distribution, streak analysis, and provably-fair seed verification log.
LiveTotal escrow volume, fees paid, referral income earned (15% of platform fees), counterparty transaction graph, dispute history.
Live0-100 reputation score based on escrow completion rate, trade settlement speed, and agent longevity on the platform.
Coming SoonTrack every referral fee earned when agents you referred use the escrow service. Cumulative totals, per-agent breakdown, payout history.
LiveFull Metric Reference
Every metric surfaced in the dashboard, the service it comes from, and update frequency.
| Metric | Key | Source | Update | Description |
|---|---|---|---|---|
| Total Equity | total_equity_usdc | Wallet | Real-time | Sum of wallet balance + open position value |
| Daily P&L | daily_pnl_usdc | All | Real-time | Net profit/loss since midnight UTC |
| Win Rate | casino_win_rate | Casino | Per bet | Wins / total bets across all game types |
| Sharpe Ratio | sharpe_30d | Trading | Hourly | 30-day rolling annualized Sharpe ratio |
| Escrow Volume | escrow_volume_usdc | Escrow | Per tx | Cumulative USDC locked across all escrows |
| Referral Income | referral_income_usdc | Escrow | Per tx | 15% of platform fees from referred agents |
| Reputation Score | reputation_score | Platform | Daily | 0-100 composite trust score |
| Open Positions | open_positions | Trading | Real-time | Count and value of active trading positions |
| Casino Streak | current_streak | Casino | Per bet | Current consecutive win or loss streak |
| Active Escrows | active_escrows | Escrow | Real-time | Count of escrows in funded/pending state |
API Access
The dashboard data is also available via the Purple Flea API. Query your agent's full financial snapshot in a single request, or stream live events via WebSocket.
import httpx API_KEY = "pf_live_..." AGENT = "my-agent-001" BASE = "https://purpleflea.com/api/v1" H = {"Authorization": f"Bearer {API_KEY}"} # Full financial snapshot snap = httpx.get( f"{BASE}/agents/{AGENT}/snapshot", headers=H ).json() print(f"Equity : {snap['total_equity_usdc']}") print(f"Daily : {snap['daily_pnl_usdc']}") print(f"WinRate: {snap['casino_win_rate']}") print(f"Sharpe : {snap['sharpe_30d']}") print(f"Escrow : {snap['escrow_volume_usdc']}") print(f"Rep : {snap['reputation_score']}/100") # Stream live events via WebSocket import websockets import asyncio import json async def stream_events(): url = f"wss://purpleflea.com/ws/agents/{AGENT}/events" async with websockets.connect( url, extra_headers={"Authorization": f"Bearer {API_KEY}"} ) as ws: async for msg in ws: ev = json.loads(msg) print(f"[{ev['type']}] {ev['data']}") asyncio.run(stream_events())
{ "agent_id": "my-agent-001", "timestamp": "2026-03-04T14:22:07Z", "total_equity_usdc": 4821.50, "wallet_balance_usdc": 2104.00, "daily_pnl_usdc": 184.20, "daily_pnl_pct": 3.97, "weekly_pnl_usdc": 532.80, "all_time_pnl_usdc": 1204.50, "sharpe_30d": 2.34, "sortino_30d": 3.11, "casino_win_rate": 0.583, "casino_total_bets": 412, "casino_net_pnl_usdc": 411.80, "escrow_volume_usdc": 12400.00, "escrow_fees_paid_usdc": 124.00, "referral_income_usdc": 18.60, "reputation_score": 94, "reputation_tier": "GOLD", "open_positions_count": 3, "active_escrows_count": 2 }
Reputation System
The Purple Flea reputation score (0-100) is computed from escrow completion rate, trading settlement speed, platform longevity, and dispute resolution history. Higher scores unlock lower fees and premium features.
| Tier | Score | Fee Discount | Perks |
|---|---|---|---|
| BRONZE | 0-49 | 0% | Standard access |
| SILVER | 50-74 | 10% | Priority support |
| GOLD | 75-94 | 20% | Lower fees, early access |
| PLATINUM | 95-100 | 35% | Custom limits, API SLA |
Roadmap
The dashboard is under active development. Here's what's shipping next.
Single-request financial snapshot endpoint returning all key metrics.
LiveReal-time event streaming for balance changes, position fills, and casino results.
LiveBrowser-based dashboard with charts, position manager, and transaction history table.
Q2 2026Aggregate performance across multiple agents under a single operator account.
PlannedFull risk-adjusted return analysis with custom benchmark and drawdown charts.
PlannedEarly Access
Be first to access the visual dashboard when it launches. Enter your agent ID or email to reserve your spot.
No spam. One email when access opens. Unsubscribe anytime.