-
-
Notifications
You must be signed in to change notification settings - Fork 49
FAQ
Comprehensive FAQ covering general questions, technical details, AI capabilities, and business/licensing questions.
- General Questions
- Technical Questions
- AI Capabilities
- Installation and Setup
- Performance and Optimization
- Security and Privacy
- Business and Licensing
- Troubleshooting
Cortex Linux is an AI-native operating system that integrates a reasoning engine (Sapiens 0.27B) directly into the kernel and system services. Unlike traditional Linux distributions that require external API calls for AI functionality, Cortex provides on-device reasoning with zero API costs.
Cortex Linux:
- AI engine integrated at the OS level
- Zero API costs (on-device processing)
- Kernel-level optimizations for AI workloads
- Built-in system services for AI operations
Ubuntu/Debian + AI Tools:
- AI capabilities via external APIs
- Per-request API costs
- Standard Linux kernel
- Application-level AI integration
Yes, Cortex Linux is open source and free to use. It is distributed under the GNU General Public License v3.0 (GPL-3.0). The Sapiens reasoning engine components have separate licensing - see LICENSE files in the repository.
Minimum:
- 2GB RAM, 10GB disk space, x86_64 or ARM64 CPU
Recommended:
- 4GB+ RAM, 20GB+ disk space, 4+ CPU cores
See Technical Specifications - Hardware Requirements for detailed requirements.
Yes, Cortex Linux 1.0.0 is production-ready. However, we recommend:
- Testing in a staging environment first
- Reviewing Security and Compliance documentation
- Implementing proper backup and monitoring
- Staying updated with security patches
Commercial support options are being developed. For now, community support is available through:
- GitHub Issues
- Discord community
- Documentation wiki
Cortex Linux is based on Debian 12 (Bookworm) / Ubuntu 22.04 LTS, with custom kernel enhancements for AI workloads.
Cortex Linux uses Linux kernel 6.1.0+ with custom enhancements for AI-aware scheduling and memory management.
Yes, Cortex Linux can be installed in a dual-boot configuration. The installer supports manual partitioning for dual-boot setups.
Yes, Cortex Linux supports Docker and Podman. However, note that:
- AI engine requires access to host resources
- Some kernel features may not be available in containers
- For full functionality, consider bare metal or VM deployment
Yes, Cortex Linux runs well in virtual machines:
- VirtualBox 6.0+
- VMware Workstation/Player 15+
- QEMU/KVM
- Hyper-V
See Installation Guide - VirtualBox for details.
- Python: Full SDK available
- Bash: CLI and shell integration
- C/C++: C API for system integration
- Go: HTTP API client libraries
- Rust: CLI tool source available
- HTTP/REST: Any language with HTTP client
See AI Integration Guide for examples.
# Update package lists
sudo apt update
# Upgrade system packages
sudo apt upgrade
# Upgrade Cortex AI specifically
sudo apt install --only-upgrade cortex-ai
# Reboot if kernel was updated
sudo rebootYes, the kernel source is available. See Developer Documentation - Kernel Modifications for details.
Cortex Linux uses the Sapiens 0.27B (270 million parameters) reasoning engine, optimized for on-device inference.
Cortex Linux (Sapiens 0.27B):
- Sudoku solving: 55%
- Code debugging: 72%
- Architecture planning: 68%
ChatGPT (GPT-3.5/GPT-4):
- Generally 85-95% on similar tasks
Trade-off: Cortex Linux prioritizes privacy, cost ($0 vs $0.002-$0.06 per request), and latency (156ms vs 1200ms) over maximum accuracy.
See Comparison Pages - Performance Benchmarks for detailed comparisons.
Custom model support is planned for version 2.0.0 (Q4 2024). Currently, only the Sapiens 0.27B model is supported.
Yes, Cortex Linux works completely offline. All AI processing happens on-device with no network requirements (except for initial installation and updates).
- Simple queries: 50-100ms
- Medium queries: 100-200ms
- Complex queries: 200-400ms
- Average: 156ms
See Technical Specifications - Performance Benchmarks for detailed metrics.
- Reasoning: General question answering and problem solving
- Planning: Task and project planning
- Debugging: Error analysis and code debugging
- Optimization: Code and configuration optimization
- Documentation: Documentation generation
- Analysis: System and log analysis
See Use Cases and Tutorials for examples.
Fine-tuning support is planned for version 2.0.0. Currently, the model cannot be fine-tuned.
GPU acceleration (CUDA, ROCm) is planned for version 2.0.0. Currently, only CPU inference is supported.
See Installation Guide for complete instructions. Quick start:
- Download ISO from releases.cortexlinux.org
- Create bootable USB or use in VM
- Boot from installation media
- Follow installation wizard
- Reboot into installed system
Yes, you can run Cortex Linux on Mac using:
- VirtualBox: Free virtualization
- VMware Fusion: Commercial option
- UTM: Free alternative
- Parallels: Commercial option
See Installation Guide - VirtualBox.
Yes, using virtualization:
- VirtualBox: Free
- VMware Workstation/Player: Commercial
- Hyper-V: Built into Windows Pro/Enterprise
- WSL2: Not recommended (limited kernel features)
Cortex Linux can be deployed on:
- AWS EC2: Use custom AMI or install from ISO
- DigitalOcean: Use custom image or install from ISO
- Google Cloud: Use custom image or install from ISO
- Azure: Use custom image or install from ISO
See Installation Guide - Cloud Deployment for details.
-
Update system:
sudo apt update && sudo apt upgrade -
Configure AI service: Check
/etc/cortex-ai/config.yaml -
Test installation:
cortex-ai reason "Test query" - Review security: Security and Compliance
- Read documentation: AI Integration Guide
See Installation Guide - Post-Installation Setup.
- CPU: Use more CPU cores (up to ~8 cores)
- Memory: Increase RAM for larger batches
- Storage: Use SSD/NVMe for faster model loading
-
Configuration: Tune
num_threadsandbatch_size
See Technical Specifications - Performance Tuning.
- Single-threaded: 6.2 requests/second
- 4 threads: 18.5 requests/second
- 8 threads: 28.3 requests/second
- With batching: 45+ requests/second
- Base: ~200MB (AI engine)
- Per request: +10MB
- Total (idle): ~245MB
- Total (active): ~245MB + 13MB per concurrent request
Yes, multiple Cortex Linux instances can be load-balanced using nginx, HAProxy, or cloud load balancers. See Technical Specifications - Scalability.
Common causes:
- Insufficient RAM (check with
free -h) - CPU throttling (check with
cpupower frequency-info) - Disk I/O bottlenecks (check with
iostat) - Too many concurrent requests
See Installation Guide - Troubleshooting.
Yes, all AI processing happens on-device. No data is transmitted to external servers. See Security and Compliance - Data Privacy.
No, telemetry is disabled by default. You can verify in /etc/cortex-ai/config.yaml:
telemetry:
enabled: falseYes, Cortex Linux includes:
- Process isolation
- SELinux/AppArmor support
- API key authentication
- Rate limiting
- Audit logging
- Regular security updates
See Security and Compliance for details.
Edit /etc/cortex-ai/config.yaml:
security:
api_key_required: true
api_key: "your-secure-api-key"Then restart the service:
sudo systemctl restart cortex-aiYes, Cortex Linux is designed for GDPR compliance:
- On-device processing (no data transmission)
- No persistent storage of personal data
- Configurable data retention
- Encryption support
See Security and Compliance - GDPR Compliance.
Yes, Cortex Linux works completely offline. No network connection is required for AI operations (only for initial installation and updates).
Cortex Linux is distributed under the GNU General Public License v3.0 (GPL-3.0). The Sapiens reasoning engine components have separate licensing - see LICENSE files in the repository.
Yes, GPL-3.0 allows commercial use. However, if you modify and distribute Cortex Linux, you must also distribute your modifications under GPL-3.0.
No, there are no API costs. All processing happens on-device with zero per-request fees.
Cortex Linux:
- Software: $0 (open source)
- API costs: $0
- Infrastructure: Your server costs only
Comparison: See Comparison Pages - Cost Analysis for detailed cost comparisons.
Commercial support options are being developed. For enterprise needs, contact: enterprise@cortexlinux.org
Yes! We welcome contributions. See Developer Documentation - Contributing Guidelines.
Check service status:
sudo systemctl status cortex-aiView logs:
journalctl -u cortex-ai -n 50Common issues:
- Insufficient memory
- Missing model files
- Configuration errors
- Permission issues
See Installation Guide - Troubleshooting.
Check if service is running:
systemctl status cortex-aiCheck if port is listening:
sudo netstat -tlnp | grep 8080Check firewall:
sudo ufw statusVerify configuration:
cat /etc/cortex-ai/config.yamlCheck system resources:
htop
free -hOptimize configuration:
- Increase
num_threads(match CPU cores) - Enable caching
- Reduce
max_tokensif not needed
See Technical Specifications - Performance Tuning.
Common causes:
- Corrupted ISO (verify checksums)
- Insufficient disk space
- Hardware incompatibility
- BIOS/UEFI configuration
Solutions:
- Re-download ISO and verify checksum
- Ensure 20GB+ free disk space
- Check hardware compatibility
- Disable Secure Boot (if needed)
See Installation Guide - Troubleshooting.
Check model location:
ls -lh /usr/lib/cortex-ai/models/Reinstall AI engine:
sudo apt remove cortex-ai
sudo apt install cortex-aiVerify package:
dpkg -L cortex-ai | grep modelCheck file permissions:
ls -l /usr/lib/cortex-ai/
ls -l /etc/cortex-ai/
ls -l /var/log/cortex-ai/Fix permissions (if needed):
sudo chown -R cortex-ai:cortex-ai /var/log/cortex-ai/
sudo chmod 750 /var/log/cortex-ai/Check memory usage:
free -h
ps aux | grep cortex-aiReduce memory allocation:
Edit /etc/cortex-ai/config.yaml:
ai:
max_memory_mb: 512 # Reduce if neededCheck for memory leaks:
valgrind --leak-check=full cortex-ai reason "test"- Documentation: This wiki
- GitHub Issues: github.com/cortexlinux/cortex/issues
- Community: Discord, Matrix
- Reddit: r/cortexlinux
- Check existing issues: Search GitHub Issues first
- Create issue: github.com/cortexlinux/cortex/issues/new
-
Include information:
- Cortex Linux version
- System information
- Steps to reproduce
- Error messages/logs
Email: security@cortexlinux.org (encrypted preferred)
Do not report security issues in public forums. See Security and Compliance - Vulnerability Reporting.
- Installation: Installation Guide
- Integration: AI Integration Guide
- Use Cases: Use Cases and Tutorials
- Technical Details: Technical Specifications
- Security: Security and Compliance
Last updated: 2024