Automating web browser tasks with Local LLMs (Ollama) & DeepSeek | Alpha | PandaiTech

Automating web browser tasks with Local LLMs (Ollama) & DeepSeek

Learn how to configure LLM providers in the Web UI, select the right AI models (such as DeepSeek or Qwen), and run your first autonomous task.

Learning Timeline
Key Insights

Choosing the Right Model

Models like Qwen or Llama 2 (base versions) might be too limited for complex web navigation. Use DeepSeek-R1 14B or higher for more consistent results.

Advantages of Local LLM vs Cloud

Local LLMs have the potential to solve 'Captchas' that are typically blocked by cloud-based AI like ChatGPT Operator due to security policy restrictions.

Automatic Attempt Limits

The system includes a self-healing feature where it will retry up to 5 times if it fails to interact with a web element before stopping completely.
Prompts

Automated E-Commerce Task

Target: DeepSeek-R1 via Ollama
Go out to network Chuck coffee, find the 404 error coffee and add it to my cart.
Step by Step

How to Configure a Local LLM Provider

  1. Click on the 'LLM configuration' option found in the sidebar or main menu.
  2. Under the 'LLM provider' section, click the dropdown menu and select 'Ollama'.
  3. Go to the 'model name' section to choose the AI model you want to use.
  4. Type or select the specific model name (e.g., 'deepseek-r1:14b').
  5. Ensure the model has been downloaded via the Terminal before proceeding (refer to the Snippet Card).

Running Your First Autonomous Task

  1. Click on the 'Run Agent' tab within the Web UI interface.
  2. Enter the instruction or task you want the AI to perform in the input field (or select the 'demo option' for a quick trial).
  3. Click the 'Run Agent' button to start the process.
  4. Monitor the browser window that opens automatically; the AI will begin labeling and numbering elements on the webpage for navigation.
  5. Let the AI work; if it fails to perform an action, the system will trigger an 'Autocorrecting' process automatically for up to 5 attempts.

More from Local AI & Open Source Deployment

View All