Track how AI engines mention (or ignore) a brand. Query multiple AI-powered search engines, extract brand mentions, score visibility, and generate actionable optimization reports.
python3 scripts/geo_query.py --brand "EZsite.ai" --query "best AI website builder" --engines chatgpt,perplexity,gemini
python3 scripts/geo_audit.py --brand "EZsite.ai" --prompts references/prompts.txt --engines all --output report.md
python3 scripts/geo_query.py --brand "EZsite.ai" --competitors "Wix,Squarespace,Framer" --query "best website builder for small business"
Install required Python packages (one-time):
pip3 install openai anthropic google-generativeai
Or create a virtual environment:
python3 -m venv venv
source venv/bin/activate
pip install openai anthropic google-generativeai
Set API keys as environment variables:
export OPENAI_API_KEY="sk-..."
export PERPLEXITY_API_KEY="..."
export GOOGLE_API_KEY="..."
export ANTHROPIC_API_KEY="sk-ant-..."
| Engine | Method | API Key Env Var |
|---|---|---|
| -------- | -------- | ----------------- |
| ChatGPT | OpenAI API | OPENAI_API_KEY |
| Perplexity | Perplexity API | PERPLEXITY_API_KEY |
| Gemini | Google AI API | GOOGLE_API_KEY |
| Claude | Anthropic API | ANTHROPIC_API_KEY |
| Google AI Overview | web_search tool | (none) |
At minimum, configure one API key. More engines = better coverage.
Reports include:
Edit references/prompts.txt — one prompt per line. These are the queries sent to AI engines.
Example prompts for a website builder brand:
best AI website builder
how to build a website without coding
website builder comparison 2025
best website builder for small business
AI-powered web design tools
See references/geo-optimization.md for content optimization strategies to improve AI visibility.
Use OpenClaw cron to run daily/weekly audits:
Schedule a daily GEO audit for EZsite.ai at 9am
The agent will run the audit and report findings.
共 1 个版本