title | emoji | colorFrom | colorTo | sdk | sdk_version | app_file | pinned | tags | |||
---|---|---|---|---|---|---|---|---|---|---|---|
Web Agent |
🌐 |
blue |
yellow |
gradio |
5.23.1 |
app.py |
false |
|
A powerful AI-powered web agent that can search the web, summarize webpages, and provide time information across different timezones.
Try out the live demo on Hugging Face Spaces:
- 🔍 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
- Clone the repository
- Install the required dependencies:
pip install -r requirements.txt
- Create a
.env
file based on.env.example
and add your Azure API credentials:
AZURE_ENDPOINT=your_endpoint
AZURE_API_KEY=your_api_key
Run the application:
python app.py
The web interface will be available at http://localhost:7860
The agent comes with several built-in tools:
- Web Search: Search the internet using DuckDuckGo
- Webpage Summarizer: Get summaries of web content
- Timezone Tool: Get current time in any timezone
- Final Answer Tool: Provides conclusive responses to queries
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- Built with Gradio
- Uses SmoLAgents framework
- Azure AI for inference