ArticleAutomation & toolsAndroid6 min read

How to Add Web Search to Local AI on Your Android Phone in 2026 (Your Own SearXNG, Brave or Tavily Key)

Give the local AI on your Android phone today's facts. Turn on Web search in OGAM, then use the free built-in search, your SearXNG server or your own key.

On this page
  1. What you need
  2. Step 1: Check that Web search is on
  3. Step 2: Choose where searches go
  4. Step 3: Add your server or key, then test
  5. Step 4: Ask something that needs today’s answer
  6. When it doesn’t work
  7. Privacy and cost
  8. FAQ
  9. Related

A local model on your Android phone knows what it learned in training and nothing after. Off Grid AI Mobile (OGAM) lets it look things up. Turn on the Web search tool and the model searches when a question needs today’s facts, then answers from the results. Built-in search is free with no key, or you can send searches to your own SearXNG server or your Brave Search or Tavily key.

Download Off Grid AI Mobile · Get the Android app on GitHub

Off Grid AI Mobile

What you need

  • An Android phone with OGAM 0.0.129 or later. That release brought the provider picker and the Test button.
  • A downloaded chat model that can call tools. If the model can’t, the Tools row in the composer shows N/A.
  • A network connection while you search. The model itself still runs on your phone.
  • Optional: the address of your own SearXNG server, or an API key from Brave Search or Tavily.
  • No account and no payment. Web search is part of the free app.

Step 1: Check that Web search is on

  1. Open a chat and tap the gear icon in the message box (Chat options).
  2. Tap Tools. You see a list of switches, with Web search (“Looks things up on the web when the answer needs today’s facts.”) and Read a web page (“Reads a web page you share and answers from it.”).
  3. Make sure both switches are on. They are on by default in a fresh install.

Under Web search you see a small line with the provider in use, Built in at first. Keep the list short. The screen itself says “Fewer tools, faster answers. Two or three is plenty for most chats.”

Step 2: Choose where searches go

Tap the words Web search (not the switch). The Web search screen opens with the line “Where searches go when a model looks something up.” Pick one:

Choice What the screen says What you add
Built in Free. No account or key. Nothing
Your SearXNG server Private search on a server you run. Server address
Brave Search API Your key from api-dashboard.search.brave.com. API key
Tavily Your key from app.tavily.com. API key

The list goes on with more key-based services, among them Exa, Serper, Kagi, Perplexity, SerpApi and Mojeek. Each one works the same way as Brave and Tavily.

A pick applies the moment you tap it.

Built in asks DuckDuckGo Lite first. It falls back to Bing only when Bing’s results mention a word from your question, and then to Brave’s public results page. You don’t set anything up.

Step 3: Add your server or key, then test

For SearXNG: type the full address in Server address, with http:// for a server on your home network, for example http://192.168.1.20:8888. If you leave the scheme out, the app adds https://, which a plain home server won’t answer.

For Brave or Tavily: paste the key in API key.

Tap Test. The app saves what you typed and sends one search to that provider only. A green Works means it answered. Did not answer comes with the reason, such as “the key or server refused the request” or “could not reach it”.

Once a key is saved, the field turns into a line that reads Key saved on this device, with icons to Replace key and Remove key. OGAM keeps the key in Android Keystore, outside app settings and backups. Each provider keeps its own key, so you can switch from Brave to Tavily and back without pasting again.

With your own provider chosen, the screen adds “If it does not answer, the built-in search steps in.” A spent key or a server that’s down never leaves the model without the web.

Step 4: Ask something that needs today’s answer

Go back to the chat and ask normally. The model decides when to search. If it finds a promising result but the snippet is thin, it can open the page with Read a web page. You can also paste a link and ask about it directly.

For example, you’re at a train station and want to know whether a match tonight is still on. Ask “Is the India vs Australia game in Mumbai still on tonight, and what time does it start?” The model searches through your chosen provider, reads the top results and answers with the time and venue. Then ask a follow-up like “Summarise the weather forecast for that area,” and it searches again.

When it doesn’t work

Symptom Check Fix
Tools shows N/A The active model can’t call tools Switch to a model that can. See how to pick the best model on your Android phone
The model answers from memory and never searches Web search switch is off, or too many tools are on Turn Web search on and switch off tools you don’t need
SearXNG test: “the key or server refused the request” SearXNG returns JSON only when its settings allow it In your SearXNG settings.yml, add json under search: formats:, restart it, then tap Test again
SearXNG test: “could not reach it” Address has https:// or the phone is on mobile data Use http:// and the server’s local IP, and join the same Wi-Fi
Brave or Tavily test: “too many searches, try again soon” Your plan’s rate limit Wait a minute, or check your plan on the provider’s dashboard

Privacy and cost

Your chats and the model stay on your phone. Only the search query goes out, to the provider you picked. With Built in, that’s DuckDuckGo first, and Bing or Brave only when an earlier one gives nothing. With Your SearXNG server, the query goes to your server, which then asks the engines you configured. With a key, it goes to that company under its terms.

When the model opens a page with Read a web page, your phone fetches that page directly.

Built-in search and SearXNG cost nothing in OGAM. Brave Search API and Tavily bill you on their own plans, so check their pricing pages.

FAQ

Is there an offline AI app with web search on Android?

Yes. OGAM runs the model on your phone, so chat works with no connection. When you are online and Web search is on, the same local model can look things up and answer with current facts.

Do I need an API key for local LLM web search on Android?

No. Built in needs no account or key. A key or your own SearXNG server is optional, for people who want a specific search engine or their own server.

Can I use SearXNG from my phone when I’m away from home?

Only if your phone can reach the server. On the same Wi-Fi, use its local IP. Away from home, use a private network such as Tailscale, or a SearXNG server with a public HTTPS address.

Where does OGAM keep my Brave or Tavily key?

In Android Keystore on the phone, one entry per provider. It isn’t stored in app settings or included in backups. Remove key deletes it.

Does the iPhone app do the same?

Yes, with the key in the iPhone Keychain instead. See how to add web search to local AI on your iPhone. On a computer, see the guides for Mac and Windows and Linux.

Download Off Grid AI Mobile, open Tools in any chat, and ask your phone something that happened today.

DID THIS LAND?
UPDATES FROM THE CREATOR