Skip to content
AI|Course
← Working with LLMs

Lesson 5 of 7 · 1 hr 30 min

Search, reasoning and tools

Modern assistants are more than a text predictor. Around the model sit tools: search, code execution, file analysis, and connections to other apps. Knowing what each tool adds, and what it does not fix, lets you choose the right mode for each job.

Watch

Google for Developers explains how thinking and reasoning models work, which helps you decide when to switch that mode on.

Watch on YouTube (opens in a new tab)Video by Google for Developers. The player loads only when you press play.

Reasoning modes

Some models, or settings, spend extra effort working through a problem before they answer. Providers call this reasoning, thinking, or extended thinking.

  • Good for: multi-step maths and logic, debugging, planning, comparing options, hard coding problems.
  • Costs: slower answers, and sometimes higher usage limits or price.
  • Not needed for: rewriting an email, simple lookups, brainstorming.

A good habit: try the fast mode first, and switch to reasoning when the answer is shallow or wrong in a way that more thought would fix. For tricky questions, you can also ask in the prompt to show the steps (lesson 3).

Reasoning helps with hard problems. It does not remove hallucination, so checking still applies.

Web search

With search on, the assistant looks up pages and writes an answer from them, usually with links.

  • Use it for anything recent, prices, product details, news, documentation versions.
  • Do open the links. Check that the page really says what the answer claims, and judge the source.
  • Remember it is only as good as the pages it finds. Search results can be wrong, outdated or written to manipulate search.

Deep research

Some assistants can run a longer research task: plan, search many sources, read them, and write a cited report in several minutes.

  • Useful for first-pass literature reviews, market scans and comparing technologies.
  • Treat it as a well-read intern: a strong starting point, to be checked, not a finished source.
  • Narrow, specific questions give better reports than broad ones. Say what decision the report is for.

Code execution and data analysis

Assistants that can run code do real calculations instead of guessing. You can upload a spreadsheet or CSV and ask for cleaning, summaries, charts and statistics.

  • Ask it to show the code or the steps, so you can verify them.
  • Check a few numbers by hand or in a spreadsheet.
  • Be careful with sensitive data (lesson 6).

This is the fix for the "bad at arithmetic" problem: the model writes code, and the computer calculates.

Files, images and voice

  • Images and screenshots: describe what is wrong, read text from a photo, explain a diagram or an error dialog.
  • Documents and spreadsheets: see lesson 4.
  • Voice and camera: quick questions while your hands are busy, or live troubleshooting. Remember transcription mistakes.

Connectors and tools

Many assistants can connect to your mail, calendar, documents, ticketing system or code repository, so they can read from them or act in them. Open standards such as the Model Context Protocol (MCP) exist to make these connections work across products.

This is powerful, and it changes the risk:

  • A read-only connector can leak what it reads if something goes wrong.
  • A connector that can send, change or delete things needs approval steps and a human watching.
  • Content the assistant reads from outside (web pages, emails, documents) can contain hidden instructions. Lesson 6 explains this.

Start with read-only access, to non-sensitive data, and widen only with a clear reason.

Choosing the right mode

You needTry
A quick draft, rewrite or ideaFast model, no tools
A careful answer to a hard problemReasoning mode
Current factsWeb search, then open the sources
A thorough, cited overviewDeep research, then check the key claims
Exact numbers from your dataCode execution, with the steps shown
Help in a document or codebaseA tool that can see it, with limited permissions
Tools reduce some errors, not all

Search reduces outdated answers. Code execution reduces arithmetic mistakes. Reasoning reduces shallow logic. None of them removes the need to check.

Resources

ArticleEthan Mollick, One Useful Thing
Using AI right now: a quick guide (opens in a new tab)

Covers deep research, voice mode, and using the stronger model for serious work. Treat the product names as a snapshot.

ArticleSimon Willison
Here's how I use LLMs to help me write code (opens in a new tab)

A candid, practical set of habits for coding with assistants, including treating the model as a fast but fallible collaborator. Useful beyond code.

DocsModel Context Protocol
Model Context Protocol: introduction (opens in a new tab)

What MCP is and why it exists. You will use it for real in stage 3.

Check yourself

  1. For each of five tasks from your week, choose the mode from the table and say why.
  2. Why does a calculation done by running code beat a calculation done in the model's head?
  3. A connector can read your email. Name one risk and one precaution.

Found a broken link or a mistake? Report it (opens in a new tab).