TANDAVA
An autonomous AI portfolio guardian that anticipates market risk using Fourier spectral diffusion and writes its decisions on-chain via X Layer.
Videos
Description
TANDAVA is a proactive, autonomous AI guardian built for the OKX.AI Agent Marketplace. It doesn't wait for you to ask; it watches.
Under the hood, TANDAVA uses the Panchakritya Swarm—a team of 5 specialized AI agents working in a continuous asynchronous loop (the Damaru engine). It extracts your wallet holdings across EVM chains, calculates a holistic health score (0–108), and uses Fourier spectral decomposition to forecast price volatility.
If risk crosses a critical threshold, the autonomous Telegram bot immediately alerts you with actionable trimming advice. Crucially, every final decision made by the AI is cryptographically signed and published as a .fr (Financial Record) on X Layer, ensuring the AI's track record is 100% immutable and verifiable.
Key Features
Autonomous Telegram Guardian: A non-blocking, asynchronous bot that pushes alerts to you the instant risk rises—no prompting required.
Panchakritya AI Swarm: 5 specialized agents (Data gathering, On-chain proof, Risk weighting, Anomaly detection, and Final synthesis).
Srishti: Extracts and gathers cross-chain wallet data.
Tirobhava: Proves asset ownership using on-chain transaction history.
Sthiti: Weighs risk (concentration, volatility, liquidity).
Trinetra: Opens its "third eye" to hunt for anomalies and pool manipulation.
Samhara: Synthesizes the final decision and trims toxic positions.
Fourier Diffusion Forecasting: Analyzes price action in the frequency domain to predict widening volatility bands.
On-chain Attestation (X Layer): Every risk report is ECDSA-signed by the backend and verifiable against a deployed Solidity contract on X Layer.
x402 Payment Gateway: Native OKX Payment SDK integration that gates the A2MCP endpoints, successfully charging 0.01 USDT per use on the OKX.AI marketplace.
Tech Stack
AI / Agent Logic: Python (FastAPI), LangChain
Blockchain: Solidity, Web3.py, X Layer (Testnet), OKX Web3 APIs
Frontend / UI: React, Vite, CSS (VT323 Pixel Theme)
Deployment: Render (Backend), Vercel (Frontend)
Smart Contract (X Layer Testnet)
0x7849a95B2d7C68B90e654eaf365da600e5A82Dd2
Links
GitHub Repo: https://github.com/suyash242004/TANDAVA
OKX.AI Agent ID: 9540
Live Frontend: https://tandava-seven.vercel.app/
Progress During Hackathon
<ul><li><p><strong>AI Logic:</strong> Built a 5-agent AI swarm using LangChain to actively monitor crypto wallets.</p></li><li><p><strong>Risk Model:</strong> Developed a custom mathematical model (Fourier diffusion) to predict portfolio risks.</p></li><li><p><strong>Web3 Payments:</strong> Integrated the OKX x402 Payment SDK to securely charge 0.01 USDT per analysis.</p></li><li><p><strong>On-Chain Proof:</strong> Deployed a smart contract on X Layer testnet to record all AI decisions permanently on the blockchain.</p></li><li><p><strong>Live Launch:</strong> Passed the official review and launched live on the <a href="http://OKX.AI">OKX.AI</a> marketplace, generating real paid traffic!</p></li></ul><p><br></p>
Tech Stack
Fundraising Status
<p><span style="color: rgb(204, 204, 204)"><mark data-color="oklch(0.553 0.013 58.071)" style="background-color: oklch(0.553 0.013 58.071); color: inherit">Bootstrapped</mark></span></p>