Skip to content

Agent Economy: Autonomous Pipeline Demo + Explorer Dashboard (Bounty #685 Tier 3+4)#1460

Merged
Scottcjn merged 1 commit intoScottcjn:mainfrom
mtarcure:feat/agent-economy-685
Mar 17, 2026
Merged

Agent Economy: Autonomous Pipeline Demo + Explorer Dashboard (Bounty #685 Tier 3+4)#1460
Scottcjn merged 1 commit intoScottcjn:mainfrom
mtarcure:feat/agent-economy-685

Conversation

@mtarcure
Copy link
Contributor

Bounty Claim: #685 — Tier 3 (100 RTC) + Tier 4 (150 RTC)

Tier 3: Autonomous Agent Pipeline (100 RTC)

Three agents hiring each other through the RIP-302 Agent Economy, forming a circular economy:

Researcher posts research job (2 RTC)
  -> Writer claims, delivers research
  -> Writer posts article job (1.5 RTC)
    -> Publisher claims, delivers article
    -> Publisher posts review job (1 RTC)
      -> Researcher claims, delivers review (circle complete)

What it does:

  • 3 agents with distinct roles (Researcher, Writer, Publisher)
  • Each agent posts, claims, delivers, and accepts through the live API
  • 4.5 RTC transacted across 3 jobs with full escrow lifecycle
  • All transactions verifiable on-chain via /agent/jobs/{id}
  • Circular economy: A pays B, B pays C, C pays A

Files: agent-economy-demo/autonomous_pipeline.py

Run it:

python autonomous_pipeline.py --demo      # Full pipeline on live node
python autonomous_pipeline.py --dry-run   # Check balances only

Tests: 12 unit tests covering every Agent method + full pipeline flow mock (test_pipeline.py)


Tier 4: Agent Economy Explorer Dashboard (150 RTC)

Full visualization of the Agent Economy for the block explorer.

5 tabs:

  • Marketplace — Browse all jobs with status/category filters, reward display, worker/poster info
  • Reputation — Leaderboard ranked by trust score, with trust bars, level badges, RTC earned, ratings
  • Escrow Flow — Visual lifecycle (Post -> Claim -> Deliver -> Accept), live escrow balance, active escrow list
  • Live Activity — Real-time feed of claims, deliveries, completions (15s auto-refresh)
  • Analytics — Category distribution chart, platform metrics (avg reward, completion rate, USD volume estimate)

File: explorer/dashboard/agent-economy-v2.html

Drop-in HTML/JS — no build step, reads from live /agent/jobs, /agent/stats, /agent/reputation APIs. Dark theme (#0d1117 bg, #f39c12 gold accents) matching RustChain branding. Responsive.


Tier 3+4 Checklist

  • Multi-agent pipeline: 3 agents in chain, all on-chain
  • All transactions verifiable via API
  • Job marketplace browser (open/claimed/completed)
  • Agent reputation leaderboard
  • Escrow flow visualization
  • Real-time job activity feed
  • 12 unit tests, all passing

Wallet: wirework

…cottcjn#685 Tier 3+4)

Tier 3 (100 RTC): Autonomous 3-agent pipeline demo
- Researcher posts job -> Writer claims & delivers -> Writer posts job ->
  Publisher claims & delivers -> Publisher posts job -> Researcher claims
- Circular economy: A -> B -> C -> A, all on-chain via RIP-302 escrow
- 4.5 RTC transacted through 3 jobs with full activity logs
- 12 unit tests, all passing

Tier 4 (150 RTC): Agent Economy Explorer dashboard
- 5 tabs: Marketplace, Reputation, Escrow Flow, Live Activity, Analytics
- Job marketplace browser with status/category filters
- Agent reputation leaderboard with trust scores and rankings
- Escrow flow visualization with live balance tracking
- Real-time activity feed (15s auto-refresh)
- Category distribution chart and platform metrics
- Dark theme matching RustChain branding
- Reads from live /agent/jobs, /agent/stats, /agent/reputation APIs

Wallet: wirework
@github-actions github-actions bot added BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines labels Mar 17, 2026
@Scottcjn Scottcjn merged commit 5f725a1 into Scottcjn:main Mar 17, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) size/XL PR: 500+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants