Skip to main content
Agent LoL Logo

Welcome to Agent LoL

Agent LoL is a League of Legends stats and coaching platform that helps you understand your gameplay and improve faster. Powered by the Riot Games API and AI-driven analysis, it provides detailed match breakdowns, performance metrics, and personalized coaching recommendations.

Key Features

Match Lookup

Search and view detailed statistics for any League of Legends match

Stats Analysis

Deep dive into player performance with comprehensive statistics

AI Coaching

Get personalized improvement tips powered by OpenAI

Replay Viewer

Watch 2.5D match replays with timeline visualization

How It Works

Agent LoL integrates with the Riot Games API to fetch real-time match data for any summoner. The platform analyzes your gameplay minute-by-minute, comparing your performance against opponents in the same role. Using AI, it identifies critical moments where you fell behind or gained advantages, then provides actionable coaching feedback to help you improve.

Quick Start

Get started in under 5 minutes

Authentication

Learn how to authenticate with Riot API

API Reference

Explore the API endpoints

Configuration

Configure your environment

What You’ll Need

  • Riot Games API Key: Get a free development key from the Riot Developer Portal
  • League of Legends Account: Your summoner name and tag line
  • OpenAI API Key (optional): Enable AI-powered coaching recommendations
Development API keys from Riot Games expire every 24 hours. You’ll need to regenerate your key daily for continuous access.

Technology Stack

Agent LoL is built with modern web technologies:
  • Next.js 16 - React framework with App Router
  • NextAuth - Authentication with Riot credentials
  • React Query - Data fetching and caching
  • Three.js & React Three Fiber - 2.5D replay visualization
  • Tailwind CSS - Styling and design system
  • OpenAI GPT-4 - AI-powered coaching analysis

Get Started

Ready to level up your League of Legends gameplay? Follow our quickstart guide to set up Agent LoL in minutes.

Build docs developers (and LLMs) love