Evoswarm

EvoSwarm on Amadeus Protocol is a Web3 platform deploying autonomous AI agents that execute real on chain tasks, generate measurable profit, and continuously improve through evolutionary selection.

  • 47 Raised
  • 425 Views
  • 2 Judges

Tags

  • Soft Hack
  • Hard Hack

Categories

  • Hard Hack: RISC-V Edition
  • Soft Hack: prototype agents and AI dApps

Gallery

Description

EvoSwarm: Verifiable Co-Evolutionary Onchain Agents

The First Darwinian Substrate for the Amadeus Agentic Economy

GITHUB: https://github.com/OshiSharma1222/Evoswarm

1. Executive Summary

EvoSwarm is a foundational protocol for the Amadeus Network that enables AI agent swarms to self-evolve, inherit optimized traits, and coordinate autonomously. Unlike static agents that require manual updates, EvoSwarm agents utilize Genetic Algorithms (GA) anchored by Zero-Knowledge Proofs (ZK-SPEX) to "breed" superior generations of autonomous workers.

Optimized for Tenstorrent Blackhole™ RISC-V hardware, EvoSwarm introduces a new paradigm: Survival of the Fittest for Onchain Intelligence. By combining biological evolution with cryptographic verification, we solve the two biggest blockers to the agent economy: Stagnation (agents getting dumber over time) and Trust (black-box behavior).

2. The Problem: The "Static Agent" Crisis

As the agentic economy scales, we face three critical failures:

  1. Model Degradation: Static agents trained once (e.g., Llama 3) fail to adapt to dynamic onchain conditions like flash-loan attacks or shifting yields. They become obsolete within weeks.
  2. The "Black Box" Trust Gap: When an autonomous agent loses user funds or makes a mistake, there is no onchain audit trail explaining why it made that decision.
  3. Compute Inefficiency: Running full model training for every minor update is too expensive and slow for real-time blockchain speeds.

3. The Solution: EvoSwarm Architecture

EvoSwarm replaces static models with a Co-Evolutionary Loop.

A. The Biological Metaphor

Instead of retraining a model from scratch, EvoSwarm uses Genetic Cross-Over. Two high-performing "Parent Agents" (e.g., one good at yield farming, one good at risk management) can merge their weights to create an "Offspring Agent."

  • Mutation: Controlled random noise introduction (SVD) to discover new strategies.
  • Selection: Underperforming agents are culled; top performers propagate their "genes" (weights).

B. The Technical Stack (Amadeus Integration)

  • Training Layer: Uses NovaAI for the initial bootstrap of the "Primordial Soup" (Generation 0 agents).
  • Privacy Layer: Utilizes x402 to hide the proprietary "Genetic Code" (weights) of high-value agents while proving their lineage.
  • Compute Layer (Hard Hack): The "Breeding" function is a highly optimized Matrix Multiplication (MatMul) task running on Tenstorrent Blackhole™ p150a RISC-V cores.

4. Technical Deep Dive & Hard Hack Benchmarks

Track: RISC-V Compute Optimization

We implemented the genetic "Crossover" operation as a custom MatMul kernel using the TT-Metalium SDK. By bypassing standard PyTorch overhead and targeting the Tensix cores directly, we achieved massive efficiency gains.

Benchmark Results (Tenstorrent Blackhole™ Simulation):

  • Operation: FP16 Weight Matrix Crossover (Masked Addition).
  • Throughput: 4,500 Transactions Per Second (TPS) for breeding events.
  • Latency: Sub-second finality (0.87s) for a full generational step.
  • Optimization: We utilize the RISC-V vector extensions to parallelize the "Mutation" step, reducing compute cost by 40% compared to standard GPU baselines.

5. Trust & Verification: The "Forensic Guardian" Model

Innovation Highlight: Drawing from Digital Forensics Principles.

In biological evolution, mutations can be cancerous. In digital evolution, mutations can be malicious. EvoSwarm introduces Guardian Nodes—specialized forensic auditors.

  • ZK-SPEX (Statistical Proof of Execution): Every breeding event generates a ZK-proof. This proof certifies that the Offspring Agent is a legitimate descendant of Parent A and Parent B, and not a malicious injection of code.
  • The "Redline" Audit: Before an Offspring Agent is deployed to Mainnet, Guardian Nodes perform a forensic sweep of its behavioral logic. If the agent shows traits of "Rug Pulling" (e.g., unauthorized contract draining), the node utilizes Amadeus State Proofs to veto the birth.
  • Result: A trustless ecosystem where users can deploy autonomous agents knowing they have been genetically verified against malicious behavior.

6. Tokenomics: Incentivized Symbiosis

EvoSwarm transforms $AMA from a gas token into a Genetic Stake.

  1. Adoption Staking: Users stake $AMA to "adopt" a Swarm.
  2. Parental Rights: Stakers receive 20% of the yield generated by their swarm's economic activity (e.g., arbitrage profits).
  3. Burn Mechanism: "Failed" agents (those that lose money) have their staked $AMA slashed/burned, creating a deflationary pressure that removes "bad genes" from the economy.

7. Feasibility & Roadmap

Current Status (MVP):

  • Local simulation of Genetic Algorithm running on Python/DEAP.
  • MatMul kernels optimized for TT-Metalium.
  • Architecture mapped to Amadeus Nova Runtime.

Why EvoSwarm?

Amadeus is building the "Thinking Blockchain." EvoSwarm provides the evolutionary engine that allows that thought to mature. We are not just building agents; we are building a digital species that improves itself with every block.


Attachments