A comprehensive AI-powered cryptocurrency education and trading platform built with MindsDB, featuring intelligent chatbots, automated market analysis, and personalized learning experiences.
- Docker & Docker Compose
- Python 3.8+
- Node.js 16+
- 4GB+ RAM
- 10GB+ disk space
- Clone and setup:
git clone <repository-url>
cd xplaincrypto_mindsdb
chmod +x scripts/setup_prerequisites.sh
./scripts/setup_prerequisites.sh- Start services:
./scripts/start_services.sh- Deploy MindsDB components:
# Access MindsDB
mysql -h localhost -P 47335 -u mindsdb
# Deploy knowledge bases
SOURCE sql/knowledge_bases/crypto_market_intel.sql;
SOURCE sql/knowledge_bases/user_behavior.sql;
SOURCE sql/knowledge_bases/educational_content.sql;
# Deploy AI skills
SOURCE sql/skills/crypto_data_sql_skill.sql;
SOURCE sql/skills/user_analytics_sql_skill.sql;
SOURCE sql/skills/market_analysis_kb_skill.sql;
SOURCE sql/skills/education_kb_skill.sql;
SOURCE sql/skills/sentiment_analysis_skill.sql;
SOURCE sql/skills/risk_assessment_skill.sql;
# Deploy chatbots
SOURCE sql/chatbots/crypto_tutor_chatbot.sql;
SOURCE sql/chatbots/trading_assistant_chatbot.sql;
SOURCE sql/chatbots/community_support_chatbot.sql;
# Deploy automation
SOURCE sql/jobs/market_data_sync_job.sql;
SOURCE sql/jobs/user_behavior_analysis_job.sql;
SOURCE sql/jobs/model_retraining_job.sql;- Run tests:
python tests/run_comprehensive_tests.py-
Knowledge Bases
- Crypto Market Intelligence
- User Behavior Analytics
- Educational Content Library
-
AI Skills
- SQL Skills for data querying
- Knowledge Base skills for content retrieval
- Sentiment analysis and risk assessment
-
Chatbots
- Crypto Tutor (educational guidance)
- Trading Assistant (market analysis)
- Community Support (user assistance)
-
Automation
- Real-time market data synchronization
- User behavior analysis
- Model retraining and optimization
External APIs β Data Sync β MindsDB β AI Processing β User Interface
β β β β β
Market Data β Knowledge Bases β Skills β Chatbots β Responses
- Personalized Learning Paths: AI-driven content recommendations
- Interactive Tutorials: Step-by-step crypto education
- Progress Tracking: Learning analytics and achievements
- Adaptive Content: Difficulty adjustment based on user performance
- Market Analysis: Real-time sentiment and technical analysis
- Risk Assessment: Portfolio risk evaluation and recommendations
- Trading Signals: AI-generated trading insights
- Performance Tracking: Trading analytics and optimization
- AI Chatbots: 24/7 intelligent assistance
- Social Analytics: Community sentiment tracking
- User Segmentation: Behavioral analysis and personalization
- Engagement Optimization: Automated user experience enhancement
- System health monitoring
- User activity analytics
- Model performance tracking
- Cost optimization insights
- Critical system issues
- Performance degradation
- Security concerns
- Cost optimization opportunities
# Database Configuration
MYSQL_HOST=localhost
MYSQL_PORT=3306
MYSQL_USER=xplaincrypto
MYSQL_PASSWORD=xplaincrypto_pass_2024
# MindsDB Configuration
MINDSDB_HOST=localhost
MINDSDB_PORT=47334
# API Keys
OPENAI_API_KEY=your_openai_api_key
COINMARKETCAP_API_KEY=your_cmc_api_key- MindsDB:
http://localhost:47334 - MySQL:
localhost:3306 - Dashboard API:
http://localhost:47334/dashboard - Cost Optimization:
http://localhost:47334/cost-optimization
# Run all tests
python tests/run_comprehensive_tests.py
# Run specific scenarios
python tests/scenarios/trading_scenarios.py
# Check system status
./scripts/check_status.sh- Infrastructure connectivity
- Knowledge base functionality
- AI skills performance
- Chatbot responses
- Integration scenarios
- Performance benchmarks
- Data archival and compression
- Query performance tuning
- Resource utilization monitoring
- Cost reduction strategies
- Index optimization
- Query caching
- Model fine-tuning
- Infrastructure scaling
- Encrypted connections
- Secure API key management
- User data anonymization
- Access control and authentication
- Security event logging
- Anomaly detection
- Automated threat response
- Regular security audits
- MindsDB Connection Failed
# Check service status
./scripts/check_status.sh
# Restart services
./scripts/stop_services.sh
./scripts/start_services.sh- Knowledge Base Empty
# Repopulate knowledge bases
SOURCE sql/knowledge_bases/crypto_market_intel.sql;- High Resource Usage
# Run cost optimization
curl http://localhost:47334/cost-optimization- MindsDB:
logs/mindsdb/ - N8N:
logs/n8n/ - Application:
logs/application/ - Errors:
logs/errors/
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests
- Submit a pull request
This project is licensed under the MIT License - see the LICENSE file for details.
- Documentation: Check the
docs/directory - Issues: Create a GitHub issue
- Community: Join our Discord server
- Email: support@xplaincrypto.com
- MindsDB team for the amazing AI platform
- OpenAI for language model capabilities
- Cryptocurrency data providers
- Open source community contributors
Built with β€οΈ for the crypto community