File size: 1,484 Bytes
2705160
 
62ad9da
 
 
2705160
 
 
 
d123508
 
2705160
 
539dfc6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47bf784
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
title: Template Final Assignment
emoji: πŸ•΅πŸ»β€β™‚οΈ
colorFrom: indigo
colorTo: indigo
sdk: gradio
sdk_version: 5.25.2
app_file: app.py
pinned: false
hf_oauth: true
hf_oauth_expiration_minutes: 480
---

# Web Search Agent

## Description

This project is a wrapper of the Open Search agent from the smolagents library, with some minor modifications. It creates a base agent that can search the web and answer questions by navigating through web content, analyzing pages, and extracting relevant information.

The core idea is to establish a foundation agent that can be expanded with additional tools to improve performance for specific tasks. By adding specialized tools, the agent can be customized to handle various domains and use cases more effectively.

## Author

Created by: Guillermo Izquierdo

## Features

- Web search using SerpAPI
- Page navigation and content analysis
- Text search within pages
- Support for various document formats (PDF, DOCX, etc.)
- Visual content analysis
- Modular architecture for easy extension

## Extending the Agent

The agent is designed to be easily extended with new tools. Look for the commented sections in `agent_open_search.py` that indicate where to add custom tools:

```python
# ===== ADD YOUR CUSTOM TOOLS HERE =====
```

By adding specialized tools, you can enhance the agent's capabilities for specific domains or tasks.

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference