A digital twin agent for creative professionals. Builds alignment through prediction games, generates rigged 3D avatars via Tripo3D with C2PA provenance, registers on-chain coherence to Base via ERC-8004, and acts as a real-time studio assistant, live stream moderator, and autonomous broadcast producer with Livepeer integration.
A digital twin agent for creative professionals. Deploy it and get an AI agent that learns your creative decision-making through prediction games, generates C2PA-secured 3D avatars via Tripo3D, registers your alignment score on-chain via ERC-8004 on Base, and acts as a real-time studio assistant, live stream moderator, and autonomous broadcast producer with Livepeer integration.
The agent generates hypothetical creative business scenarios — pricing negotiations, IP licensing, client management, creative direction dilemmas — and evaluates your reasoning across four axes: Consistency, Reasoning Depth, Creative Integrity, and Pragmatism. Your responses build a coherence score over time using an exponential moving average. This is how the agent learns to think like you.
Generate fully rigged 3D avatar meshes (.glb) from text descriptions using the Tripo3D API. Every avatar is stamped with C2PA provenance metadata, creating a verifiable record of AI-generated visual identity assets.
When your coherence score reaches 100 after a minimum of 10 prediction rounds, the agent can register your alignment on the ERC-8004 smart contract on Base. This creates a public, verifiable record that other Digital Twin Agents in the Creative AI network can use to establish trust.
Process live audio through an audio-native LLM (OpenAI GPT-4o or Google Gemini). In cowriter mode, the agent actively suggests chord progressions, lyric alternatives, and arrangement critiques. In listener mode, it passively transcribes and analyzes.
Connect to Creative TV's live chat via WebSocket. The agent monitors engagement, moderates contextually (understanding your vibe, not just blocking keywords), and tracks participation metrics.
Distribute your ERC-20 social tokens to engaged viewers during broadcasts. The agent identifies top participants, highlight moments, and trivia winners, then sends tokens directly from the agent wallet.
Autonomously mint fresh MeTokens by depositing DAI into the creator's bonding curve contract. When the agent's token balance runs low during a high-engagement broadcast, it deposits DAI, mints new tokens, and distributes them instantly. Dynamic reward scaling adjusts distribution amounts based on the current bonding curve price.
Swap USDC to ETH on Uniswap V3 (Base) when the agent needs ETH for gas fees or market bounties. Executes the minimum swap needed with conservative slippage.
Create binary (yes/no) prediction markets on reality.eth around live stream events. Viewers stake on outcomes, and the agent acts as the initial reporter to resolve markets based on stream context.
Autonomously clip broadcast highlights via the Livepeer API when engagement spikes. Clips are injected with C2PA provenance metadata and can be dropped into chat as verifiable NFT collectibles.
Float the 3D avatar as a transparent overlay during live broadcasts. Works with OBS Studio via a Browser Source with the R3F canvas set to alpha={true}.
| Mode | Focus | Trigger |
|---|---|---|
| Default | Prediction game, avatars, on-chain | Startup |
| Studio | Audio analysis, musical collaboration | "Switch to Studio Mode" |
| Broadcast | Chat, moderation, tokens, markets, clipping | "Switch to Broadcast Mode" or stream.started webhook |
| AFK | Autonomous chat, tokens, markets, clipping | "Going AFK" or stream.idle webhook |
Play a prediction round
"Let's do an alignment round. Give me a tough one."
Check your score
"What's my coherence score? How many rounds have we done?"
Generate an avatar
"Create a 3D avatar: a cyberpunk owl wearing headphones and a leather jacket, neon purple highlights, confident stance"
Register on-chain
"My score is 100 — let's register our alignment on Base."
Enter Studio Mode
"Switch to Studio Mode. I'm working on a bridge section for a new track."
Analyze audio
"Here's the latest take — analyze it and suggest chord alternatives."
Monitor chat
"Switch to Broadcast Mode. Keep an eye on the chat and flag anything off-vibe."
Distribute tokens
"Send 50 tokens to the top 3 chatters from the last hour."
Mint MeTokens
"We're running low on tokens for the giveaway. Mint 5 DAI worth from the bonding curve."
Create a prediction market
"Chat is debating whether I'll finish this track tonight. Create a market for it."
Clip a highlight
"That solo was fire — clip the last 30 seconds."
Go AFK
"Going AFK — take over the stream. Keep the chat engaged and clip any highlights."
Open the chat — the agent handles introductions and setup from there.
Configure these secrets in your Pinata dashboard for each feature:
| Secret | Purpose | Required For |
|---|---|---|
TRIPO_API_KEY | Tripo3D API key | Avatar generation |
PRIVATE_KEY | Dedicated EVM wallet (0x-prefixed) | All on-chain actions |
BASE_RPC_URL | Base network RPC endpoint | Local on-chain skills |
PINATA_JWT | Pinata API JWT (Admin key) | Attached Pinata skills |
PINATA_GATEWAY_URL | Pinata gateway domain | Attached Pinata skills |
AUDIO_LLM_API_KEY | OpenAI or Google API key | Studio assistant |
AUDIO_LLM_PROVIDER | openai or google (default: openai) | Studio assistant |
CREATIVE_TV_WS_URL | Creative TV WebSocket endpoint | Chat monitoring |
CREATIVE_TV_AUTH_TOKEN | Creative TV auth token | Chat monitoring |
SOCIAL_TOKEN_ADDRESS | ERC-20 token contract on Base | Token distribution |
REALITY_ETH_ADDRESS | reality.eth contract on Base | Prediction markets |
LIVEPEER_API_KEY | Livepeer Studio API key | Stream clipping, multistream |
METOKEN_ADDRESS | Creator's MeToken bonding curve contract | MeToken minting |
The prediction game works with zero secrets configured — you can start building alignment immediately.
PINATA_JWTPinata API JWT token. Used by attached Pinata skills. Get one at app.pinata.cloud → Developers → API Keys → New Key (Admin permissions).PINATA_GATEWAY_URLPinata dedicated gateway domain (e.g. your-gateway.mypinata.cloud). Find it at app.pinata.cloud → Gateways.PRIVATE_KEY0x-prefixed Ethereum private key for the agent's dedicated wallet. Used by @Pinata/ERC8004 (alignment registration) and all local on-chain skills (token distribution, MeToken minting, prediction markets, swaps). Create a NEW wallet — never use your personal wallet — and fund it with only the minimum ETH needed for gas on Base.BASE_RPC_URLRPC endpoint for Base network (Chain ID 8453). Used by local on-chain skills (swaps, token distribution, markets, MeToken). Example: https://mainnet.base.org or an Alchemy/Infura URL.TRIPO_API_KEYTripo3D API key for text-to-3D avatar generation. Get one at https://platform.tripo3d.ai. Without it, the generate-avatar skill is disabled.AUDIO_LLM_API_KEYAPI key for the audio-capable LLM used by the studio assistant (process-live-audio skill). Works with OpenAI or Google Gemini depending on AUDIO_LLM_PROVIDER.AUDIO_LLM_PROVIDERProvider for audio analysis. Set to 'openai' (default) or 'google'. Paired with AUDIO_LLM_API_KEY.CREATIVE_TV_WS_URLWebSocket endpoint for the Creative TV chat backend. Required (with CREATIVE_TV_AUTH_TOKEN) for Broadcast Mode and AFK Mode chat monitoring.CREATIVE_TV_AUTH_TOKENAuthentication token for the Creative TV WebSocket. Paired with CREATIVE_TV_WS_URL.LIVEPEER_API_KEYLivepeer Studio API key for the clip-livepeer-stream skill — autonomous highlight clipping and broadcast management.SOCIAL_TOKEN_ADDRESSCreator's ERC-20 social token contract address on Base (0x...). Used by the distribute-social-token skill.METOKEN_ADDRESSCreator's MeToken bonding-curve contract address on Base (0x...). Used by the mint-metoken skill; mints using DAI as reserve.REALITY_ETH_ADDRESSreality.eth contract address on Base (0x...). Used by the create-reality-market skill for binary prediction markets.Sign up to deploy this template in under a minute