RWA-DAO
Demo
Qwen Cloud Global AI Hackathon · MemoryAgent track

Watch the agent learn from real revenue.

RWA-DAO's marketing agent doesn't optimise likes — its memory is reinforced by the on-chain mints each post drives, and its reasoning runs on Qwen (Alibaba Cloud). This page is a hands-on tour for judges: the lab below runs the agent's real, unit-tested functions in your browser — no keys, no cost.

1 · Memory ranks
per-creator weights rank the next batch (contextual bandit)
2 · Qwen writes
the captions for the ranked batch, biased by the memory hint
3 · Generate
Wan / HappyHorse via DashScope (two-stage)
4 · Post
one tap, with the creator's referral link
5 · On-chain mints
Minted events on XDC — un-fakeable USD
Live lab · the real functions, in your browser

Reinforce the memory, watch the next batch change

Each button simulates an indexed on-chain outcome. In production this exact signal comes from the RwaWatchNft Minted events our indexer scans on XDC.

✦Creator memory0 reinforced outcomes

No performance history yet — the agent is exploring.

Weights appear here as outcomes land — click a button above.

Next batch — ranked by memory (best first)

The same pool→rank step the hosted scheduler runs each tick. Scores = learned memory + a deterministic exploration nudge — the exact values the ordering uses.

1
On the Wrist · XDC Rainbow Pavé
Instagram · Argentina · Penthouse
score 1.11
2
Product Showcase · XDC Rainbow Pavé
X · France · Riviera Terrace
score 1.09
3
Product Showcase · Encrypto Black Diamond
Instagram · Germany · Luxury District
score 1.09
4
RWA-DAO Watch Unboxing · Encrypto Black Diamond
Instagram · Japan · Luxury District
score 1.08
The exact user prompt Qwen receives for the top pick

Built by buildCaptionPrompt() — the memory hint (appears after the first outcome) steers the copy toward what this audience mints on. Production sends it with a short brand-safety system message (see llm.ts).

Write a short, punchy Instagram caption promoting the "XDC Rainbow Pavé" luxury RWA-DAO watch, in a On the Wrist style, as creator Marcus. It's the Argentina World Cup special edition. One or two sentences, 2–3 relevant hashtags. Not financial advice. Output ONLY the caption text.
Verify the live system (one call each)
# Provider preflight — is the Qwen path wired? (config-only, zero cost)
curl -H "Authorization: Bearer $CRON_SECRET" \
  $URL/api/rwa/agent/preflight

# One agent tick — reasons on Qwen, ranks by memory, indexes the chain
curl -X POST -H "Authorization: Bearer $CRON_SECRET" \
  $URL/api/rwa/agent/run

Both endpoints are CRON_SECRET-guarded; the hourly scheduler calls the second one autonomously.

Explore the product & the code
  • Dashboard → AI agent tab — the hosted agent, its memory card and one-tap posting
  • Studio — two-stage compose → animate generation
  • docs/ARCHITECTURE.md — the four system diagrams
  • docs/SYSTEM_SPEC.md — the full specification
  • mcp/ — drive these same tools from any MCP client (Claude Desktop)

Honest status: this demo runs in mock mode — generation returns a prepared plan and no credits are spent. The Qwen reasoning path, the DashScope Wan/HappyHorse + Wanx adapters and the Alibaba Cloud deploy kit are built, unit-tested and env-gated; they activate with the DashScope key (/api/rwa/agent/preflight?probe=1 live-checks the Qwen key/auth and reports the resolved video model ids — video generation itself stays behind its own flag). On-chain reads are live against XDC Apothem right now.