Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.lmsa.app/llms.txt

Use this file to discover all available pages before exploring further.

Web search gives your AI access to information that exists right now, not just what was in its training data. When you send a message with web search enabled, LMSA queries Brave Search first, pulls the most relevant results, and includes that content in the context window before the model generates its reply. The whole process is automatic — you chat normally and the model answers with up-to-date information.
1

Get a Brave Search API key

Go to brave.com/search/api and create a free account. The free tier includes enough queries for everyday use. Copy your API key.
2

Open LMSA Settings

Tap the gear icon to open Settings.
3

Enter your Brave API key

Scroll to the Web Search section and paste your API key into the Brave Search API key field.
4

Toggle web search on

Flip the Web Search toggle to the on position. The toggle is disabled until a valid API key is entered.
Web search requires a Brave Search API key. The toggle cannot be enabled without one. If you clear your API key, web search disables automatically.

How it works in chat

Once enabled, every message you send triggers a background search query. LMSA:
  1. Extracts the key topic from your message.
  2. Queries Brave Search with that topic.
  3. Fetches and cleans the top results.
  4. Injects the search content into the model’s context for that turn.
You will see a web search indicator appear below your message while the results are being fetched. The model then uses those results alongside your message to produce its answer.
Web search results are scoped to the current turn only. Each new message triggers a fresh search rather than accumulating results across the conversation.

Privacy

Brave Search is built on a privacy-respecting index — it does not profile users or attach tracking identifiers to queries. Your search terms go directly from LMSA to Brave’s API and are not routed through any LMSA servers.
If you only need web search for certain conversations, you can toggle it on and off in Settings between chats. There is no need to re-enter your API key each time.