Google's API Improvement Proposals (AIPs) formatted for easy consumption by Large Language Models. This repository provides pre-processed versions of the official Google AIP documentation optimized for LLM context windows.
API Improvement Proposals (AIPs) are design documents that provide high-level, concise documentation for API development at Google. They serve as the source of truth for API design guidance and help teams build consistent, intuitive APIs.
| File | Description |
|---|---|
llm.txt |
Overview with AIP titles and links to raw source files |
llm-full.txt |
Complete content of all AIPs in a single file |
llm-<category>-full.txt |
Category-specific files (e.g., llm-general-full.txt, llm-auth-full.txt) |
Each AIP in the full files is delimited with --- AIP-XXX START --- and --- AIP-XXX END --- markers for easy parsing.
Point your LLM tool to the raw GitHub URLs:
https://raw.githubusercontent.com/pixlcrashr/google.aip.dev-llm/main/llm.txt
https://raw.githubusercontent.com/pixlcrashr/google.aip.dev-llm/main/llm-full.txt
https://raw.githubusercontent.com/pixlcrashr/google.aip.dev-llm/main/llm-general-full.txt
Clone and use the files directly:
git clone --recurse-submodules https://github.com/pixlcrashr/google.aip.dev-llm.gitThe LLM files are generated from the official AIP repository (included as a git submodule).
- Python 3.10+
# Clone with submodules
git clone --recurse-submodules https://github.com/pixlcrashr/google.aip.dev-llm.git
cd google.aip.dev-llm
# Or update submodules if already cloned
git submodule update --init --recursive
# Generate the files
python gen-llm.pyContributions are welcome! Here's how you can help:
- Report issues - If you find problems with the generated files or the script
- Improve the generator - Submit PRs to enhance
gen-llm.py - Update documentation - Help improve this README
# Fork and clone the repository
git clone --recurse-submodules https://github.com/YOUR_USERNAME/google.aip.dev-llm.git
# Make your changes
# ...
# Regenerate files to test
python gen-llm.py
# Submit a pull requestI would appreciate it if these LLM-friendly files could be added to the official google.aip.dev repository. Having llm.txt and related files generated as part of the official build process would ensure they stay up-to-date and provide a canonical source for LLM tooling. If you're interested, feel free to adapt the generator script or reach out!
The AIP content is sourced from google.aip.dev and is subject to its original license. The generator script and this repository's additions are provided as-is.