AIEO (AI Engine Optimization) is the new SEO. Optimize your content to maximize citations from AI engines like Grok, ChatGPT, Claude, Gemini, and Perplexity.
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.
- β 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
aieo/
βββ backend/ # FastAPI backend
βββ frontend/ # React frontend
βββ cli/ # Python CLI tool
βββ docker-compose.yml
Linux/macOS:
./scripts/install.shWindows or Cross-platform:
python scripts/install.pyThe 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.
If you prefer manual setup, see INSTALL.md for step-by-step instructions.
- Docker and Docker Compose
- Python 3.9+ (for backend and CLI)
- Node.js 18+ (for frontend)
-
Run installation script:
./scripts/install.sh # Linux/macOS # OR python scripts/install.py # Windows/Cross-platform
-
Edit
.envfile and add your API keys:# Required: OPENAI_API_KEY=your-openai-api-key # Optional: ANTHROPIC_API_KEY=your-anthropic-api-key
-
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
-
Access the application:
- Web UI: http://localhost:5173
- API Docs: http://localhost:8000/docs
After installation, verify everything is set up correctly:
./scripts/verify.sh # Linux/macOS
# OR
python scripts/verify.py # Windows/Cross-platform# 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 dashboardVisit http://localhost:5173 to use the web interface.
API documentation available at http://localhost:8000/docs
# Run tests
make test
# Format code
make format
# Lint code
make lint
# Clean generated files
make clean- Installation Guide - Detailed setup instructions
- API Documentation - API reference
- CLI Documentation - CLI usage guide
- Patterns Guide - AIEO patterns explained
- Architecture - System design
- Development Guide - Contributing guide
- PRD - Product requirements document
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with FastAPI
- Frontend powered by React and TypeScript
- Inspired by the need to optimize for AI-first discovery
- π Documentation
- π Issue Tracker
- π¬ Discussions
Made with β€οΈ for content creators who want to be cited by AI engines