# The Three Ingredients: Prompting, Knowledge, Tools
<!--
ref: @knowledge/frameworks/three-ingredients-of-an-agent
type: framework
tags: [AI agents, prompting, knowledge management, tools, design framework]
triggers: [agent misbehaves, prompt bloating, tool call errors, need for clear agent design]
trigger_prompt: When you're faced with an AI agent that isn't performing as expected, or when you're trying to design a new agent and need to clarify its foundational components.
version: 2
updated_at: 2026-10-18T05:41:55.276Z
-->

An agent has five parts, but only three of them are yours to design — everything else is a dropdown or a platform default.

*Synthesized from Liam Ottley, "How to Build & Sell AI Agents in 2026: Ultimate Beginner's Guide."*

Liam Ottley decomposes an AI agent into five components — the brain (the LLM), the prompt, memory, knowledge, and tools — and then argues that two of those five are effectively solved for you. The brain is a model-picker choice. Memory is handled by whatever platform you're building on. What's left is the actual design surface: **prompting, knowledge, tools**. He treats these three as the framework behind every build.

The distinction he draws underneath it: a chatbot only retrieves information, while an agent takes action. His analogy is a waiter who can recite the menu versus one who checks the calendar, books the slot, sends the confirmation, and updates the system. Action capability lives entirely in the *tools* ingredient.

**Tools are just two verbs.** Every tool call an agent makes is a GET (asking a server for data — a price, a record, a page) or a POST (sending data for a server to store or act on — an email, a row, an upload). Builders who freeze at "APIs" usually thaw once they see there are only these two shapes.

**A tool description needs exactly three parts:** what it does, what inputs it takes (with types), and what it returns. Plain English is enough; modern platforms generate the schema. Ottley's diagnostic follows directly from this: *if the agent is calling a tool wrong, the description isn't clear enough.* Fix the words, not the wiring. He notes that hard tools (a web scraper, a search API) may need long descriptions including the literal JSON shape before the agent uses them correctly — budget for that rather than treating it as failure.

**Knowledge is the pressure valve on prompting.** When a system prompt starts bloating with pasted reference material, that material belongs in a vector store the agent can query as a tool instead. This also underpins his rule for voice agents specifically: keep prompts lean, because the more specifics you script, the more the agent breaks in the situations you didn't script. Give it a clear character, a clear goal, and a knowledge base for the rest.

The practical payoff of the framework is triage. When an agent misbehaves, ask which ingredient failed — is it being told the wrong thing (prompt), does it lack the facts (knowledge), or can it not reach the world (tools)? That's a three-way fork instead of an open-ended debugging session.

---

*Related: `@content/youtube/yifan-bth/we-are-missing-the-point-of-mcp-its-not-just-about-tools` · `@content/youtube/david-ondrej/fine-tune-the-biggest-open-source-models-even-with-a-bad-pc` · `@content/youtube/david-ondrej/tailscale-clearly-explained-beginners-guide` · `@content/youtube/nate-herk/how-anthropic-engineers-actually-prompt-fable-5` · `@content/youtube/nate-herk/how-claude-is-creating-a-new-generation-of-millionaires`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*