AI Architecture

hub.fun integrates a modular, low-code configurable AI Community Agent into every tokenized community. This AI layer serves as a decentralized automation and interaction framework, augmenting each community with intelligent tools for moderation, engagement, and operational autonomy.

Model Layer

Hosted on scalable inference infrastructure, integrating:

  • Transformer-based language models (fine-tuned on Web3 + community discourse)

  • Lightweight ML classifiers for toxicity, duplication, and quality scoring

  • Clustering algorithms for content surfacing and thread grouping

Interaction Layer

All inputs and outputs between users and AI are routed via:

  • Smart contract hooks (onComment, onPost, etc.)

  • Off-chain middleware with on-chain proof anchoring (IPFS + hash commitments)

  • RESTful + GraphQL APIs for frontend interface integration

Customization Layer

Community admins can configure:

  • Moderation sensitivity

  • Reply style (neutral, witty, educational, etc.)

  • Trigger thresholds for actions

  • Governance control over AI permissions

Configurations are stored as on-chain variables (via governance smart contract) or IPFS-linked config sets.

Last updated