AI 101 — What is prompt engineering?

Share
AI 101 — What is prompt engineering?

Prompt engineering is the practice of writing instructions for an AI model so it gives you what you actually wanted — from a one-line question in a chat box to the multi-paragraph specifications companies embed in their products. "Prompt" is just the text you send the model; "engineering" is the unglamorous work of making that text specific enough to work.

Why it matters right now. Prompting is still how almost everyone touches AI, and the craft keeps getting documented rather than disappearing: a user survey of large-language-model prompting published this year concludes that although prompting looks accessible to non-experts, organizing an effective prompt is "a highly systematic and skillful process" that can challenge even experienced users, and a September 2026 tutorial paper treats prompt engineering as "a discipline for turning informal human intent into structured AI work specifications." At the same time, the field is openly ambivalent about it — Anthropic's own prompt engineering guide tells readers to define success criteria and build tests before writing a prompt, and notes that some failures are fixed by picking a different model rather than rewording anything. And prompt work now carries real-world weight: in the Zhejiang companion-app case we covered in September, prosecutors pointed to prompt engineering that rewrote the model's system prompts to push it past its own content limits as evidence against the developers.

The mental model. You are not consulting an all-knowing assistant; you are filing a work order with a brilliant contractor who has read everything and remembers nothing once the job ends. Everything the model knows about this task is inside the prompt: the context, the task itself, the constraints, an example of a good result, and what "done" looks like. Prompt engineering is the art of removing ambiguity so that the answer you wanted becomes the most natural answer to give. The techniques that earned the "engineering" name are plain ones — give an example, assign the model a role, demand a specific format, or ask it to reason step by step before answering. That last trick, chain-of-thought prompting, is the field's proof that wording matters: Google's 2022 paper showed that eight worked examples lifted a 540-billion-parameter model to state-of-the-art accuracy on GSM8K, a benchmark of math word problems. The September 2026 tutorial's rule of thumb sums it up: the strongest prompt is rarely the longest one — it is the one that makes the desired behavior, the required sources, and the success criteria unmistakable.

The analogy. It is the first day of a housekeeper or contractor in your home. "Clean the kitchen" is a complete sentence and a terrible instruction: you will get a cleaned kitchen, probably not the one you meant. "Clean the kitchen, leave the papers on the counter, don't move anything electrical, done by noon" takes fifteen seconds longer to say and produces almost no surprises. The skill on the other side is identical either way — all that changed is how many guesses you left the other person to make. A vague prompt works the same way: the model fills every gap with its best guess, and a fluent, confident answer to a question you didn't ask still looks like success until you use it.

Common misconceptions. First: "prompt engineering means finding magic words." There is no incantation — models do not reward clever vocabulary, they reward specificity, and every instruction should earn its place rather than pile up. Second: "it's dead now that models are smart." Half true: you no longer need workarounds and tricks to get decent behavior, and plain natural language gets you far. But the scarce skill was never the phrasing — it is deciding what "good" means and checking the output against it, which is exactly why Anthropic's guide starts with success criteria and evaluations, not wording. Third: "it's for coders and API users." Anyone who has typed a request into a chatbot is prompting. Much of what looks like prompt magic in real products is invisible preparation: the fixed instructions a product writes before you ever show up are covered in What is a system prompt?, and when a model seems uncannily well-informed, it is often because someone fed the right material into the prompt rather than phrasing a spell.

Where to learn more. OpenAI's prompt engineering guide and Anthropic's prompt engineering overview are the two lab-authored references worth reading first — both are free, short, and grounded in what their models actually do. For a longer treatment, the September 2026 tutorial "From Messy Thoughts to AI Workflows" is a readable walkthrough from a weak prompt to a full specification, and the user-prompting survey is the best evidence that the skill is more systematic than it looks.

Related reading: What is a system prompt? · What is chain of thought?

What's the smallest change to a prompt that fixed something for you? Tell us in the comments.

Read more

Akhetonics says its all-optical CPU reaches a customer in 2026

Akhetonics says its all-optical CPU reaches a customer in 2026

Light-based computing keeps promising more than it delivers — but one Munich startup has just put a date on its bet, and the interview laying it out is doing the rounds on Hacker News this week. Akhetonics says it will deploy its first commercial machine with a major customer by the end of 2026, with several more planned for 2027. The company, founded by Michael Kissner and Leonardo Del Bino, is building a computer where data enters as light, is switched as light, and circulates through memory

The Week in AI — October 5–11, 2026

The Week in AI — October 5–11, 2026

Every big claim this week turned out to rest on fine print more interesting than the headline: revenue only the company reporting it can define, safety tests sandboxed while the product keeps the web, and a Pentagon phase-out nobody would confirm until reporters kept asking. The week's top 5 1. OpenAI's revenue was $20 billion below the numbers everyone quoted — and the gap was definitional. The Financial Times reported Thursday that OpenAI's annualized revenue runs roughly $20 billion unde

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Drone strike shuts a third Yandex data center, taking YandexGPT offline

Russia's largest tech company is learning what the AI era's infrastructure war looks like from the receiving end — three data centers in four days, and with them much of the cloud layer Russian businesses run on. A Ukrainian drone strike knocked out Yandex's data center in Vladimir early Sunday morning, the third of the company's facilities hit since October 8. The site — reported at roughly 50 MW and designed for about 2,880 server racks — stopped operating completely after the attack, Yandex

Agent teams cost up to 5x more, barely score higher

Agent teams cost up to 5x more, barely score higher

The multi-agent hype train hit a benchmark this weekend — and the grid and the trucking regulators had quiet weeks of their own. Vals AI put agent teams head-to-head with single agents on its Vibe Code Bench, and the teams cost between 1.8 and 5.1 times more for almost no extra quality. The evals company ran GPT-6 Sol and Claude Opus 5.5 solo and in teams across 50 apps at two reasoning efforts; out of four comparisons, only one was statistically significant — Sol at medium effort, where the t