A custom websearch agent useable with Ollama, SearXNG, and vLLM.
-
Install Anaconda:
Download and install https://www.anaconda.com/. -
Create and activate your virtual environment:
conda create -n agent_env python pip conda activate agent_env
git clone https://github.com/manjaroblack/custom_websearch_agent.git
cd custom_websearch_agent
pip install -r requirements.txt
-
Download and install Ollama: https://ollama.com/download
-
Create a custom Model:
ollama create llama3_agentic -f ./MODELFILE
-
Setup a SearXNG Server: Repo: https://github.com/searxng/searxng
-
Configure SearXNG Copy the files in the SearXNG folder to your settings location
- /etc/searxng
- /usr/local/searxng
python agent.py run
Then enter your query.