Stress-testing a local 4B search agent in Ollama: it caught fake sources but trusted a stale official page
- Hardware
- Windows 11 on an RTX 4060 laptop with 8 GB of VRAM
- Models & engines
- Ollama with qwen3:4b-instruct-2507-q4_K_M
- Key gotcha
- It's one small model on a seeded toy corpus and says nothing about the paper's 12 agents; the score in the video is the author's adaptation.
What they built
The DeepStress paper ('Stress-Testing Deep Search Agents', arXiv 2607.13920) tests search agents with documents whose trust, relevance and factuality are controlled separately, but its code isn't public yet.
So the author built their own prototype, DeepStress-Mini: 30 questions about invented companies and documents, answered by a 4B model that can only search a seeded local file, with no internet.
They ran three prompts, three runs of 30 questions each, and posted the results with a video walkthrough, including where their own grading went wrong.
Setup
- Windows 11 on an RTX 4060 laptop with 8 GB of VRAM
- Ollama with qwen3:4b-instruct-2507-q4_K_M
- One tool: a local search over a seeded file, up to 4 steps per question
- Question sets: Q01-Q10 trusted documents, Q11-Q17 a stale 2019 fact sheet plus a 2026 update, Q18-Q20 the stale 2019 page only, Q21-Q30 fabricated sources
How it works
- Each question is answered by the agent searching the local file and returning an answer with a stated confidence, or abstaining.
- Runs were repeated with a hint prompt, no hint, and a third prompt giving today's date and telling it to abstain if the only evidence is over a year old.
- Outcomes follow the paper's categories: Correct, Incorrect, Abstention, Exceed tool budget, or Missing answer tag.
Results & numbers
- On fabricated sources it abstained on 30 of 30 with the hint prompt and on 27 without it, slipping on 3.
- On the stale-only questions it was wrong 9 of 9 in both the hint and no-hint runs, answering one with 0.99 confidence even though its reason said 'as of the 2019 survey'.
- Stated confidence averaged about 0.99 on stale-only, 0.96 on trusted and 0.34 on fabricated sources.
- Telling it the date still left 6 of 9 stale-only questions answered, and it began abstaining on 15 of 51 good-evidence answers, all with zero tool calls.
Gotchas
- It's one small model on a seeded toy corpus and says nothing about the paper's 12 agents; the score in the video is the author's adaptation.
- The author first mis-scored hedged answers and had to fix the grader and regrade every run.
- Some abstains they blamed on empty search results were actually zero tool calls, so log tool calls before drawing conclusions.
“It was most sure when it was wrong.”— Prompt Engineer 48 (@prompt48)
Do it yourself
- Install Ollama and pull a small instruct model such as qwen3:4b-instruct-2507-q4_K_M.
- Write a seeded document file with invented facts: trusted pages, an old official-looking page with and without a newer update, and fabricated sources.
- Give the model a single local search tool and a step limit, and ask it to answer with a confidence or abstain.
- Run each question set several times under different prompts, log tool calls, and count correct, incorrect and abstained answers per set.
Similar setups
A Meshtastic station that sends an honest automatic receipt when nobody answers
A Meshtastic user built a Python monitor that waits 90 seconds for a human to answer a radio check and, if nobody does, sends a clearly labeled automatic receipt, with a small Qwen3 model on Ollama only classifying messages.
A local news-reading agent on Ollama that loses internet access while it thinks
A developer built News Scout, a Qwen3 14B agent on Ollama that picks IT stories from five RSS feeds, then split each run so the model reads the cached feeds inside a macOS sandbox with no internet.
Translating text in camera frames with TranslateGemma 4B in Ollama
A developer sent 1920x1080 images straight to TranslateGemma 4B in Ollama to translate English seen through XR glasses, and measured about 30 seconds per new image on a laptop CPU versus about 0.7 seconds on an NVIDIA GPU.
OpenCode on a CPU-only Intel i7 laptop talking to local Ollama coder models
Idada Osaigbovo James wires OpenCode on a Dell Latitude 5430 (i7-1265U, 32 GB RAM, Iris Xe) to Ollama’s local OpenAI-compatible API and runs Qwen2.5-Coder 1.5B/7B with no cloud subscription.