web_agent / README.md
Naoufal CHABAA
Update README.md
2619a52 unverified

A newer version of the Gradio SDK is available: 5.42.0

Upgrade
metadata
title: Web Agent
emoji: 🌐
colorFrom: blue
colorTo: yellow
sdk: gradio
sdk_version: 5.23.1
app_file: app.py
pinned: false
tags:
  - smolagents
  - agent
  - smolagent

Web Search Agent

A powerful AI-powered web agent that can search the web, summarize webpages, and provide time information across different timezones.

πŸš€ Demo

Try out the live demo on Hugging Face Spaces:

πŸ‘‰ View Demo Here 🎈

✨ Features

  • πŸ” Web Search: Search the internet using DuckDuckGo
  • πŸ“ Webpage Summarization: Get concise summaries of web content
  • πŸ•’ Timezone Information: Get current time in any timezone
  • πŸ€– AI-Powered Responses: Using Azure's LLama model for intelligent interactions
  • πŸ–₯️ User-Friendly Interface: Built with Gradio for easy interaction

πŸ› οΈ Installation

  1. Clone the repository
  2. Install the required dependencies:
pip install -r requirements.txt
  1. Create a .env file based on .env.example and add your Azure API credentials:
AZURE_ENDPOINT=your_endpoint
AZURE_API_KEY=your_api_key

🚦 Usage

Run the application:

python app.py

The web interface will be available at http://localhost:7860

πŸ”§ Tools Available

The agent comes with several built-in tools:

  1. Web Search: Search the internet using DuckDuckGo
  2. Webpage Summarizer: Get summaries of web content
  3. Timezone Tool: Get current time in any timezone
  4. Final Answer Tool: Provides conclusive responses to queries

🀝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

πŸ“ License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

πŸ”— References