DEV Community

Cover image for Stop using AI as a search engine with extra steps.
Georgios Moustakas
Georgios Moustakas

Posted on

Stop using AI as a search engine with extra steps.

I watched a developer spend forty minutes going back and forth with Claude on a database schema problem. Every message was a question. Every reply was an answer. At the end of forty minutes they had a schema that technically worked and felt wrong in ways they could not explain.

The problem was not the model. The problem was the format. They were using a conversation as a Q&A session when they needed a thinking session. Those are different things.

How the search engine habit forms

Google trained a generation of developers to interact with computers through queries. You have a question, you form a concise search term, you get results, you close the tab. The whole interaction is built around a question you already know how to ask.

That habit transfers badly to AI. When you treat a language model like a search engine you are constraining the interaction to questions you can already frame. You get answers, not insights. You get syntax, not architecture. You get what you asked for, which is often not what you needed.

Search engines retrieve information that already exists somewhere. That is useful when you need a fact. It is useless when you need to think through a problem that does not have a pre-existing answer.

What a reasoning engine can actually do

The difference between retrieval and reasoning is the difference between a library and a colleague. A library gives you what is already written down. A colleague can work through something new with you, push back on your assumptions, and tell you when your plan has a hole in it.

Language models can do the second thing, but only if you interact with them the right way. And the right way looks nothing like a search query.

Here is what I mean in practice. These are two different interactions with the same underlying question:

Search engine mode: "What is the best way to structure a Python microservice?"

Thinking partner mode: "I am building a Python microservice that processes webhook events from three external APIs. Each API has different retry behaviour and payload shapes. I am considering a single FastAPI app with a queue in front of it versus three separate lightweight consumers. We have two engineers who will maintain this. What are the tradeoffs I am not seeing?"

The first interaction gets you a blog post. The second gets you a conversation that makes you think harder than you would have on your own.

The context is the work

The engineers getting the most out of these tools are not the ones with the cleverest prompts. They are the ones who bring the most context before they ask anything. They describe what they are building, what constraints they are operating under, what they have already tried, and what feels wrong even if they cannot say why.

That last part matters. "This feels wrong but I cannot say why" is one of the most productive things you can put in a prompt. It gives the model permission to probe your assumptions instead of just answering your question. Nine times out of ten it will surface the thing you were sensing but could not name.

Why most AI interactions feel shallow

Shallow interactions happen when the question is too clean. Real engineering problems are messy. They have competing constraints, legacy decisions, team dynamics, and deadlines baked into them. When you strip all of that out and ask a clean question, you get a clean answer that does not account for any of it.

The mess is not noise. The mess is the actual problem. A model that does not know about the mess cannot help you with the mess.

The shift in practice

Before your next significant prompt, spend two minutes writing down: what you are trying to accomplish, what approach you are considering, and what you are uncertain about. Then give all three to the model before you ask your question.

This sounds like more work. It is more work. It is also the work you should have been doing before you started writing code. The model did not add that step - it just makes skipping it more expensive.

A search engine needs a clean query. A thinking partner needs the full picture.

Stop cleaning up the mess before you ask. The mess is the context. The context is everything.

Top comments (0)