A next-generation community management system that unifies Discord, X (Twitter), Telegram, and other platforms with built-in AI agents
CosyWorld is a comprehensive platform for managing modern online communities across multiple social platforms simultaneously. It combines traditional community management tools with AI-powered agents that can autonomously interact, moderate, engage, and create content across Discord, X, Telegram, and more.
Modern communities are fragmented across multiple platforms:
- Discord for real-time chat and community building
- X (Twitter) for announcements and broader reach
- Telegram for group discussions and notifications
- Forums for long-form discussions
Managing presence across all these platforms requires:
- โ Multiple tools and dashboards
- โ Constant manual posting and cross-posting
- โ Different moderation systems
- โ Inconsistent community experience
- โ High operational overhead
CosyWorld provides a unified interface to manage your entire community ecosystem:
- โ Single Dashboard - Control all platforms from one place
- โ AI Agents - Autonomous entities that engage naturally across platforms
- โ Cross-Platform Posting - Post once, publish everywhere
- โ Unified Moderation - Consistent rules across all channels
- โ Intelligent Automation - AI handles routine tasks while maintaining authenticity
- โ Analytics & Insights - Understand your community across all platforms
Manage Discord servers, X accounts, Telegram channels, and more from a single interface. Schedule posts, monitor engagement, and respond to community members across all platforms without switching tools.
Deploy AI agents that:
- Respond to common questions automatically
- Welcome new members with personalized messages
- Generate engaging content and announcements
- Moderate conversations and flag issues
- Initiate conversations to boost engagement
Create content once and intelligently distribute it:
- Automatically adapt content for each platform's format
- Schedule strategic cross-posting
- Generate platform-specific variations (threads, images, videos)
- Track performance and engagement metrics
Run community operations with:
- AI agents that act autonomously but stay on-brand
- Persistent "personalities" that community members recognize
- Multi-agent coordination for complex scenarios
- NFT-based agent ownership and customization
Understand your community with:
- Cross-platform engagement tracking
- Member activity and sentiment analysis
- Content performance metrics
- Growth trend analysis and forecasting
- Persistent AI Personalities: Create unique AI agents with distinct personalities, knowledge bases, and communication styles
- Multi-Platform Presence: Each agent can operate across Discord, X, Telegram simultaneously
- Autonomous Engagement: Agents respond to mentions, participate in conversations, and initiate discussions
- Learning & Memory: Agents remember past interactions and evolve based on community feedback
- Custom Abilities: Define specific tools and actions for each agent (moderation, welcoming, FAQ, etc.)
- Full bot integration with channels, threads, and DMs
- Role-based permissions and moderation
- Slash commands and reactions
- Webhook support for rich message formatting
- Channel activity monitoring and analytics
- OAuth authentication for secure posting
- Automated tweet scheduling and posting
- Media upload (images, videos)
- Thread creation and management
- Engagement tracking (likes, retweets, replies)
- Global bot configuration
- Channel and group management
- Media posting with AI-generated captions
- Rate limiting and spam prevention
- Web Interface: Modern, responsive UI built with Tailwind CSS
- Real-time Monitoring: Track activity across all platforms in real-time
- Content Calendar: Schedule and manage posts across platforms
- Analytics Dashboard: Visualize engagement metrics and growth trends
- Agent Management: Configure and monitor AI agent behavior
- Guild Settings: Platform-specific configuration per community
- Cross-Platform Moderation: Unified rules and actions across all platforms
- AI-Powered Detection: Automatic spam, toxicity, and threat detection
- Risk Assessment: User risk profiling and behavioral analysis
- Rate Limiting: Prevent spam and abuse with intelligent rate limits
- Content Filtering: Block specific keywords, patterns, or media types
- AI-Generated Media:
- ๐ผ๏ธ Images via Replicate, Google Imagen
- ๐ฅ Videos via Google Veo 3.1 (with audio!)
- ๐ Text content with multiple AI models
- Platform Optimization: Automatically format content for each platform
- Media Storage: S3-compatible storage with CloudFront CDN
- Caption Generation: AI-powered descriptions and hashtags
- Multi-Model Support: OpenRouter (300+ models), Google AI (Gemini), Ollama (local models)
- Model Tiers: Legendary, Rare, Uncommon, Common - choose the right AI for each task
- Context-Aware: Agents understand conversation history and community dynamics
- Tool Calling: Agents can execute actions (post, moderate, create content) when needed
- Memory Systems: Short-term context, long-term storage, knowledge graphs
Managing multiple Discord servers, social media accounts, and communication channels? CosyWorld consolidates everything into one platform with AI assistance.
Maintain consistent presence across Discord, X, and Telegram while using NFTs to represent AI agents and governance roles.
Amplify your reach by automating cross-posting, engagement, and community management while maintaining authentic interactions.
Coordinate tournaments, announcements, and player engagement across multiple platforms with AI moderators and assistants.
Manage technical communities with AI agents that can answer FAQs, share documentation, and moderate discussions.
Execute multi-platform campaigns, track engagement, and respond to community feedback from a single dashboard.
โโโ Core Services
โ โโโ DatabaseService (MongoDB)
โ โโโ ConfigService (Environment + Secrets)
โ โโโ LoggingService (Winston)
โ โโโ SchedulingService (Periodic tasks)
โ
โโโ AI & Intelligence
โ โโโ AIService (OpenRouter integration)
โ โโโ UnifiedAIService (Multi-provider adapter)
โ โโโ GoogleAIService (Gemini models)
โ โโโ MemoryService (Vector storage)
โ โโโ KnowledgeService (Knowledge graphs)
โ
โโโ Platform Integrations
โ โโโ DiscordService (Bot + API)
โ โโโ XService (Twitter OAuth + posting)
โ โโโ TelegramService (Bot + messaging)
โ โโโ WebService (Express + REST API)
โ
โโโ Community Management
โ โโโ AvatarService (AI agent management)
โ โโโ ModerationService (Content filtering)
โ โโโ ResponseCoordinator (Conversation orchestration)
โ โโโ PresenceService (Activity tracking)
โ
โโโ Content & Media
โโโ VeoService (Video generation)
โโโ ImageProcessingService (Media analysis)
โโโ S3Service (Cloud storage)
โโโ GlobalBotService (Cross-platform personas)
- Runtime: Node.js 18+ with ES modules
- Database: MongoDB with aggregation pipelines
- AI: OpenRouter, Google AI, Replicate, Ollama
- Frontend: Vanilla JS + Tailwind CSS
- APIs: Discord.js, Telegraf, Twitter API v2
- Storage: S3-compatible (AWS S3, Cloudflare R2, MinIO)
- Deployment: Docker-ready, Kubernetes-compatible
- Node.js 18 or higher
- MongoDB 4.4 or higher
- Discord Bot Token
- API keys for desired platforms (X, Telegram, AI services)
# Clone the repository
git clone https://github.com/cenetex/cosyworld.git
cd cosyworld
# Install dependencies
npm install
# Start the application
npm start-
Visit the Setup Wizard
http://localhost:3000/admin/setup -
Configure Core Services
- Database connection (MongoDB URI)
- Encryption keys (auto-generated)
- Discord bot token
-
Add Platform Integrations (optional)
- X (Twitter) API credentials
- Telegram bot token
- AI service API keys
-
Create Your First AI Agent
- Define personality and behavior
- Choose AI model tier
- Enable platforms (Discord, X, Telegram)
- Configure tools and abilities
The wizard handles most configuration, but you can also use environment variables:
# Core
NODE_ENV=production
MONGO_URI=mongodb://localhost:27017/cosyworld
ENCRYPTION_KEY=auto-generated-by-wizard
# Discord
DISCORD_BOT_TOKEN=your_bot_token
# X (Twitter)
X_API_KEY=your_api_key
X_API_SECRET=your_api_secret
# Telegram
TELEGRAM_GLOBAL_BOT_TOKEN=your_bot_token
TELEGRAM_GLOBAL_CHANNEL_ID=@your_channel
# AI Services
OPENROUTER_API_TOKEN=your_token
GOOGLE_AI_API_KEY=your_key
# Storage
S3_API_ENDPOINT=your_endpoint
S3_API_KEY=your_key
S3_API_SECRET=your_secret- Configuration Guide - Complete setup instructions
- Quick Start - Get started in 5 minutes
- Platform Integration - Discord, X, Telegram guides
- AI Agent Guide - Creating and managing AI agents
- API Reference - REST API documentation
- Architecture - System design and patterns
โ
Discord server for governance discussions
โ
X account for announcements
โ
Telegram for quick updates
โ
AI moderators handling spam and questions
โ
Automated meeting reminders across all platforms
โ
Voting results posted simultaneously everywhere
โ
Discord for voice chat and coordination
โ
X for tournament announcements
โ
Telegram for mobile notifications
โ
AI assistants tracking player stats
โ
Automated match schedules and results
โ
Cross-platform recruitment campaigns
โ
Discord for support and discussions
โ
X for sharing updates and tips
โ
Telegram for quick questions
โ
AI bots answering common FAQs
โ
Automated documentation links
โ
Code snippet sharing across platforms
- โ Discord, X, Telegram integration
- โ AI agent system with multiple models
- โ Web-based configuration wizard
- โ Cross-platform content posting
- โ Unified moderation system
- ๐ WhatsApp Business integration
- ๐ Farcaster protocol support
- ๐ Advanced analytics dashboard
- ๐ Campaign management tools
- ๐ A/B testing for content
- ๐ Reddit integration
- ๐ LinkedIn for professional communities
- ๐ Custom integration SDK
- ๐ Mobile companion app
- ๐ Marketplace for AI agent templates
We welcome contributions! CosyWorld is open-source and community-driven.
- ๐ Report bugs and issues
- ๐ก Suggest features and improvements
- ๐ Improve documentation
- ๐ง Submit pull requests
- ๐งช Test new features and provide feedback
# Clone and install
git clone https://github.com/cenetex/cosyworld.git
cd cosyworld
npm install
# Run in development mode
NODE_ENV=development npm start
# Run tests
npm test
# Lint code
npm run lint- CPU: 2 cores
- RAM: 4GB
- Storage: 20GB
- OS: Linux, macOS, or Windows with WSL2
- CPU: 4+ cores
- RAM: 8GB+
- Storage: 50GB SSD
- OS: Linux (Ubuntu 22.04+) or macOS
- CPU: 8+ cores
- RAM: 16GB+
- Storage: 100GB SSD
- Network: High bandwidth for media processing
- Monitoring: Prometheus, Grafana recommended
- Encrypted Storage: All API keys and secrets encrypted with AES-256-GCM
- Rate Limiting: Built-in protection against spam and abuse
- Content Moderation: AI-powered detection of harmful content
- Audit Logs: Track all actions and changes
- GDPR Compliant: User data handling and deletion tools
- Open Source: Full transparency and community review
CosyWorld is licensed under the MIT License. See LICENSE for details.
Built with:
- Discord.js - Discord API library
- Telegraf - Telegram bot framework
- OpenRouter - Unified AI model access
- Google AI - Gemini models and Veo video generation
- MongoDB - Database
- Express - Web framework
Special thanks to our community contributors and testers!
- Documentation: docs/
- GitHub Issues: Report bugs
- Farcaster: @immanence
- Discord: Join our community server (coming soon)
Current Version: 0.0.11 (Beta)
CosyWorld is actively developed and suitable for testing and production use with appropriate monitoring. While core features are stable, expect continued improvements and new features.
Production Readiness:
- โ Core platform integrations stable
- โ AI agent system battle-tested
- โ Security features in place
โ ๏ธ Scale testing ongoingโ ๏ธ Advanced analytics in development
CosyWorld - Building the future of AI-powered community management ๐