BrandX

Note: For Detailed Technical Docs and Demo Instructions, visit README.md

PS: We interviewed a bunch of people in Church Street - Bangalore to see if people actually want something like BrandX, see the results here

Inspiration

Traditional loyalty programs are fundamentally broken. They're repetitive, fail to build genuine brand interest, require constant community management, and have extremely tedious Web3 onboarding processes that exclude non-technical users. Most importantly, they don't actually grow loyalty or brands in any meaningful way.

We saw these problems and envisioned something revolutionary: BrandX - a platform where businesses could literally onboard anyone with simple Google sign-in, while AI agents search the entire internet to identify both the pros and cons of specific brands. This creates a complete paradigm shift where brands can actually grow WITHOUT a campaign manager/team, reducing more than 20,000 hours/year for brand analysis and growth.

What it does

BrandX is a comprehensive brand growth platform that combines AI-powered analysis with blockchain-based loyalty programs:

For Businesses:

  • AI-Powered Brand Analysis: A cluster of 8 AI agents searches the entire internet (reviews, Reddit, social media, news) to build a comprehensive Knowledge Graph of brand sentiment
  • Automated Bounty Generation: AI generates personalized, actionable bounties based on brand weaknesses identified through analysis
  • ENS Domain Integration: Businesses migrate their existing domains to ENS for authentic brand verification and anti-counterfeiting
  • Smart Contract Deployment: Each business gets a dedicated smart contract on Kadena for transparent, tamper-proof loyalty program management
  • Real-time Metrics: 20+ comprehensive metrics including sentiment scores, market leadership perception, and brand health indicators

For Customers:

  • Seamless Onboarding: Google sign-in eliminates complex Web3 setup barriers
  • ENS Subdomain Identity: Each member gets a unique ENS subdomain (e.g., sarah.apple.eth) as their portable identity
  • AI-Verified Rewards: Submit proof of bounty completion, get AI verification, and receive on-chain rewards
  • Cross-Platform Identity: ENS subdomains work across any ENS-compatible application

Core Value Propositions:

  • Trust & Transparency: On-chain contracts ensure promised rewards are delivered
  • Objective-Driven Growth: Bounties target actual customer sentiment, not arbitrary metrics
  • Scalable Infrastructure: Kadena's Chainweb architecture handles thousands of businesses simultaneously
  • Real Asset Tokenization: NFT vouchers for Web2 rewards + ERC20 tokens for Web3 rewards

How we built it

AI Agent Architecture

  • 8 Specialized Agents built on the uagents framework, registered on Agentverse
  • Orchestrator: Central coordinator managing the entire brand research workflow
  • Data Collection Agents: Web Search, Positive/Negative Reviews, Reddit, and Social Media agents
  • Analysis Agents: Metrics Generator and Bounty Generation agents with A2A communication
  • Verification Agent: OpenAI GPT-4o Vision for image analysis and bounty verification

MCP Server Infrastructure

  • 3 MCP Servers for data collection:
    • Reddit MCP Server (Exa API integration)
    • Reviews MCP Server (Multi-platform review scraping)
    • Socials MCP Server (Instagram comment analysis via Apify)

Blockchain Integration

  • ENS Offchain Resolver: Custom resolver deployed at 0x5824Ef215aC14955fD93e0C1E039596FDdb0514D on Ethereum Sepolia
  • CCIP-Read Gateway: Hosted gateway for cross-chain data resolution
  • Kadena Smart Contracts: BrandXFactory contract deploying individual business contracts
  • NFT & Token System: ERC721 vouchers for Web2 rewards + ERC20 transfers for Web3 rewards

Frontend Architecture

  • Next.js Application: React-based frontend with TypeScript
  • Privy Integration: Web3 authentication with Google sign-in
  • Viem Integration: Ethereum transaction handling
  • Real-time Updates: Live contract data and member management

Knowledge Graph

  • MeTTa Integration: Centralized data storage for brand analysis
  • Structured Data Hub: Unified repository for reviews, social sentiment, and metrics
  • Continuous Learning: Knowledge Graph updates with new brand data

Challenges we ran into

Technical Challenges

  • ENS Complexity: Implementing DNS-to-ENS migration required deep understanding of ENS registry mechanics and resolver architecture
  • Cross-Chain Data Resolution: Building the CCIP-Read gateway to resolve ENS subdomains with Kadena loyalty data was technically complex
  • AI Agent Coordination: Managing 8 different agents with different data sources and ensuring proper A2A communication
  • Kadena Integration: Working with Kadena's unique Chainweb architecture required learning their specific contract patterns
  • Real-time Verification: Implementing AI-powered image verification for bounty completion

Performance Challenges

  • AI Analysis Timing: 15-minute analysis time required for thorough internet-wide brand research
  • Contract Write Delays: Kadena contract writes taking 1-2 minutes each (temporary issue they're addressing)
  • Scalability Concerns: Ensuring the system can handle thousands of businesses simultaneously

User Experience Challenges

  • Web3 Onboarding: Making complex blockchain operations feel like simple Web2 interactions
  • Demo Complexity: Had to disable ENS features for easier judge testing while maintaining core functionality
  • Cross-Platform Identity: Ensuring ENS subdomains work seamlessly across different applications

Accomplishments that we're proud of

Technical Achievements

  • Complete AI Agent Ecosystem: Successfully built and deployed 8 specialized AI agents with seamless coordination
  • Cross-Chain Identity Resolution: Created a working ENS resolver that bridges Ethereum and Kadena ecosystems
  • Real Asset Tokenization: Implemented both NFT vouchers and ERC20 token transfers for comprehensive reward systems
  • Scalable Smart Contract Architecture: Deployed factory pattern allowing unlimited business onboarding

Innovation Achievements

  • First-of-its-Kind Brand Analysis: Created the first platform that uses AI to analyze entire internet for brand sentiment
  • ENS Anti-Counterfeiting: Implemented DNS-to-ENS migration for authentic brand verification
  • Predictive Bounty Generation: AI generates bounties with predictive analysis on metric improvements
  • Seamless Web3 Onboarding: Achieved Web2-level UX with Web3 benefits through Privy integration

Business Impact

  • 20,000+ Hours Saved: Eliminated need for campaign managers and brand analysis teams
  • Objective-Driven Growth: Shifted focus from arbitrary metrics to actual customer sentiment
  • Transparent Loyalty Programs: On-chain contracts ensure trust between brands and customers
  • Cross-Platform Interoperability: ENS subdomains work across any ENS-compatible application

What we learned

Technical Learnings

  • ENS is Powerful but Complex: While ENS provides incredible identity solutions, implementing DNS migration and custom resolvers requires deep blockchain knowledge
  • Kadena's Chainweb is Perfect for This Use Case: The braided multi-chain architecture is ideal for high-frequency loyalty program interactions
  • AI Agent Coordination is Challenging: Managing multiple agents with different data sources requires careful orchestration and error handling
  • Cross-Chain Data Resolution is Complex: Building bridges between different blockchain ecosystems requires sophisticated resolver architecture

Product Learnings

  • User Experience is Critical: Even complex Web3 operations need to feel simple and familiar
  • Demo Preparation is Essential: Judges need clear instructions and realistic timing expectations
  • Real Brands Work Better: Using actual popular brands (like Apple) generates much better AI analysis results
  • One Bounty is Enough: For demos, selecting just one bounty speeds up contract deployment significantly

Business Learnings

  • Trust is Everything: On-chain transparency builds fundamental trust between brands and customers
  • AI Analysis Takes Time: Thorough internet-wide analysis requires patience but delivers superior insights
  • Scalability Matters: Architecture must handle growth from day one
  • Real Asset Tokenization is Valuable: Both NFT vouchers and token transfers provide comprehensive reward options

What's next for BrandX

Short-term Goals (Next 3-6 months)

  • Performance Optimization: Reduce AI analysis time from 15 minutes to under 10 minutes
  • Kadena Integration Improvements: Work with Kadena team to resolve contract write delays
  • Enhanced Verification: Implement video verification model and duplicate detection
  • Dashboard Analytics: Build comprehensive brand dashboard with reputation metrics and campaign performance
  • Pilot Programs: Run pilots with 3-5 real brands and capture case studies

Medium-term Goals (6-12 months)

  • SDK Development: Create basic SDK for integrations and web embed widget
  • Billing System: Implement subscription workflow and basic customer success management
  • Mobile Application: Develop mobile app for easier customer access
  • Advanced AI Features: Implement more sophisticated sentiment analysis and predictive modeling
  • Multi-Chain Expansion: Add support for additional blockchain networks

Long-term Vision (1-2 years)

  • Enterprise Integration: Partner with major brands for large-scale loyalty program deployment
  • DeFi Integration: Enable loyalty rewards to integrate with DeFi protocols
  • Global Expansion: Scale to international markets with localized AI analysis
  • API Marketplace: Create marketplace for third-party integrations and extensions
  • White-label Solutions: Offer BrandX technology as white-label solution for enterprise clients

Technical Roadmap

  • AI Model Improvements: Implement more advanced language models for better analysis
  • Real-time Updates: Move from polling to real-time updates for better user experience
  • Advanced Analytics: Implement machine learning for predictive brand health analysis
  • Cross-Platform SDK: Develop SDKs for multiple platforms and frameworks
  • Security Enhancements: Implement advanced security measures for enterprise-grade deployment

BrandX represents the future of brand growth - where AI meets blockchain to create transparent, effective, and scalable loyalty programs that actually drive business results.

Share this project:

Updates