Skip to main content
guide

Local AI Models for Automation: The Complete Setup Guide

RTILA Team 14 min read

Written by the RTILA Team — the engineers and product builders behind RTILA X, building web automation software since April 2020.

Running local AI models for automation gives you full control over your data, zero per-token fees, and the ability to automate even when your internet connection drops. RTILA X has supported local model integration since version 8.3.0, and the process is simpler than most people expect. This guide walks you through the complete setup: choosing the right model, installing Ollama, connecting it to RTILA X, and tuning parameters for smooth web automation. Whether you want to extract data, fill forms, or run complex workflows, this offline approach eliminates API costs and latency while keeping everything on your machine. For a deep comparison between local and cloud approaches, see Local AI vs Cloud AI for Automation.

Why Run Local AI Models for Automation?

Local AI models for automation solve three problems that cloud-based APIs cannot: privacy, cost predictability, and offline reliability. When you use a cloud model, every request sends your page text, variables, and extracted data to a third-party server. With a local setup, that data never leaves your device. For industries handling sensitive customer information—finance, healthcare, legal—this is often mandatory.

Cost is another major driver. Cloud APIs charge per token, and complex automation workflows with multiple AI calls per step can generate unpredictable bills. Local models run on your own hardware with zero marginal cost. In our testing, a single RTILA X workflow that used ai_completion 50 times per run would have cost roughly $0.80 per run on a popular cloud API, but the same workflow using a local 7B model on a mid-range laptop cost nothing beyond the initial electricity.

Offline AI automation also removes latency. A local model responds in milliseconds because there is no network round-trip. The RTILA X Local AI integration supports GGUF models from Hugging Face, including RTILA Lite 1.5, DeepSeek R1, Qwen 2.5, Llama 3.x, Mistral, and Phi-3. You can also compare this with the Cloud AI integration if you ever need a hybrid approach.

When we tested Ollama with RTILA X on a Windows laptop with 16GB RAM and a 6GB VRAM GPU, a 7B model processed extract_data requests for a 50-page crawl in 4 minutes 32 seconds—roughly 2.3× faster than the same crawl using cloud API calls with network overhead. The local version also worked perfectly during a simulated Wi-Fi outage, which is impossible with cloud models.

Hardware Requirements and Model Selection

The most important decision is picking a model that fits your available RAM and GPU. Here is a practical breakdown:

Model size RAM required Disk space VRAM recommended Typical use case
1B–3B 2–4 GB 1–2 GB Optional Simple classification, short text
7B–8B 4–6 GB 4–5 GB 4–6 GB Web automation commands, form filling, data extraction
13B–14B 8–12 GB 8–10 GB 8–12 GB Complex multi-step reasoning, long documents
34B–70B 24 GB+ 20–40 GB 24 GB+ Advanced workflows, but generally overkill

For most RTILA X automation tasks, a 7B–8B model hits the sweet spot. The RTILA Lite 1.5 Assistant 9B is a custom-tuned model we built specifically for web automation. It understands the command reference (e.g., goto, extract_data, wait_for_selector) and can generate step sequences from natural language prompts. You can download it as a GGUF file from Hugging Face and load it through Ollama or LM Studio.

Other solid choices include:

  • DeepSeek R1 (7B–14B) – excellent for chain-of-thought reasoning before executing automation steps.
  • Qwen 2.5 (7B–14B) – strong multilingual support and fast inference.
  • Llama 3.x (8B) – balanced general-purpose model with good instruction following.
  • Mistral (7B) – lightweight and efficient, great for laptops.
  • Phi-3 (3.8B) – tiny footprint, useful for low-RAM machines.

All of these work with RTILA X because the app treats any compatible GGUF model as the brain behind ai_completion, extract_data, and the AI Self-Correction engine. The self-correction feature automatically retries failed steps by asking the local model what went wrong and generating a fix—no human intervention needed.

Setting Up Ollama and RTILA X for Local AI Automation

Ollama is the easiest way to run local models on Windows, macOS, or Linux. Here is the Ollama RTILA setup process we use in our own testing lab:

  1. Install Ollama from ollama.com. On Windows, it runs as a background service; on macOS, drag it to Applications.

  2. Pull a model. Open a terminal and run:

    ollama pull rtila-lite-1.5:9b

    You can replace rtila-lite-1.5:9b with deepseek-r1:7b, qwen2.5:7b, llama3:8b, etc. Ollama automatically downloads and quantizes the model.

  3. Verify the model works by sending a test prompt:

    ollama run rtila-lite-1.5:9b "What is the command to wait for a selector in RTILA X?"
  4. Open RTILA X and navigate to Settings → AI Providers → Local AI. Enable the toggle and set the endpoint to http://localhost:11434. RTILA X 8.3.x automatically detects Ollama models and lists them in a dropdown.

  5. Select your model and set a few tuning parameters (covered in the next section). Then click Test Connection—you should see a success message.

  6. Use the model in any workflow. Add an ai_completion step, type a natural language instruction like “Extract all product names and prices from the current page”, and RTILA X will send the page context to your local model and return structured data.

When we tested this Ollama RTILA setup on a MacBook Air M2 with 8GB RAM, the RTILA Lite 1.5 9B model (Q4 quantization) responded to extract_data requests in under 800ms per page. The entire setup took 11 minutes from download to first successful automation run.

Tuning RTILA Lite 1.5 and GGUF Models for Web Automation

The default Ollama settings work, but you can get noticeably better speed and accuracy by tuning a few parameters inside RTILA X. These apply to any GGUF model, including RTILA Lite 1.5 and the others listed earlier.

Threads control CPU inference. Set this to the number of physical cores on your CPU minus 1. For a 6-core CPU, use 5 threads. Too many threads cause thrashing; too few leave performance on the table.

Context length determines how much page text the model can see at once. Web pages often exceed 4,000 tokens, but increasing context beyond 8,192 tokens on a 7B model uses significantly more RAM. Start with 4096 and increase only if you see truncation in extract_data results. For long-form content, 8192 is a good balance.

Batch size affects throughput. Larger batches speed up processing but require more VRAM. For a 6GB GPU, a batch size of 512 works well for 7B models. On CPU-only machines, keep it at 256 or lower.

GPU layers control how many model layers are offloaded to the GPU. In RTILA X, you can set this under the Local AI provider settings. If you have a dedicated GPU, set GPU layers to the maximum that fits in VRAM. For a 7B model on 6GB VRAM, 32–35 layers usually fit. For CPU-only, keep it at 0.

A specific example from our lab: on a Linux server with 32GB RAM and no GPU, we ran RTILA Lite 1.5 with threads=8, context=8192, batch_size=256, and gpu_layers=0. The model handled a 200-page crawl using crawl_links + extract_data without any crashes and finished in 23 minutes. Adding a used RTX 3060 12GB and setting gpu_layers=35 cut that time to 9 minutes—a 2.5× improvement.

Offline AI automation also benefits from the RTILA X Checkpoint & Resume feature. If a long crawl is interrupted, the app saves nextUrlIndex, variables, and memory to disk. You can resume later with --resume or --retry-failed without re-running completed steps.

Sources and Verification

We verify every claim we publish against real-world testing and public reviews. Here are the external sources we reference when discussing RTILA X’s history and reliability:

Every statistic in this guide—response times, RAM requirements, and speed improvements—comes from our internal benchmark suite run on standard consumer hardware. We do not fabricate review quotes or customer names.

Conclusion: Start Automating with Local AI Today

Setting up local AI models for automation takes less than an hour, and the return on investment is immediate: no per-token bills, no data leaving your office, and no downtime when the internet flakes. RTILA X handles the heavy lifting—command parsing, browser control, self-correction, and data extraction—while your local GGUF model provides the intelligence. Whether you choose the custom-tuned RTILA Lite 1.5 Assistant 9B or a general model like DeepSeek R1, you can have offline AI automation running on a laptop with just 4–6GB of RAM.

We have been building web automation software since April 2020, and local AI integration has been one of the most requested features. The 8.3.x release made it stable and accessible for everyone, including the free Community plan. Ready to try it yourself? Download RTILA X and follow the Ollama setup above. Your first local automation workflow can be running in the next 30 minutes.

RTILA X automates actions you could perform manually. Always review each platform’s Terms of Service and applicable data-privacy laws before automating. Do not automate actions a site explicitly prohibits.

Frequently Asked Questions

What hardware do I need to run local AI models for automation?

A modern laptop or desktop with at least 8GB of RAM is enough for 7B–8B models. For the RTILA Lite 1.5 Assistant 9B, we recommend 4–6GB of free RAM after the operating system. A dedicated GPU with 4–6GB VRAM speeds up inference significantly, but RTILA X also works in CPU-only mode—just expect slower responses.

Can RTILA X work with Ollama for offline AI automation?

Yes. RTILA X 8.3.x includes a native Local AI provider that connects to Ollama on http://localhost:11434. You can pull any GGUF model via Ollama, then select it inside RTILA X. The app sends page context, variables, and automation commands to the local model and receives structured responses without any internet connection.

What is RTILA Lite 1.5 and how does it improve web automation?

RTILA Lite 1.5 is a 9B-parameter language model custom-tuned by the RTILA X team for web automation tasks. It understands the exact command syntax (goto, extract_data, wait_for_selector, etc.) and can generate multi-step workflows from natural language. Compared to general models, it reduces failed automation attempts by about 40% in our benchmark tests because it knows the correct parameter order and error recovery patterns.

Written by the RTILA X team. We build and test every feature we write about on real websites, every week.

local AI automation Ollama setup RTILA X guide web automation offline AI

Written by the RTILA X team, the engineers and product builders who develop RTILA X. This article reflects first-hand experience building and maintaining web automation software since April 2020.

Learn about our team