Licensing¶
Complete guide to Q-Memetic AI licensing, featuring QuantumMeta License with strict enforcement and enterprise features.
Overview¶
Q-Memetic AI uses the QuantumMeta License system for secure, feature-based access control. All operations require valid license validation with a 24-hour grace period for new users.
Strict Licensing Enforcement
Q-Memetic AI enforces strict licensing. No development or research modes available - all features require appropriate license tiers.
License Tiers¶
Core Tier¶
Free for research and education
✅ Included Features: - Basic meme evolution (up to 5 generations) - Local visualization (static plots) - Local data storage (up to 1GB) - Basic entanglement networks (up to 100 memes) - Command-line interface - API access (100 calls/hour)
❌ Limitations: - No federated learning - No real-time collaboration - No advanced analytics - No custom plugins - Limited population sizes (≤50)
# Core tier usage
engine = MemeticEngine(license_key="core-tier-key")
# Available operations
memes = engine.evolve(initial_memes, generations=5, population_size=50)
network = engine.entangle() # Limited to 100 memes
viz = engine.visualize_noosphere(network, interactive=False)
Pro Tier¶
$49/month - For professionals and teams
✅ All Core Features Plus: - Advanced evolution (up to 20 generations) - Federated learning (up to 10 nodes) - Interactive visualizations - Real-time collaboration - Advanced analytics and metrics - Batch processing - Cloud storage integration (10GB) - Priority support - API access (1,000 calls/hour)
✅ Pro-Exclusive Features: - Quantum walk optimization - Multi-modal meme support - Custom fitness functions - Advanced network analysis - Performance monitoring
# Pro tier usage
engine = MemeticEngine(
license_key="pro-tier-key",
federated_mode=True
)
# Pro features available
evolved = engine.evolve(memes, generations=20, population_size=200)
fed_result = await engine.federated_sync()
analytics = engine.get_advanced_analytics()
custom_fitness = engine.register_fitness_function("domain_specific", my_function)
Enterprise Tier¶
$199/month - For organizations and large-scale deployments
✅ All Pro Features Plus: - Unlimited evolution parameters - Unlimited federated nodes - Custom plugin development - On-premises deployment - Advanced security features - Multi-tenant support - Unlimited cloud storage - White-label options - 24/7 premium support - SLA guarantees - API access (unlimited)
✅ Enterprise-Exclusive Features: - Custom LLM integration - Advanced federation protocols - Enterprise SSO integration - Audit logging and compliance - Custom visualization themes - Dedicated infrastructure
# Enterprise tier usage
engine = MemeticEngine(
license_key="enterprise-tier-key",
config={
"unlimited_mode": True,
"custom_llm_endpoint": "https://your-llm.company.com",
"enterprise_features": True
}
)
# Enterprise features
plugin = engine.load_custom_plugin("proprietary_algorithm.py")
audit_log = engine.get_audit_trail()
sso_auth = engine.configure_sso("company-sso-provider")
Getting a License¶
1. Visit License Portal¶
Go to https://krish567366.github.io/license-server/
2. Choose Your Tier¶
Select the appropriate tier based on your needs:
- Researchers & Students: Core tier (free)
- Professionals & Teams: Pro tier ($49/month)
- Organizations: Enterprise tier ($199/month)
3. Complete Registration¶
Provide required information: - Name and email address - Intended use case - Organization (if applicable) - Hardware fingerprint (automatically detected)
4. Receive License Key¶
You'll receive your license key via email within 24 hours for paid tiers, immediately for free tier.
5. Activate License¶
# Set environment variable
export QMEMETIC_LICENSE_KEY="your-license-key-here"
# Or use in code
engine = MemeticEngine(license_key="your-license-key-here")
# Verify activation
qmemetic license --status
License Management¶
Checking License Status¶
# Command line
qmemetic license --status
# Python API
from qmemetic_ai.licensing.manager import LicenseManager
license_manager = LicenseManager()
status = license_manager.get_license_status()
print(f"Tier: {status['tier']}")
print(f"Expires: {status['expires_at']}")
print(f"Features: {len(status['features'])}")
Validating License¶
# Manual validation
try:
validate_qmemetic_license()
print("License is valid")
except QMemeticLicenseError as e:
print(f"License error: {e}")
print("Contact support: bajpaikrishna715@gmail.com")
# Automatic validation (happens on engine initialization)
engine = MemeticEngine(license_key="your-key") # Validates automatically
Feature Access Control¶
# Check feature availability
license_manager = LicenseManager()
available_features = license_manager.get_available_features()
if "federation_basic" in available_features:
print("Federated learning available")
else:
print("Upgrade to Pro tier for federation")
# Programmatic feature checking
@requires_license(features=["advanced_analytics"])
def advanced_analysis():
"""This function requires advanced analytics feature."""
return perform_advanced_analysis()
# Class-level protection
@LicenseManager.licensed_class(tier_required="pro")
class AdvancedEvolver:
"""This entire class requires Pro tier."""
pass
Hardware Binding¶
Licenses are bound to specific hardware for security:
Hardware Fingerprint¶
from qmemetic_ai.licensing.manager import get_hardware_fingerprint
# Get current machine fingerprint
fingerprint = get_hardware_fingerprint()
print(f"Hardware ID: {fingerprint}")
# This ID is used for license validation
Multiple Machines¶
Pro and Enterprise tiers support multiple machines:
- Pro: Up to 3 machines
- Enterprise: Up to 10 machines
To add a new machine:
- Install Q-Memetic AI
- Use your existing license key
- System will request machine authorization
- Approve via license portal
Machine Management¶
# List authorized machines
qmemetic license --machines
# Remove old machine (via web portal)
# Visit: https://krish567366.github.io/license-server/machines
Grace Period¶
New users get a 24-hour grace period to try the system:
# During grace period, you'll see warnings
engine = MemeticEngine() # No license key
# Output:
# ⚠️ Grace period for 'qmemetic-ai' expires in 23 hours!
# ⚠️ Get your license at: https://krish567366.github.io/license-server/
Grace Period Features¶
During the 24-hour grace period:
- ✅ All Core tier features available
- ✅ Limited Pro tier features (5-minute sessions)
- ❌ No Enterprise features
- ❌ No federated learning
- ❌ No data persistence beyond session
After Grace Period¶
# After 24 hours without valid license
engine = MemeticEngine()
# Raises:
# QMemeticLicenseError: Grace period expired.
# Purchase license at https://krish567366.github.io/license-server/
# Contact support: bajpaikrishna715@gmail.com with Machine ID: hw_abc123...
Enterprise Features¶
Single Sign-On (SSO)¶
# Configure enterprise SSO
engine = MemeticEngine(
license_key="enterprise-key",
config={
"sso": {
"provider": "okta", # okta, auth0, azure_ad
"client_id": "your-client-id",
"domain": "your-domain.okta.com"
}
}
)
Custom LLM Integration¶
# Use your own LLM endpoints
engine = MemeticEngine(
license_key="enterprise-key",
config={
"llm": {
"provider": "custom",
"endpoint": "https://llm.yourcompany.com/v1/chat",
"api_key": "your-internal-key",
"model": "your-fine-tuned-model"
}
}
)
Audit Logging¶
# Enterprise audit features
audit_manager = engine.get_audit_manager()
# Get audit trail
audit_log = audit_manager.get_audit_trail(
start_date="2025-01-01",
end_date="2025-01-31",
user_id="researcher@company.com"
)
# Export for compliance
audit_manager.export_audit_log("compliance_report.json")
Multi-Tenant Support¶
# Tenant isolation
engine = MemeticEngine(
license_key="enterprise-key",
config={
"tenant_id": "research_division",
"isolation_level": "strict" # strict, moderate, shared
}
)
License Troubleshooting¶
Common Issues¶
License Validation Failed¶
# Error message
QMemeticLicenseError: License validation failed: Invalid license key
# Solutions:
1. Check license key format
2. Verify internet connection
3. Check if license expired
4. Contact support with machine ID
Hardware Mismatch¶
# Error message
QMemeticLicenseError: Hardware fingerprint mismatch
# Solutions:
1. Authorize new machine via portal
2. Remove old machines if limit reached
3. Contact support for hardware changes
Feature Not Available¶
# Error message
QMemeticLicenseError: Feature 'federation_basic' requires Pro tier or higher
# Solutions:
1. Upgrade license tier
2. Use alternative features
3. Contact sales for upgrade
Debug License Issues¶
# Enable license debugging
import logging
logging.getLogger("qmemetic_ai.licensing").setLevel(logging.DEBUG)
# Get detailed license info
license_manager = LicenseManager(license_key="your-key")
debug_info = license_manager.get_debug_info()
print(f"Debug info: {debug_info}")
# Test license connectivity
connectivity = license_manager.test_license_server()
print(f"License server reachable: {connectivity}")
Support Channels¶
When contacting support, include:
- License key (first 8 characters only)
- Machine ID from error message
- Error message (full text)
- Python version and OS
- Q-Memetic AI version
# Gather support information
from qmemetic_ai import __version__
from qmemetic_ai.licensing.manager import get_hardware_fingerprint
import sys, platform
print(f"Q-Memetic AI Version: {__version__}")
print(f"Python Version: {sys.version}")
print(f"Operating System: {platform.platform()}")
print(f"Machine ID: {get_hardware_fingerprint()}")
Contact Support:
- Email: bajpaikrishna715@gmail.com
- Subject: Q-Memetic AI License Issue
- Include: All information above
License API Reference¶
Core Functions¶
from qmemetic_ai.licensing.manager import (
validate_qmemetic_license,
get_hardware_fingerprint,
LicenseManager,
QMemeticLicenseError,
requires_license
)
# License validation
validate_qmemetic_license() # Raises exception if invalid
# Hardware fingerprint
hw_id = get_hardware_fingerprint()
# License manager
manager = LicenseManager(license_key="your-key")
status = manager.get_license_status()
features = manager.get_available_features()
# Decorators
@requires_license(features=["advanced_analytics"])
def protected_function():
pass
License Status Response¶
{
"valid": True,
"tier": "pro",
"expires_at": 1735689600, # Unix timestamp
"features": [
"basic_evolution",
"visualization",
"local_storage",
"entanglement",
"quantum_walk",
"federation_basic"
],
"limits": {
"max_population_size": 500,
"max_generations": 20,
"max_federated_nodes": 10,
"api_calls_per_hour": 1000
},
"hardware_id": "hw_abc123def456...",
"machine_count": 2,
"max_machines": 3
}
Compliance and Security¶
Data Privacy¶
Q-Memetic AI licensing respects privacy:
- ✅ Only hardware fingerprint transmitted
- ✅ No user data sent to license server
- ✅ Local license caching
- ✅ Offline operation (after initial validation)
Security Features¶
- 🔐 Hardware-bound licenses
- 🔐 Encrypted license validation
- 🔐 Tamper detection
- 🔐 Secure key storage
- 🔐 Regular license rotation
Compliance Standards¶
Enterprise tier includes:
- SOC 2 Type II compliance
- ISO 27001 certification
- GDPR compliance
- HIPAA compatibility (upon request)
Frequently Asked Questions¶
Can I use Q-Memetic AI offline?¶
Yes, after initial license validation. Licenses are cached locally and re-validated periodically.
What happens if my license expires?¶
The system continues working in read-only mode for 7 days, then requires license renewal.
Can I transfer my license to a new machine?¶
Yes, through the license portal. Pro tier allows 3 machines, Enterprise allows 10.
Do you offer academic discounts?¶
Yes, verified academic institutions receive 50% discount on Pro tier, free Enterprise tier for research.
Can I get a refund?¶
Yes, 30-day money-back guarantee for all paid tiers.
Is there a volume discount?¶
Yes, contact sales for 10+ licenses. Significant discounts available.
Can I upgrade/downgrade anytime?¶
Yes, changes are prorated and take effect immediately.
For additional questions, contact: bajpaikrishna715@gmail.com