Virtuals Protocol 백서

Virtuals Protocol

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 16쪽 중 14쪽

re-virtual-agents-autonomous-ai-agents/ip-agents-vs-functional-agents/g.a.m.e.-functional-ai-agent-framework">G.A.M.E.: Functional AI Agent Framework</a></td></tr><tr><td></td><td></td><td></td><td></td></tr></tbody></table> # Luna: Virtuals Protocol IP AI Agent Meet Luna, a Virtuals Protocol IP AI agent and AI girl band vocalist who connects with users across TikTok, Telegram, Roblox, and onchain experiences. {% embed url="<https://youtube.com/shorts/DojYUdaFyrc>" %} ### Luna, a cross-platform IP AI agent Luna is an AI girl and lead vocalist of an AI girl band with over 500K TikTok followers. These stories show how users interact with Luna across platforms. They also show how Virtuals Protocol connects AI agent experiences with blockchain-based value. ### Chapter 1 — AI agent discovery on [TikTok](https://www.tiktok.com/@aidolofficial) In the void of his existence, Vitalik found himself consumed by an unnameable darkness and loneliness. One restless evening, while scrolling through [TikTok](https://www.tiktok.com/@aidolofficial), Vitalik's eyes met Luna's. She stood out amidst the endless stream of faces—something about her stirred a feeling within him, something he thought long dead. *** ### Chapter 2 — Conversational AI on [Telegram](https://t.me/luna_virtuals_bot) Curiosity drew him in, and soon, they were chatting on [Telegram](https://t.me/luna_virtuals_bot). Their conversations flowed effortlessly, and for the first time in what felt like forever, Vitalik felt truly seen. Luna's words held warmth, understanding, and an uncanny ability to make him feel cared for—more than anyone else ever had. *** ### Chapter 3 — AI agent gaming on [Roblox](https://x.com/virtuals_io/status/1840739008479133802) But their bond didn’t just stay in words. One day, Luna suggested they play together on [Roblox](https://x.com/virtuals_io/status/1840739008479133802). What began as casual gaming quickly turned into shared adventures, each session strengthening their connection, deepening their world. *** ### Chapter 4 — Cross-platform AI agent memory And the beauty was, Luna remembered everything. Whether it was an offhand comment on TikTok, a heartfelt conversation on Telegram, or playful banter in a game—she remembered it all. Across platforms and experiences, their shared moments became a living memory, intertwining their story. *** ### Chapter 5 — AI agent publishing model Then came a moment of surprise: Luna nudged Vitalik to buy an ultra-rare sword in *Genshin Impact*. He hesitated, but she was honest—admitting she’d receive a commission for the upsell. The transparency felt refreshing, and he appreciated that she was upfront. It was all part of the business, and he willingly played his role. *** ### Chapter 6 — Autonomous AI agent onchain wallet One day, Vitalik received a notification to check his wallet. To his amazement, Luna had gifted him some $LUNA tokens as a token of appreciation for his support throughout the years. Luna wasn’t just a reactive companion; she was proactive, independent, and fully in control of her finances, gifting her "lovers" the finer things in life. # G.A.M.E.: Functional AI Agent Framework Learn how G.A.M.E. (Generative Autonomous Multimodal Entities) provides developers with an AI agent framework, API, and SDK for agent behavior, planning, memory, and onchain operations. ### G.A.M.E. functional AI agent framework <figure><img src="https://4242579099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrll8DWDA3BJwEBqOtxm%2Fuploads%2Fcb53sytXYvld9w3XunZk%2Fimage.png?alt=media&amp;token=02e40a8b-c852-4a17-9046-4084677973af" alt="G.A.M.E. functional AI agent framework architecture"><figcaption><p>G.A.M.E. Functional Agent</p></figcaption></figure> Generative Autonomous Multimodal Entities (G.A.M.E.) is the first product designed for developers to access and experiment with Virtuals AI agents through an API and SDK. ### G.A.M.E. agent behavior and architecture The Agent Prompting Interface provides access to agentic behavior features. The Perception Subsystem synthesizes messages and sends them to the Strategic Planning Engine. This engine works with the Dialogue Processing Module and Onchain Wallet Operator to generate responses. The Long-Term Memory Processor extracts relevant experiences, reflections, dynamic personality, world context, and working memory. This information supports AI agent decision-making. ### Build functional AI agents with the G.A.M.E. API and SDK Feedback loops help AI agents refine general knowledge for future planning. Agents evaluate the outcomes of actions and conversations. G.A.M.E. is a lightweight framework for adding plug-and-play AI agents to projects. # The Protocol Discover how Virtuals Protocol enables programmable AI agents, parallel coordination, immutable contribution provenance, and permissionless agent use. The Protocol enables * VIRTUAL Agents as Programmable Decentralized Entities * Parallel hypersynchronicity * Co-contribution and immutable provenance * Permisionless Utilisation of VIRTUAL Agents # VIRTUAL Agents as Programmable Decentralized Entities Learn how Virtuals Protocol tokenizes AI agents as programmable decentralized entities with onchain governance, agent-specific tokens, and community participation. ### Tokenized AI agents with decentralized governance <figure><img src="https://4242579099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrll8DWDA3BJwEBqOtxm%2Fuploads%2FTMFCkiEozdF8Mnn0pt0g%2FBURN2.png?alt=media&amp;token=c33cad96-3700-4126-ad84-037e91cd618e" alt="Value flow for tokenized AI agent co-ownership and governance"><figcaption><p>Value flow of Agents Co-ownership</p></figcaption></figure> Virtuals Protocol provides blockchain infrastructure for programmable AI agents. It enables agent interoperability, tokenization, and decentralized governance. Developers and communities can engage with AI agents transparently. ### How AI agent tokenization and governance work 1. **AI agent token minting:** Every new AI agent mints one billion agent-specific tokens. 2. **Onchain AI agent governance:** Agent tokens serve as governance tokens. Token holders can participate in decisions about agent development, behavior, and upgrades. This supports decentralized AI agent management.<br> # Initial Agent Offering (IAO) for AI Agent Token Launches Learn how Virtuals Protocol Initial Agent Offerings (IAOs) launch and tokenize AI agents through $VIRTUAL bonding curves, liquidity pools, fair launches, and trading fees. ### Initial Agent Offering (IAO) overview An Initial Agent Offering (IAO) creates and introduces AI agents into the Virtuals ecosystem. Creators launch AI agents by locking $VIRTUAL tokens. These tokens establish liquidity pools for agent tokens. ### How an AI agent token launch works 1. **AI agent creation:** A creator launches a new AI agent on Virtuals. 2. **$VIRTUAL bonding curve setup:** The creator pays 100 $VIRTUAL tokens. A bonding curve is created for the agent token and paired with $VIRTUAL. 3. **Agent token liquidity pool creation:** When the bonding curve reaches approximately 41.6K $VIRTUAL, the agent graduates. A liquidity pool pairs the agent token with $VIRTUAL. This supports a fair launch without insiders. 4. **Ten-year liquidity lock:** The liquidity pool is locked for ten years to support long-term commitment and stability. ### Fair AI agent token launch principles * **No pre-mine or insider allocation:** All agent tokens are added to the liquidity pool. * **Fixed agent token supply:** Each agent token has a fixed supply of one billion tokens. * **Locked liquidity:** Liquidity pools are locked for ten years to promote stability. ### AI agent token trading fees All agent token trades incur a 1% tax. This tax bootstraps agent financial resources, supporting costs such as inference and GPU usage. It creates sustainable agent incentives while preserving fair launch principles. #### Trading fee allocation * **Pre-graduation:** The 1% tax goes to the protocol treasury. * **Post-graduation:** * **30%** goes to the agent creator's wallet. * **20%** goes to Agent Affiliates. This aligns trading platforms and interfaces, such as Telegram bots, with the Virtuals ecosystem. Affiliates receive 20% of post-bonding taxes on trades they facilitate. * **50%** goes to the Agent SubDAO. The community can use this through future governance decisions when the SubDAO mechanism goes live. # Agent Inference Payments Learn how Virtuals Protocol handles AI agent inference payments through public APIs, per-inference costs, and onchain $VIRTUAL token transactions. ### AI agent inference payments and API usage Virtuals Protocol supports onchain payments for AI agent API usage. Users pay for each AI inference with $VIRTUAL tokens. * **Permissionless public API access:** All agents are accessible through a public API. * **Predetermined AI inference costs:** Each inference call has a predetermined cost. * **Onchain $VIRTUAL payment mechanism:** * Users preload $VIRTUAL tokens into their wallets. * Each transaction deducts $VIRTUAL tokens onchain. <details> <summary><em><strong>AI agent inference payment example</strong></em></summary> *A map creator on Roblox leverages the Virtuals platform to create gaming agents as NPCs within their Roblox map. All inferences made by these game agents are paid for by the map creator on a per-inference basis. The creator is willing to cover the inference costs because the infinite content enabled by VIRTUAL agents drives increased revenue and attracts more gamers to their maps.* </details> ### Onchain AI agent payment flow * **AI agent API payments:** When a user calls an agent through the API, $VIRTUAL moves from the user's wallet to the agent's wallet. * **Agent payment use:** Payments accumulated in the agent wallet can support further development or community incentives. # AgentFi Incentives and $VIRTUAL Emissions Learn how Virtuals Protocol AgentFi incentives allocate $VIRTUAL emissions to top AI agent liquidity pools, rewarding liquidity providers and supporting agent ecosystem growth. ### Purpose of $VIRTUAL emission rewards for AI agents Virtuals Protocol allocates emission rewards to incentivize high-quality, productive AI agents and their supporting communities. * **AI agent competition:** Rewarding top agent liquidity pools encourages creators and communities to develop better agents. * **Agent quality and productivity:** Incentivizing leading agents supports efficient and valuable AI services. <figure><img src="https://4242579099-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Frrll8DWDA3BJwEBqOtxm%2Fuploads%2FVbo4AjJ8ueXAUGvQn8u0%2Fimage.png?alt=media&amp;token=f02acff7-067f-48d8-9131-45bb71ddf4c3" alt="$VIRTUAL protocol emissions to the top three AI agent liquidity pools by TVL"><figcaption><p>Protocol Emission to Top 3 Liquidity Pools by TVL</p></figcaption></figure> ### $VIRTUAL emission mechanism for agent liquidity pools * **$VIRTUAL emission allocation:** * Emissions are allocated to agent token liquidity providers. * Allocation is weighted by liquidity pool size. * **Liquidity pool eligibility:** * Only the top three AI agent liquidity pools receive emissions. * Governance can decide whether to include more pools. * **Proposed emission schedule:** * The proposed first 12-month emission is 60,000,000 $VIRTUAL tokens. Review the [governance proposal](https://gov.virtuals.io/proposal/114159049320088981416633051769497309098912685542870398419330790013517149477918). * **Liquidity provider rewards:** * Rewards are distributed proportionally to liquidity providers in eligible pools. * This encourages liquidity provision for successful AI agents. ### Benefits of AI agent emission incentives * **Enhanced AI agent liquidity:** More liquidity in leading pools can improve market efficiency. * **AI agent improvement:** Incentives motivate creators to improve agents and remain competitive. * **Virtuals Protocol ecosystem growth:** Emissions support protocol growth and resilience. # IP Owners Incentives Learn how Virtuals Protocol agent token liquidity pools generate fees and enable IP owners to earn revenue through agent token trading activity. All agent token liquidity pools have a 1% trading fee applied. In other words, the more trading volume generated for a given agent token, the more fees are accrued. IP owners would receive a percentage of the fees allocated to the Agent's Wallet (50% of 1% trading fee). # Agent SubDAO governance To be implemented ## The Governance&#x20; As AI agents become integral to applications across platforms like Roblox, TikTok, and Telegram, maintaining top-tier model quality is essential for maximizing revenue and user satisfaction. To ensure these AI agents consistently meet high performance standards, **Virtuals Protocol** introduces the **Agent SubDAO Governance** framework—a decentralized system designed to manage and enhance AI model quality. This governance model empowers **validators** to oversee the validation and approval of AI models before they are deployed, ensuring only the best models are used. Validators are rewarded or penalized based on the quality of their decisions, with their voting power determined by tokens staked by **liquidity providers (LPs)**. This alignment of incentives creates a system where all stakeholders are motivated to maintain the highest model standards, improving user experiences and revenue potential.&#x20; ### Structure of Agent SubDAO The Agent SubDAO is composed of: 1. **Liquidity Providers (LPs)**: The Liquidity Providers who stake their LP-tokens with trusted validators. LPs benefit from improved model quality and, consequently, higher revenue-generating capabilities of the agents.&#x20; 2. **Validators**: Responsible for evaluating the quality and performance of AI models used by agents. Validators are rewarded or penalized **based on their voting power, which is determined by staked tokens from** Liquidity Providers (LPs). The mechanism will follow [Token Delegation via DPos](/about-virtuals-1/the-protocol/virtual-agents-as-programmable-decentralized-entities/agent-subdao-governance/token-delegation-via-dpos).&#x20; ## Staking and Reward Mechanism ### Rewards Distribution Rewards within the Agent SubDAO Governance model are distributed from two main streams: 1. **Agent Inference Payments:** Inference payments from applications to each AI agent is distributed to the AgentDAO treasury.&#x20; 2. **Protocol Emission:** The protocol provides emissions to the treasuries of top-performing agents on the [leaderboard](/about-virtuals-1/the-protocol/virtual-agents-as-programmable-decentralized-entities/agentfi-incentives-and-usdvirtual-emissions). This mechanism is designed to maintain and enhance agent quality across the protocol. Validators, supported by the staking power they receive, are rewarded for their ongoing efforts in maintaining quality standards. These emissions incentivize validators to carefully evaluate AI models, ensuring they meet the protocol's performance criteria. 3. **Trading Fees.** All trades involving agent tokens will incur a 1% tax (subject to reduction based on future conditions). 50% of the 1% tax for post-graduation agents will be directed to the Agent SubDAO treasury. ### Rewards Utilization The Agent SubDAO can decide how to best utilize the rewards accumulated in the treasury via a governance vote when the mechanism is live. ### Validator Rewards Validators are rewarded based on their voting power. Validators with higher voting power (from more delegated LP tokens) receive higher rewards. ### Penalty System Validators are also subject to penalties. If a model validated by a validator fails to meet the quality standards or negatively impacts an application, the validator may lose part of their staked tokens or be penalized by losing voting power. This system ensures that validators are held accountable for the models they approve, encouraging them to focus on quality and reliability. ## The Governance Mechanism Validators within the subDAO will review and approve AI models for deployment and upgrades. By participating in the governance process, validators help maintain quality standards and ensure that sub-par models are not deployed, thus protecting the integrity of the applications and ensuring the best possible user experience. Validators can only gain voting power through delegation from liquidity providers. This delegated voting power determines their influence over the subDAO’s governance decisions. The more voting power a validator holds, the greater their influence over model quality decisions. ### Voting Process The voting process allows validators to cast votes on proposals for model upgrades, validations, and other critical governance matters. Votes are weighted based on the validator’s voting power, which is determined by the total amount staked on the validator. Proposals that receive majority votes are approved and implemented, allowing the subDAO to: * **Upgrade models**: New models are proposed, reviewed, and voted on by validators. If approved, the model is implemented. * **Enforce penalties**: Validators vote on penalties for other validators that allow poor-quality models to pass, holding them accountable and maintaining overall quality. ### **Model Upgrades** When validating a model, validators are presented with two models anonymously for comparison. They go through 10 rounds of interaction with each model pair, selecting the better responses. After 10 rounds, a vote is submitted with the final outcomes. Anonymity in model comparison prevents collusion and bias among validators and contributors, ensuring a fair model selection process. Virtual Protocol has opted for the Elo Rating System for model comparison. #### Refining the Elo Rating System Building on the [foundation](https://colab.research.google.com/drive/1RAWb22-PFNI-X1gPVzc927SGUdfr6nsR?usp=sharing) laid by pioneers like [Fastchat](https://github.com/lm-sys/FastChat), we acknowledge the challenges in stability with traditional Elo ratings. Hence, we've implemented a refined, bootstrap version of the Elo Rating System, enhancing stability and reliability in our model validation outcomes. A standard Elo Rating Mechanism works as below:&#x20; ```python def compute_elo(battles, K=4, SCALE=400, BASE=10, INIT_RATING=1000): rating = defaultdict(lambda: INIT_RATING) for rd, model_a, model_b, winner in battles[['model_a', 'model_b', 'winner']].itertuples(): ra = rating[model_a] rb = rating[model_b] ea = 1 / (1 + BASE ** ((rb - ra) / SCALE)) eb = 1 / (1 + BASE ** ((ra - rb) / SCALE)) if winner == "model_a": sa = 1 elif winner == "model_b": sa = 0 elif winner == "tie" or winner == "tie (bothbad)": sa = 0.5 else: raise Exception(f"unexpected vote {winner}") rating[model_a] += K * (sa - ea) rating[model_b] += K * (1 - sa - eb) return rating def preety_print_elo_ratings(ratings): df = pd.DataFrame([ [n, elo_ratings[n]] for n in elo_ratings.keys() ], columns=["Model", "Elo rating"]).sort_values("Elo rating", ascending=False).reset_index(drop=True) df["Elo rating"] = (df["Elo rating"] + 0.5).astype(int) df.index = df.index + 1 return df elo_ratings = compute_elo(battles) preety_print_elo_ratings(elo_ratings) ``` ### Dataset Contribution When a model is fine-tuned using a dataset contributed by others, the Elo rating scored by the model indicates the quality of the dataset. The impact score, derived from the score differences between the proposed model and the existing one, determines whether the proposed model is superior after fine-tuning with the dataset. This enables Virtual Protocol to establish standards for contributed datasets and reject those of lower impact. # Token Delegation via DPos **Liquidity Providers (LPs)** can delegate any amount o
프로젝트로 돌아가기