{"id":30956077,"url":"https://github.com/brightdata/geo-ai-agent","last_synced_at":"2025-12-29T23:44:27.641Z","repository":{"id":310395081,"uuid":"1037766289","full_name":"brightdata/geo-ai-agent","owner":"brightdata","description":"AI-powered tool to audit and optimize website content by crawling URLs, analyzing H1s, and generating actionable GEO recommendations with CrewAI.","archived":false,"fork":false,"pushed_at":"2025-08-17T19:37:10.000Z","size":346,"stargazers_count":33,"open_issues_count":0,"forks_count":3,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T21:22:43.629Z","etag":null,"topics":["agent","ai","brightdata","crewai","geo","marketing","python","seo","serp-api","web-scraping"],"latest_commit_sha":null,"homepage":"https://brightdata.com/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brightdata.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-14T05:02:09.000Z","updated_at":"2025-08-17T19:37:14.000Z","dependencies_parsed_at":"2025-08-17T21:22:50.815Z","dependency_job_id":"52268071-e965-4c1f-8f83-26286d803d94","html_url":"https://github.com/brightdata/geo-ai-agent","commit_stats":null,"previous_names":["brightdata/geo-ai-agent"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/brightdata/geo-ai-agent","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brightdata%2Fgeo-ai-agent","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brightdata%2Fgeo-ai-agent/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brightdata%2Fgeo-ai-agent/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brightdata%2Fgeo-ai-agent/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brightdata","download_url":"https://codeload.github.com/brightdata/geo-ai-agent/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brightdata%2Fgeo-ai-agent/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274632623,"owners_count":25321251,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","ai","brightdata","crewai","geo","marketing","python","seo","serp-api","web-scraping"],"created_at":"2025-09-11T12:03:44.826Z","updated_at":"2025-12-29T23:44:27.608Z","avatar_url":"https://github.com/brightdata.png","language":"Python","readme":"\u003cp align=\"center\"\u003e\r\n  \u003ca href=\"https://brightdata.com/\"\u003e\r\n    \u003cimg src=\"https://mintlify.s3.us-west-1.amazonaws.com/brightdata/logo/light.svg\" width=\"300\" alt=\"Bright Data Logo\"\u003e\r\n  \u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n\u003cdiv align=\"center\"\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/python-3.10+-blue\"/\u003e\r\n  \u003cimg src=\"https://img.shields.io/badge/License-MIT-blue\"/\u003e\r\n\u003c/div\u003e\r\n\r\n---\r\n\r\n# 🚀 GEO AI Crew\r\n\r\nGEO Agent Crew uses [CrewAI](https://crewai.com) to automate AI-driven webpage content audits. Enter a URL, and the system accesses the webpage, extracts its title, generates and summarizes related queries using [Gemini with the Google Search tool](https://ai.google.dev/gemini-api/docs/google-search), fetches Google AI Overviews via [Bright Data SERP API](https://brightdata.com/products/serp-api), compares results, and outputs actionable page-level optimization suggestions in Markdown file.\r\n\r\n\u003cimg src=\"https://github.com/brightdata/geo-ai-agent/blob/main/GEO%20diagram.png\"/\u003e\r\n\r\n---\r\n\r\n## 🤖 Understanding Your Crew\r\n\r\nThe `ai-content-optimization-agent` Crew is composed of six AI agents, each with unique roles, goals, and tools. These agents collaborate on a series of tasks, defined in `config/tasks.yaml`, leveraging their collective skills to achieve complex objectives. The `config/agents.yaml` file outlines the capabilities and configurations of each agent in your crew.\r\n\r\n## 🛠️ Installation\r\n\r\nEnsure you have **Python \u003e=3.10 \u003c3.14** installed on your system.\r\n\r\nThis project uses [`uv`](https://docs.astral.sh/uv/) for dependency management and package handling.\r\nFirst, if you haven't already, install `uv`:\r\n\r\n```bash\r\npip install uv\r\n```\r\n\r\nNext, navigate to your project directory and install the project's dependencies:\r\n\r\n```bash\r\ncd geo-ai-agent\r\nuv sync\r\n```\r\n\r\n---\r\n\r\n## 🔑 Environment Configuration\r\n\r\nThis project requires four environment variables to work:\r\n- **`GEMINI_API_KEY`**: Your Gemini API key.\r\n- **`MODEL`**: The name of the Gemini model to power your crew of agents (e.g., `gemini/gemini-2.5-flash`).\r\n- **`BRIGHT_DATA_API_KEY`**: Your [Bright Data API key](https://docs.brightdata.com/api-reference/authentication).\r\n- **`BRIGHT_DATA_ZONE`**: The name of the [Web Unlocker zone in your Bright Data dashboard](https://docs.brightdata.com/scraping-automation/web-unlocker/quickstart) you want to connect to.\r\n\r\nDefine them directly in your terminal or place them in a `.env` file at the root of your project:\r\n```\r\ngeo-ai-agent/\r\n├── ...\r\n├── .env # \u003c---\r\n└── src/\r\n    └── ai_content_optimization_agent/\r\n        └── ...\r\n```\r\nPopulate the `.env` file like this:\r\n```\r\nGEMINI_API_KEY=\"\u003cYOUR_GEMINI_API_KEY\u003e\"\r\nMODEL=\"\u003cCHOSEN_GEMINI_MODEL\u003e\"\r\nBRIGHT_DATA_API_KEY=\"\u003cBRIGHT_DATA_API_KEY\u003e\"\r\nBRIGHT_DATA_ZONE=\"\u003cYOUR_BRIGHT_DATA_ZONE\u003e\"\r\n```\r\n\r\n## ▶️ Running the Project\r\nActivate the `.venv` created by the `uv sync` command:\r\n```bash\r\n source .venv/bin/activate\r\n```\r\nOr, on Windows:\r\n```powershell\r\n.venv/Scripts/activate\r\n```\r\n\r\nWith the virtual environment activated, start your crew of AI agents by running the following command from the root folder of your project:\r\n\r\n```bash\r\ncrewai run\r\n```\r\n\r\nThis command initializes the `ai-content-optimization-agent` crew, assembling the agents and assigning them tasks as defined in the CrewAI configuration files.\r\n\r\n☑️ This application will produce a `output/report.md` file, along with other `ouput/*.md` files containing intermediate data and results from the agents.\r\n\r\n---\r\n\r\n### ⚙️ Customizing\r\n- 🔧 Update the `MODEL` environment variable to change the Gemini model used by this crew of agents.\r\n- 🧑‍💻 Edit `src/ai_content_optimization_agent/config/agents.yaml` to modify the definitions of the agents. \r\n- 📋 Edit `src/ai_content_optimization_agent/config/tasks.yaml` to modify the definitions of the tasks assigned to the agents. \r\n- 🛠️ Update `src/ai_content_optimization_agent/crew.py` to integrate other AI models or add your own logic and tools.\r\n- ⚡ Edit `src/ai_content_optimization_agent/main.py` to add custom inputs for your agents and tasks.\r\n\r\n---\r\n\r\n## 💬 Support\r\n\r\nFor support, questions, or feedback regarding the `ai-content-optimization-agent` Crew or CrewAI:\r\n\r\n- ☀️ Visit Bright Data's [SERP API docs](https://docs.brightdata.com/scraping-automation/serp-api/introduction)\r\n- 📖 Visit CrewAI's [documentation](https://docs.crewai.com)\r\n- 🐙 Reach out to CrewAI through the [GitHub repository](https://github.com/joaomdmoura/crewai)\r\n- 💬 [Join Discord](https://discord.com/invite/X4JWnZnxPb)\r\n- 💡 [Chat with CrewAI's docs](https://chatg.pt/DWjSBZn)\r\n\r\n---\r\n\r\n✨ Let's create wonders together with the power and simplicity of Bright Data \u0026 CrewAI.\r\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightdata%2Fgeo-ai-agent","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrightdata%2Fgeo-ai-agent","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightdata%2Fgeo-ai-agent/lists"}