← /vaultLearn5 min read

Prompting is the easy part. These five decide whether what you build with AI works: how it looks things up, how it uses tools, the setup around it, how fast and cheap it answers, and what's coming next. Each one has a prompt you can use today.

Each concept ends with a prompt. Hit copy and paste it into Claude, Claude Code or Gemini. From the Instagram carousel of the same name (@murphmaxxing).

1. RAG, and STAIR

RAG (retrieval-augmented generation) means the AI looks things up in your documents before it answers, instead of guessing from memory. Most setups chop documents into chunks and search for the chunks that look closest to your question.

STAIR, a paper from IBM researchers (September 2026), uses a document's table of contents instead of chopping it up. In the paper's tests its retrieval had under 0.05% hallucination, and it found the right section on the first try 82.6% of the time, against 59.5% for plain keyword search (BM25) and 68.7% for DPR. Those are results on the paper's own benchmark (SearchTome, 18 books), not a promise for every app.

You can borrow the idea without building anything: make the AI read the structure first.

Use it today: read the structure first
Before you answer from my docs, read their table of contents, pick the section, then quote it. If it isn't there, say so.

2. Agentic AI

An agent is an AI that calls tools, like your files, GitHub or a browser, and takes steps on its own.

Two standards are worth knowing. MCP (Model Context Protocol) is an open standard for connecting AI apps to outside systems; its own docs call it "a USB-C port for AI applications". A2A (Agent2Agent) is the next layer. In its docs' words, "MCP connects an agent to tools, APIs, and data. A2A connects it to other agents." A2A is open source (Apache 2.0), run by the Linux Foundation, with 170+ community partners.

Every connected tool takes up room in the AI's context, so check what's plugged in.

Use it today: check what's plugged in
List every tool you can call right now and what each one does. Then tell me which ones you'd turn off for this project.

3. Harness engineering

The harness is everything around the model: its instructions file, its tools and its checks. Give the same model a better harness and you get better work.

In a peer-reviewed study (SWE-agent, NeurIPS 2024), the same model, GPT-4 Turbo, solved 18.0% of a set of real coding tasks (SWE-bench Lite) with tools built for it, and 11.0% with a plain shell. Another study found that loading only the tools a task needs, instead of all of them, more than tripled how often the model picked the right tool (13.6% to 43.1%).

Give your project an instructions file that says what done looks like.

Use it today: write the instructions file
Read this repo and write a CLAUDE.md: what the app does, how to run the tests, and what done looks like. Under 50 lines.

4. Inference optimization

Inference is the AI producing its answer. Optimizing it means faster and cheaper answers.

Speculative decoding lets a small model draft the next few words and the big model check them. In the original Google Research paper it ran 2 to 3 times faster with identical outputs. Prompt caching saves the part of your prompt that repeats on every call; Anthropic says it cuts costs by up to 90% and latency by up to 85% for long prompts.

If your app sends the same long instructions on every call, cache them.

Use it today: cache what repeats
Look at how my app calls the AI. Find the parts of the prompt that repeat on every call and set up prompt caching for them.

5. World models (frontier research)

Frontier research is what's coming next. The big one right now is world models: AI that generates a world you can step inside and move around in.

Google's Genie 4 began rolling out on Nov 18, 2026 to eligible Google AI Ultra subscribers, inside Project Genie. You can type a new prompt while you're in the world to change it: shift the weather, drop in a character or redirect the action, with real-time audio that adapts to the scene.

Try it (Google AI Ultra)
A rainy neon street in Tokyo at night. Then, once you're walking: make it snow.

Models and offers change. Checked on 2026-11-25.

Sources

Keep reading

Two minutes of questions, and our first call starts with the work instead of an intro.

Tell me about your appBuilds start at $500