Skip to content

bamr87/aieo

AIEO - AI Engine Optimization

CI License: MIT Python 3.9+ TypeScript

AIEO (AI Engine Optimization) is the new SEO. Optimize your content to maximize citations from AI engines like Grok, ChatGPT, Claude, Gemini, and Perplexity.

🎯 What is AIEO?

AIEO helps content creators optimize their content to be preferentially cited by AI engines. Instead of optimizing for search engines, optimize for the AI engines that are becoming the primary discovery layer.

Key Features

  • βœ… Content Auditing - Get an AIEO score (0-100) with detailed gap analysis
  • βœ… Pattern Detection - Identify 10 proven AIEO patterns in your content
  • βœ… Optimization Suggestions - AI-powered recommendations to improve citations
  • βœ… Benchmark Comparison - See how your content ranks against others
  • βœ… Web UI - Beautiful interface for content analysis
  • βœ… CLI Tool - Command-line interface for automation
  • βœ… REST API - Integrate AIEO into your workflow

πŸš€ Quick Start

Project Structure

aieo/
β”œβ”€β”€ backend/          # FastAPI backend
β”œβ”€β”€ frontend/         # React frontend
β”œβ”€β”€ cli/             # Python CLI tool
└── docker-compose.yml

Quick Start

Automated Installation (Recommended)

Linux/macOS:

./scripts/install.sh

Windows or Cross-platform:

python scripts/install.py

The installation script will automatically:

  • Check prerequisites
  • Set up backend, frontend, and CLI
  • Configure environment
  • Start Docker services
  • Run database migrations

See INSTALL.md for detailed installation instructions.

Manual Installation

If you prefer manual setup, see INSTALL.md for step-by-step instructions.

Prerequisites

  • Docker and Docker Compose
  • Python 3.9+ (for backend and CLI)
  • Node.js 18+ (for frontend)

Quick Setup

  1. Run installation script:

    ./scripts/install.sh  # Linux/macOS
    # OR
    python scripts/install.py  # Windows/Cross-platform
  2. Edit .env file and add your API keys:

    # Required:
    OPENAI_API_KEY=your-openai-api-key
    # Optional:
    ANTHROPIC_API_KEY=your-anthropic-api-key
  3. Start development servers:

    # Backend (from backend/)
    cd backend
    source venv/bin/activate
    uvicorn app.main:app --reload
    
    # Frontend (from frontend/) - in a new terminal
    cd frontend
    npm run dev
  4. Access the application:

Verification

After installation, verify everything is set up correctly:

./scripts/verify.sh  # Linux/macOS
# OR
python scripts/verify.py  # Windows/Cross-platform

Usage

CLI

# Make sure backend virtual environment is activated
source backend/venv/bin/activate  # Linux/macOS
# OR
backend\venv\Scripts\activate  # Windows

# Audit content
aieo audit https://example.com/article
aieo audit --file article.md

# Optimize content
aieo optimize article.md --output optimized.md

# View dashboard
aieo dashboard

Web UI

Visit http://localhost:5173 to use the web interface.

API

API documentation available at http://localhost:8000/docs

Development

# Run tests
make test

# Format code
make format

# Lint code
make lint

# Clean generated files
make clean

πŸ“š Documentation

🀝 Contributing

We welcome contributions! Please see CONTRIBUTING.md for guidelines.

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments

  • Built with FastAPI
  • Frontend powered by React and TypeScript
  • Inspired by the need to optimize for AI-first discovery

πŸ“ž Support


Made with ❀️ for content creators who want to be cited by AI engines

About

AI Engine Optimization - Optimize content for AI engine citations

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors