Dharmendra016/AI_Agent

★ 0Forks 0JavaScriptGitHub ↗Compare

README

AI Weather Agent

This project is a simple Node.js AI agent that uses Google's Gemini API to answer user queries and fetch current weather information for any location using the WeatherAPI service.

Features

  • Interactive command-line interface
  • Integrates with Google Gemini (via @google/genai)
  • Fetches real-time weather data using WeatherAPI
  • Supports .env configuration for API keys

Prerequisites

  • Node.js (v18+ recommended)
  • WeatherAPI and Google Gemini API keys

Setup

  1. Clone the repository and navigate to the project directory.

  2. Install dependencies:

    npm install
    cp .env.example .env
    node server.js

Contributors

Dharmendra016

Issues