โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โโโโโโโ โโโ โโโ โโโโโโ โโโโโโโโโโ โโโ โโโโโโโ โโโ โโโ โโโโโโ โโโโโโโ โโโโโโโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โโโ โโโโโโ โโโโโโโโโโโโโโ โโโโโโโ โโโ โโโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโโโ โโโโโโ โโโโโโโโโโโโโโ โโโโโโโ โโโ โโโโโโ โโโโโโโโโโโโโโโโโโโโโโ โโโ โ
โ โโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโ โโโโโโโโโโโ โ
โ โโโโโโโ โโโโโโโ โโโ โโโ โโโโโโโโโโ โโโ โโโโโโโ โโโโโโโ โโโ โโโโโโ โโโโโโโโโโ โ
โ โ
โ ๐ Multi-Agent Moderation Framework MVP โ
โ โก React + TypeScript Demo โก โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
QuackGuard is an MVP prototype demonstrating a multi-agent moderation framework built with React and TypeScript. This interactive demo showcases how intelligent agents can collaborate in sequence to maintain digital community standards through configurable rules and transparent decision-making.
๐ฏ MVP Goal: Demonstrate agent collaboration through a simulated chat environment with Moderator Agent and Verifier Agent working in sequence.
๐ฏ Core Directive: Build unstoppable, transparent, and democratically governed content moderation through agent swarms.
- Classification: Tier-1 Detection Unit
- Directive: Real-time threat scanning and initial flagging
- Response Time: <100ms
- Precision Mode: Pattern recognition via heuristic algorithms
- Classification: Tier-2 Validation Unit
- Directive: Secondary confirmation and action execution
- Response Time: 2-3s verification delay
- Authority Level: Content removal authorization
- Governance Layer: On-chain DAO arbitration
- Stake Requirement: 50 $DUCK tokens
- Consensus Model: Decentralized community voting
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ ๐ MODERATOR โโโโโถโ โ
VERIFIER โโโโโถโ ๐๏ธ DAO APPEAL โ
โ โ โ โ โ โ
โ โข Flag Detectionโ โ โข Confirmation โ โ โข Token Staking โ
โ โข Rule Engine โ โ โข Final Action โ โ โข Voting System โ
โ โข Real-time โ โ โข State Update โ โ โข Override Auth โ
โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ
โ โ โ
โผ โผ โผ
โก INSTANT FLAG ๐ก๏ธ VERIFIED REMOVAL ๐ก CHAIN STATE
- Frontend: React 19.1.1 + TypeScript 5.8.3 via Vite 7.1.2
- Styling: TailwindCSS 4.1.12 + PostCSS + Autoprefixer
- State Management: React hooks (useState, useEffect, useCallback)
- Blockchain Integration: Custom DuckChain hooks and utilities
- Type Safety: Full TypeScript with interfaces for all models
- Linting: ESLint 9.33.0 + TypeScript ESLint
- Node.js v18+
- Modern web browser
- Basic knowledge of React/TypeScript
# Clone the repository
git clone <repository-url>
cd quack-shield-app
# Install dependencies
npm install
# Start development server
npm run dev# Launch QuackGuard Demo
http://localhost:5173
# Run tests
npm run test
# Build for production
npm run buildSee also: DEMO_SCRIPT.md for a 4โminute speaking script.
Configure your agent swarm with precision controls:
- Agent Activation Switches: Toggle Moderator/Verifier units
- Rule Matrix: Malicious link detection, toxicity scanning, spam filtering
- Live Status: Real-time agent health monitoring
Watch the agents work in real-time:
- Normal State: Standard message flow โช
- Flagged State: Moderator detection active
โ ๏ธ - Verified State: Verifier confirmation complete โ
- Appeal State: DAO arbitration pending ๐
Decentralized governance in action:
- Stake tokens to challenge agent decisions
- Community-driven oversight mechanism
- Transparent voting process
# Unit testing for agent logic
npm run test
# Smoke test full agent lifecycle
npm run test:integration- Malicious Link Detection: Watch agents flag suspicious URLs
- Toxicity Filtering: Observe language pattern recognition
- Appeal Process: Experience democratic override mechanism
๐ก DuckChain Testnet: SIMULATED
โก Agent Swarm: 2/2 DEMO ACTIVE (Moderator + Verifier)
๐ก DAO Governance: SIMULATED
๐ก๏ธ Security Level: PROTOTYPE
Note: This is an MVP prototype with simulated blockchain interactions for demonstration purposes.
QuackGuard MVP is designed as a foundation for future expansion:
- ๐ง Neural Networks: Integration with advanced ML moderation models
- ๐ Cross-Chain Compatibility: Multi-blockchain agent deployment
- ๐ค Agent Marketplace: Pluggable third-party agent extensions
- ๐ Real Blockchain Integration: Actual on-chain governance and appeals
- โ๏ธ Advanced Rules Engine: More sophisticated content detection algorithms
QuackGuard welcomes community contributions to improve the multi-agent framework:
- Fork the repository
- Create feature branches for new agent types or UI improvements
- Submit pull requests with clear documentation
- Follow TypeScript and React best practices
- Add tests for new functionality
Project: QuackGuard MVP
Version: MVP-2025.09.01
Tech Stack: React 19.1.1 + TypeScript 5.8.3 + Vite 7.1.2 + TailwindCSS 4.1.12
Agent Types: Moderator Agent + Verifier Agent
Blockchain: DuckChain Integration with Wallet Support
Components: ConfigurationPanel, ChatFeed, ChatMessage, Modal, DuckChain Hooks
Status: Interactive Demo with Full Implementation
This MVP prototype operates with the following characteristics:
- Simulated Environment: All blockchain interactions are mocked for demonstration
- In-Memory State: No persistent data storage, resets on page refresh
- Agent Logic: "Wizard of Oz" approach with predefined rules and delays
- Educational Purpose: Designed to demonstrate multi-agent collaboration concepts
- Open Source: All code is transparent and auditable
QuackGuard demonstrates the potential of multi-agent moderation frameworks through an interactive prototype. Built as part of a bounty submission, this MVP showcases agent collaboration, configurable rules, and democratic governance concepts in a simulated Web3 environment.
Built with ๐ฆ for the future of decentralized moderation
"Demonstrating Multi-Agent Collaboration"
โก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก
END DEMO // QUACKGUARD MVP READY FOR TESTING
โก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก๐ฆโก
- Integration Plan: DAT_INTEGRATION_PLAN.md
- Resources: LazAI Quick Start โ Data Contribution Workflow