You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
swarms/examples/guides/geo_guesser_agent
Kye Gomez fdf037b965
[FEAT][BatchedGridWorkflow] [Docs] [Example][Geo-Guesser Agent]
1 month ago
..
README.md [FEAT][BatchedGridWorkflow] [Docs] [Example][Geo-Guesser Agent] 1 month ago
geo_guesser_agent.py [FEAT][BatchedGridWorkflow] [Docs] [Example][Geo-Guesser Agent] 1 month ago
miami.jpg [FEAT][BatchedGridWorkflow] [Docs] [Example][Geo-Guesser Agent] 1 month ago

README.md

Geo Guesser Agent - Quick Setup Guide

This example demonstrates how to create an AI agent that can analyze images and predict their geographical location using visual cues.

3-Step Setup Guide

Step 1: Install Dependencies

pip install swarms

Step 2: Prepare Your Image

GEMINI_API_KEY=""

Step 3: Run the Agent

python geo_guesser_agent.py

What It Does

The agent analyzes visual elements in your image such as:

  • Architecture and building styles
  • Landscape and terrain features
  • Vegetation and plant life
  • Weather patterns
  • Cultural elements and signs
  • Any other geographical indicators

Expected Output

The agent will provide:

  • Most likely location prediction
  • Detailed reasoning for the prediction
  • Confidence level assessment

Customization

  • Change the model_name to use different AI models
  • Modify the SYSTEM_PROMPT to adjust the agent's behavior
  • Adjust max_loops for more or fewer analysis iterations