LLM + Tools = Modern AI
When an LLM can search the web and do math, it becomes an agent
An LLM by itself can only generate text. Ask it "what is 15% of Tokyo's population?" and it has to guess the population from memory — which might be wrong or outdated. But what if the LLM could search the web? Or use a calculator? That's what an AI agent is: an LLM that can decide to use tools. It reads your question, thinks about what it needs, picks a tool (like web search), reads the result, and keeps going until it can answer confidently. The loop is always the same: Think, Act, Observe, repeat. The demo below runs a real LLM (GPT-4o-mini) with two tools: web search and a calculator. Ask it anything that requires looking something up or doing math, and watch it work step by step. Pay attention to the "Act" steps — that's the exact moment the LLM decides "I can't answer this from text alone, I need to use a tool."