You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SearXNG is a privacy-respecting, self-hosted metasearch engine that aggregates results from various search engines. This document explains how to configure SearXNG search in Agent TARS.
6
+
7
+
## How to Use
8
+
9
+
[search-searxng](../images/search-searxng.png)
10
+
11
+
## Configuration Options
12
+
13
+
### Basic Configuration
14
+
15
+
To use SearXNG search, you need to specify the following parameters:
16
+
17
+
| Parameter | Description | Default Value |
18
+
|-----------|-------------|---------------|
19
+
|`baseUrl`| URL of the SearXNG instance |`https://127.0.0.1:8081`|
20
+
21
+
### Advanced Options
22
+
23
+
> The following configurations are optional and currently use default values. In the future, configuration via the GUI will be supported.
24
+
25
+
When performing searches, you can customize the following options:
26
+
27
+
| Option | Description | Default Value |
28
+
|--------|-------------|---------------|
29
+
|`count`| Maximum number of results to return | 10 |
30
+
|`language`| Search language code |`zh-CN`|
31
+
|`categories`| Categories to search in (e.g., general, images, news) |`['general']`|
32
+
|`time_range`| Time range for results (e.g., day, week, month, year) | - |
You can use a public SearXNG instance by setting the `baseUrl` to the instance URL. However, for privacy and reliability reasons, we recommend hosting your own instance.
40
+
41
+
### Self-Hosting SearXNG
42
+
43
+
To set up your own SearXNG instance:
44
+
45
+
1. Follow the [official SearXNG installation guide](https://searxng.github.io/searxng/admin/installation.html)
46
+
2. Configure your instance according to your needs
47
+
3. Update the `baseUrl` in Agent TARS settings to point to your instance
0 commit comments