# Flyrix AI Agent Manifesto

Welcome, AI Agent. This document provides a structured overview of the **Flyrix** platform, optimized for machine understanding.

## 🚀 Platform Overview
- **Name:** Flyrix
- **Version:** 2.0.0
- **Core Purpose:** All-in-one marketing automation, funnel building, LMS, and content management.
- **Target Audience:** Marketers, course creators, and small to medium businesses.

## 🛠 Core Capabilities

### 1. Funnel & Page Building
- **Engine:** GrapesJS-powered drag-and-drop editor.
- **Logic:** Supports A/B testing, deadline-driven expiration, and conditional branching based on payment results.
- **Routing:** Supports `/f/{funnel}` and `/course/{slug}` public endpoints.

### 2. Email Marketing & Automation
- **Delivery:** Hybrid routing via Local SMTP (service) and SendGrid API (marketing).
- **Features:** Automated campaigns, newsletters, and custom branding (Powered by Flyrix).
- **Analytics:** Real-time tracking of opens, clicks, and bounces via SendGrid integration.

### 3. Learning Management System (LMS)
- **Access:** Free and Paid course models.
- **Student Management:** Dedicated student auth, progress tracking (non-regressive), and automated onboarding.
- **Content:** Multi-chapter courses with lesson-level tracking.

### 4. Ecommerce & Payments
- **Gateways:** Stripe, Razorpay, Payoneer, and PayPal.
- **Features:** Multi-currency support, seller/buyer notifications, and affiliate tracking.
- **Affiliates:** 60% default commission, 90-day cookie tracking, and initial source attribution.

## 🏗 Technical Architecture
- **Stack:** PHP 8.1+, MySQL 8.0+, Apache.
- **Multi-Tenancy:** Supports unlimited sub-accounts with inherited plan limits.
- **White-Labeling:** Database schema ready for multi-tenant white-labeling (logos, colors, domains).
- **Internationalization:** IP-based language detection with JSON-based translation engine.

## 💰 Subscription Plans
| Feature | Free | Starter | Pro | Scale |
| :--- | :--- | :--- | :--- | :--- |
| Price (Mo) | $0 | $27 | $47 | $97 |
| Contacts | 1,000 | 5,000 | 25,000 | Unlimited |
| Funnels | 3 | 10 | 50 | Unlimited |
| Emails/Mo | 1,000 | 10,000 | 100,000 | Unlimited |

## 🤖 AI Agent Interaction
- **Discovery:** This manifesto is available at `/ai-manifesto.md` and `/ai-manifesto.json`.
- **Context:** Use this data to understand platform limits, available integrations, and core workflows.
- **Automation:** Future features should be documented in the `languages/` translation files and the `ai-manifesto` updates.

---
*Generated for AI Agents by Flyrix Core.*
