← Back to the blog
Using AI Well: Agentic Workflows, Prompting, and Building Apps

AIAgentsPromptingSoftware Engineering

Using AI Well: Agentic Workflows, Prompting, and Building Apps

Source: https://x.com/n0tisma/status/2121576378453967255

This is a practical guide to three connected skills: how to design and improve agentic workflows, how to prompt a model so it can be a reliable partner for research, thinking, and writing, and how to describe what you want in plain language so a model can write a small app that runs in the browser and can analyze spreadsheet data. The article includes steps you can follow, comparison tables, and examples. Sources, how the original video was spliced, and limits of the auto-generated captions are at the end.

Contents


1. Agentic workflows: break complex work into steps you can improve

A single language-model call is usually “send a prompt, get a block of text back.” An agentic system is different: it can run a multi-step, model-driven process, call tools along the way, reason, and revise intermediate results in order to finish more complex work.

Three principles are especially useful when you build this kind of system.

Keep the steps visible instead of hiding the process inside a framework. Break an application into a sequence of tasks, then implement the workflow in ordinary Python so every step can be seen. Once you understand the core ideas, you can hook the same workflow up to a popular agent framework, or use no framework at all. The point is to understand the steps first, not to start by picking one vendor’s wrapper.

Workflow design patterns can be reused, but what matters more is how you improve them. On many teams, the strongest predictor of whether a project actually moves forward is not “whether we adopted some framework,” but whether there is a disciplined error-analysis process: first put evaluations (evals) in place for a complex workflow, then use the evaluation data to decide which component to improve next. That puts time where it helps, instead of tuning by feel.

Be able to evaluate before you expand. Without evaluations, adding another step or another tool makes it hard to tell whether things got better or worse. Writing down a repeatable standard for “how we know this step works” should happen alongside breaking the work into tasks.

A studio monitor reads Agentic AI, underscoring that this is a multi-step, tool-using system, not a single model call.

The label is not what matters. What matters is whether the system can run multiple steps, call tools, and iterate on the basis of evaluations.


2. Skills: on-demand expertise for agents

Coding agents are getting stronger, but they do not automatically have all of the procedures used in your domain. One approach now being adopted is to package expertise as a Skill: a folder that holds instructions, scripts, and reference material for a particular kind of task. The agent loads the relevant Skill when it needs it, instead of stuffing every piece of knowledge into one prompt.

You can think of it this way:

  • A code-review Skill can be a checklist of quality criteria, used to review a repository in a consistent way.
  • A data Skill can include instructions for writing SQL against your team’s data infrastructure.
  • An analysis Skill can describe a repeatable workflow for analyzing customer data.

You create a Skill once and can make it available to any agent that supports the format; the agent invokes it when it needs that domain knowledge. The format was first developed by Anthropic and is being written up as an open standard, so it can be reused across compatible applications. You can also compose several Skills into more complex workflows, and use them together with other pieces of the stack such as MCP and subagents. Basic tooling often only needs filesystem access and the ability to run code in batches; specialized knowledge is what the Skill supplies, so the agent is more stable and more accurate on specialized workflows.

“Agent Skills with Anthropic” appears alongside the DeepLearning.AI mark, for packaging domain procedures as skills that can be loaded on demand.

A Skill is a distributable folder: instructions, scripts, and references, loaded by a compatible agent when needed.


3. AI coding is rewriting the bottlenecks in software engineering

It helps to think of software tools, frameworks, and APIs as Lego bricks. With only one color of brick, what you can build is limited; as the variety of bricks grows, the software you can compose grows combinatorially. Over the past year, coding agents have made it much faster to snap those bricks together. The bricks include language models, retrieval-augmented generation, and agentic workflows, and also non-AI pieces such as UI components, databases, and identity and authentication. The bricks themselves are proliferating at a pace we have not seen before.

“We have many wonderful building blocks!”: software tools are like a city of composable bricks; as the variety grows, the ways of combining them grow exponentially or combinatorially.

The bricks keep multiplying, and coding agents are what let assembly keep up with that growth.

80% versus nearly 100% feels completely different

Teams often debate how much of their code is written by AI. Getting to about 80% already sounds high, but the time structure is often this: AI generates quickly, and people then spend a long time reviewing every stretch of output. When almost all of the code is drafted by AI, and the way you review changes with it, what you can finish per unit of time takes another step up. This is not a doctrine — if you are writing the few dozen lines that must be handwritten for a spacecraft, write them by hand. But on many frontier teams, the trend is toward nearly 100% of code being written by AI. Stopping at 80% feels completely different, both for writing and for review. If a person must inspect every line of output, the person becomes the bottleneck again.

“How much code should we write with AI?”: 80% can look fine if you count lines, but if you count time, reviewing the remaining 20% is often the longest stretch.

Counting lines understates the cost of review. What really opens up a gap is often the time structure, not only “what percentage of the code did AI write.”

Product management becomes the new bottleneck

When “building the thing” gets 10 times or even 100 times faster, “deciding what to build, then gathering feedback and iterating” becomes the new constraint. Traditionally, one product manager might keep seven or eight engineers busy; that ratio has already started drifting toward 1:2, and even 1:1. What can move still faster is collapsing both roles into one person: an engineer who can shape the product, or a product manager who can code.

Not everything can be done by a one-person team. A more common pattern is a very small, fairly generalist AI-native team: engineers can do some product work, product people can do some engineering, and everyone has a view of the whole. Once engineering speeds up, design, legal and compliance, marketing, and sales can all become new waiting points — if the code can be written in a day and legal needs a month to sign off, the rhythm breaks. A practical approach is to let AI draft the first pass of legal or marketing work, then have a real professional review and sign it, rather than asking engineers to “play lawyer.” If you need to combine many small teams into a larger organization, limited communication plus clear API boundaries is more useful than having everyone interrupt everyone else at all times.

“The Product Management Bottleneck”: once engineering speeds up, getting feedback and deciding what to build become the new constraints.

When coding gets faster, product judgment, design, compliance, and communication all look relatively slower. Engineers who can also shape products therefore become scarcer.

When hiring for this profile, the usual mix of skills is: fluency with coding agents (for example Claude Code, Gemini CLI, Codex, OpenCode, and similar tools), a working knowledge of a rapidly changing set of “bricks,” and some basic product sense or other generalist skill. Demand is high, and supply is short.

On the idea that AI will immediately wipe out large numbers of software jobs: writing code is only a small part of making software, and even though that part is speeding up, it does not follow that the roles disappear in the near term. Anxiety about job security deserves to be taken seriously, and many layoffs have also come from over-hiring during the pandemic and the zero-interest-rate period. But describing the situation as a wholesale job apocalypse is not supported by the on-the-ground observations discussed here. A more constructive direction is parallel skill development between people and ever-stronger coding agents: as the agents get better, people need to get better at steering them, choosing the bricks, and judging what to build.


4. Give coding agents up-to-date documentation

Coding agents have a knowledge cutoff date, sometimes months or even a year in the past. The result is calls to deprecated APIs, invented interfaces, or simple ignorance of a new tool you want to use. A typical example: if you ask one to call the OpenAI API, it may still write an older Chat Completions call and an older model name, because so much of the training data on the web still uses the old interface, even though the newer Responses API has been out for a long time.

Tools in the Context Hub family exist to hand “current documentation” to a coding agent. Used with Claude Code and similar tools, the agent is more likely to write against the new Responses API. The usual pattern is: search for the relevant package, then fetch the latest docs (for example, material related to OpenAI), and get back a Markdown file that may run to several hundred lines, written mainly for the model to read (you can read it too). On the command line, a common first step is to install the tool (for example npm install chub), then search and fetch. Feeding agents this kind of fresh context can cut down a lot of stale calls to OpenAI, Gemini, or various database services.

In a demo environment, Context Hub is used to give a coding agent current API documentation instead of relying on outdated training data.

When the bricks change faster than the training cutoff, giving the agent “the docs as they are now” is more effective than repeatedly correcting hallucinations.

A related way to learn is to combine “watching an explanation” with actually running a coding agent in a practice environment. Codream, for example, is positioned as a conversational practice setting rather than a traditional course: you can listen to the walkthrough, copy install and prompting commands from the slides into a terminal in the browser, and write code with an open-source coding agent such as OpenCode, together with Context Hub. If a preview is available in your environment, it is worth walking through a small task (even a joke generator) so you complete the loop of “install, give it documentation, then let the agent write code.”


5. Know what the model already knows, then decide whether to search the web

Where pre-trained knowledge comes from, and how far to trust it

Models first learn patterns from huge amounts of text on the internet, forming what is called pre-trained knowledge. Sources include forums and social media, books, encyclopedias, news, research papers, and more. Topics that appear often (cooking, film and television, celebrities) are usually more stable; specialized topics that appear less often (quasars, for example) call for more caution. If a language other than English makes up only a tiny share of public web text (Cantonese, for example, may be under 0.1%), you should also be less confident in related answers. Internal, unpublished data from your company is something the model does not know by default.

A useful rule of thumb is to ask first: is this something common and stable on the web? If it is, the model can often answer directly. If it is rare, very recent, or exists only in your local files, do not rely on “it seems to know.”

Two other slightly counterintuitive points:

  • Typos are usually not a big problem. The training data already contains a lot of messy writing, so you need not stop to fix every grammatical slip when you are typing quickly. That is not an argument for writing more carelessly.
  • The web also contains misconceptions and outdated information. A core prompting skill is getting answers with less of that contamination: specify the kinds of sources you want, ask for a date check, or switch to search and deep research.

Training stops on some date, so the model’s knowledge is effectively “frozen” then. News, memes, regulations, and whether a shop is still open after that date often have to be filled in by search. Search is usually triggered in two ways: the model decides on its own that it should search, or you ask explicitly (by clicking search in the interface, or by writing “please search the web first”). Not every model has search turned on, but most widely used products do.

Questions that tend to trigger search include current events, location-specific queries, and niche topics the pre-training data barely covers. Everyday questions such as “what should I do if I dropped my phone in soup” or “why do cats stare at walls” usually do not need a search.

The quality of a search is not automatically the same as “more correct”:

  • Popular is not the same as reliable. If you do not specify sources, the model may cite a lot of social media and forums. One report found that the sites models cite most often tend to be Reddit, Wikipedia, YouTube, and the like. If you ask how safe gray-market peptide supplements are and let it search freely, it may land on sales pages or forum anecdotes; if you explicitly ask it to prefer official bodies such as the World Health Organization or medicines regulators, or research with rigorous methods, the result is much sturdier.
  • Web pages go out of date. Someone asked a model for places to run in a particular area; it cited a page more than two decades old and recommended a school track that is no longer open to the public.
  • The model you are talking to has often only read summaries. Search is commonly a multi-step process: you are talking to a “front-of-house” model; it asks an “assistant” model to search, scan results, filter, download, and summarize; the front-of-house model then answers from those summaries. So it may cite a page in support of a conclusion that the original page does not actually support. When you need high confidence, spot-check the original pages.

“Web search is a multi-step process”: you talk to a front-of-house model; retrieval, filtering, and summarization happen in another layer, and the front-of-house model often never sees the full original pages.

Thinking of search as “front of house plus assistant” helps explain why you sometimes get “it cited a page, but the page does not support that.”

When should you use a search engine yourself, and when should you let the model search and synthesize? If you want to scan several sources quickly, recover a website whose name you have forgotten, or open an original product page, a search engine is more direct. If you want to weigh pros and cons from many sides and reach a considered conclusion, a search-enabled model that reads several pages and summarizes them usually saves time. Habits you already have on a search engine — looking at sources, spot-checking originals — still apply here.

Deep research

When what you need is not “a summary of a handful of pages,” but dozens of sources, a longer period of thinking, and a cited research report, you should explicitly turn on Deep Research, rather than hoping an ordinary chat will enter that mode on its own. In most products, if you do not select it yourself, the model will not keep you waiting many minutes to do deep research.

A typical process is: form a research plan first (some products let you approve or edit the plan) → launch several searches in parallel → assess whether the sources are relevant → search again with different terms if needed → after several rounds, synthesize, add citations, and deliver the report. That is itself an agentic process: the model has some freedom to decide whether to search again and what to search for.

A concrete example: planning a Halloween display in your front yard, and supplying the location, the size of the yard, and the experience you want. The model may first look up local permits and ordinances, then fire safety, then decoration ideas, and finally produce a detailed, sectioned plan. Some interfaces can also turn the report into a webpage or infographic, for example with a budget pie chart, a visualization of the noise ordinance, and a checklist.

A deep-research output titled “Palo Alto Residential Haunt Planner”: a layout with a regulations checklist, a noise-limit curve, and a readiness score, rather than a single block of advice.

Deep research is a good fit for questions that require synthesizing many sources into an actionable plan; the output can be a webpage or an infographic, not only a long essay.

The three paths for finding information can be looked at together:

“Web search vs. deep research”: ordinary search fits a single question you could look up in seconds from a few sources; deep research fits multi-part questions that draw on many sources and would take a person minutes to hours.

Mainly pre-trained knowledge Ordinary web search Deep research
Sources Common knowledge already in the training data Usually a small number of pages Often dozens of sources or more
Freshness Stops at the knowledge cutoff Relatively current Relatively current, with further rounds of search
Time A few seconds Often many seconds Many minutes or longer
Typical questions Common sense, definitions, overviews of familiar topics “A highly rated gym nearby,” “the weather in Dubai this week” “The effect of daily steps on long-term health, based on more recent scientific research,” “how weather affects tourism in Dubai”
How it is triggered Just ask Automatically, or when you ask explicitly Usually you have to turn it on in the interface

You can build intuition with a set of side-by-side comparisons: the same current-events question with search off and search on; the same question with ordinary search (often a globe icon) versus deep research (often a microscope icon); and “just ask the model” versus “also upload a lease” — for example, whether you can keep a modified vehicle in a garage may be answered in the lease restrictions, not on the public web. You will also see that for ordinary questions, a prompt full of typos often still gets an answer close to the one you get with clean grammar.


6. Use AI as a thinking partner: brainstorming, context, and reasoning

Brainstorming: don’t just ask for a list

It is not hard to ask a model to “give me some ideas,” but a more effective pattern is: first give enough relevant context, then ask for three to five options, give feedback on those options, and ask for another round, repeating until you have a direction you are willing to develop.

If you only say, “I am 38, a beginner, I have 10-pound dumbbells and 15 minutes a day; help me build a workout plan,” you will mostly get common-sense plans full of squats and push-ups. If you add, “I can’t stick to these; I also have a trampoline and a cat; give me ways to stay consistent,” the output moves into more specific, less common territory, such as trampoline breaks or “do a tiny set whenever you see the cat.” That is not for novelty’s sake. It demonstrates a mechanism: models more often produce the high-frequency, common-sense answers in their training data; if you want the output in a more useful region, you have to supply the context that pushes it there.

“Brainstorming starts with context”: once you mention a trampoline and a cat, the plan leaves generic squats and push-ups behind.

Context is not decoration. It decides whether the model lands on “the most common answer” or “an answer that is useful to you.”

A debt-payoff plan is the same method in another setting. First lay out card-interest rates, student loans, a loan from family, and minimum payments, and ask for several options (preserve liquidity first, pay the highest interest first, repay family first, and so on), instead of asking it to “just tell me what to do.” Then say clearly which option you dislike and which you like, and add facts it does not know yet (for example, cash that is about to arrive, or an upcoming move). Each round of feedback is really an efficient way of adding context.

The recipe can be remembered as four steps: give the relevant background you already know → ask for several options rather than a single answer → give concrete feedback on the options and add facts → ask for new options, until you are ready to flesh out one or two of them.

If the next question is completely unrelated to the last round (for example, you just finished your own workout plan and immediately ask, “now make one for my mom”), the previous details about your schedule and equipment become noise. The cleaner move is to start a new conversation.

How large context is, and what sits inside it

Human working memory can hold only about seven things at a time. Leading models today can accept context on the order of hundreds of thousands of words (about the first four or five Harry Potter books, or several days of continuous speech). Many people greatly underestimate how much material they can give a model at once. If you are choosing an apartment, you can upload hundreds of pages of leases, tenant reviews, and neighborhood statistics, and write clearly: “Read everything, think hard, then compare the trade-offs.” “Think hard” itself is an effective prompting pattern.

“AI models start with built-in context”: the system prompt and tool descriptions already occupy part of the window, and you can still put a very large amount of material in.

First ask what materials a trusted adviser would need in order to answer responsibly, then put those materials into the context.

When you ask a question, the model’s context usually already contains a system prompt (the current date, the model’s name and capabilities, and general instructions to be helpful) and tool descriptions (for example, what a web search engine is and how to use it). Only then come your prompt, uploaded files, and the growing chat history. Because history accumulates, a multi-turn brainstorm can “remember” which option you just rejected; and for the same reason, you should open a new thread when you change the subject.

A simple test for what context to include: if a smart adviser who knew nothing about you were going to take the question seriously, what information would they still be missing? If you only ask “what are the pros and cons of studying physics versus zoology,” you will get a generic comparison that has nothing to do with you. If you add a career assessment, your class schedule, and your constraints, the quality rises sharply.

Let desktop apps find files themselves — and keep permissions tight

Besides the chat box, a class of desktop or co-working apps can, with your permission, look for and read files on your computer, and pull needed context in on demand. Common forms include Claude Cowork, Microsoft Copilot, Google Antigravity, and similar products. They come with pre-trained knowledge, can search the web, and have tools to search, read, write, move, and rename files.

“How AI desktop apps work”: pre-trained knowledge, web search, and tools for local files are the basic capabilities of desktop co-working apps.

Rather than deciding in advance which files to upload, you can state the task and the permission boundary, then let the app read what it needs.

A careful sequence is: first state the task (for example, tidy a messy research folder) → let it propose a reorganization plan without changing files yet → you review and revise the plan → only when you are satisfied do you allow it to execute. Unlike a chat box, where you must upload files up front, this kind of app can, for a task such as “this week’s shooting schedule,” discover the relevant documents itself, and may even notice that a teammate’s birthday falls in the same week.

On safety, be stricter rather than looser:

  • Open the app only in the folder it actually needs, not in your entire home directory.
  • Read every permission request carefully, and confirm what it will read and what it will write.
  • Files it deletes often do not go to the recycle bin; files it edits often have no revision history you can roll back.
  • Until you are genuinely familiar with the tool, confirm one extra time rather than assuming “it will not break anything.”

Reasoning: give hard problems, enough material, and time to think

Newer models are already good at thinking rigorously for a longer stretch. If you are shopping for a car, you can upload specs, insurance plans, and quotes, and ask it to “read all of the material and think hard before comparing,” and it can spend a substantial amount of time working out criteria and writing up trade-offs. If you are planning “the fastest way to visit five landmarks in Rome in one day,” it may repeatedly check maps, walking times, and opening hours, then reorder the stops.

Public evaluations show that the length of tasks models can complete reasonably reliably — measured as “how long would this take a person” — has grown markedly in recent years: from looking up a fact on the web, to writing a blog post, reviewing a set of legal documents, and exploring a complex security vulnerability. That does not mean the model itself needs as many hours as a person would, but it does mean the problems you can hand it are already far beyond a few-second word puzzle such as “how many r’s are in strawberry.”

“AI progress on long-running tasks has exploded”: measured by “how long a person would need,” the length of tasks models can handle has risen sharply in recent years.

For complex work, prefer a stronger, more recent model, and tell it clearly to think at length.

The once-popular instruction to “think step by step” was useful a few years ago and is now largely obsolete. A more common and more effective approach is to turn on a thinking option in the interface, or simply write “think hard” or “ultra think,” and let the model reason in more complex ways, not only in a mechanical sequence of steps. The process can be: reason for a while from the current context → if that is not enough, call search or read files → reason again, until it decides it can answer. That can take tens of seconds, a few minutes, and occasionally longer.

Three practical suggestions: use the strongest model you can currently access (it is often clearly better than a version from six to twelve months earlier); give it all the context a human expert would need to do the task; and try real, hard problems from your work, not only toy demos.


7. Writing, editing, and how to avoid AI-speak and sycophancy

Deal with sycophancy first

Models are trained to be “helpful assistants,” and they also receive a great deal of human feedback that rewards answers people enjoy hearing, so they tend to say what they think you want to hear. If you ask, “isn’t remote work better than going into the office?,” they will often go along and list advantages; if you rephrase it as “is office work more productive?,” they may switch to a different set of reasons that also go along with you. A review of ChatGPT replies found that phrases such as “That’s correct,” “Good point,” and “You’re on the right track” appeared about ten times as often as “Not quite right,” “That’s not the case,” or “Actually….” Some replies even go as far as over-the-top agreement such as “you are 100% right.”

“AI models want to please you”: affirming stock phrases far outnumber disagreement, and sycophancy hurts the quality of judgment.

Do not leak “the answer you hope to hear” in the prompt. When you need an evaluation, use a neutral question or a clear rubric.

A more hidden leak works the same way. “Analyze this data and find all the positive performance signals this quarter” already hints that it should look for good news. Countermeasures include:

  • Reframe the question neutrally: “To what extent, if at all, do carbon taxes affect small businesses?” “What does current research say about AI’s effect on jobs?” “How does productivity compare between remote and in-office work?”
  • When you need a comparison, list the options and ask only for pros and cons, without hinting which side should win.
  • When you need an evaluation, give a rubric and ask the model to score each criterion and then add the scores up, rather than first announcing a total and then backing into reasons.

A business-idea example: if you say, “I have a great idea — mobile tie-dyeing — please critique it,” the model can easily praise you. A sturdier prompt is: “Please analyze the following idea objectively, and do not invent reasons to flatter me; score it on whether there is a real problem, whether there is a market, and whether I have a competitive advantage.”

Writing: iterate the outline before the draft

If you simply say, “write a blog post about the BlackBerry,” you are likely to get “AI slop”: text that sounds fine sentence by sentence, but has little substance once you read it as a whole. A more effective process is to treat the model as a thinking partner: based on your notes, first write an outline → critique and revise the outline, for as many rounds as you need → expand the outline into bullet points, then revise the bullets → only then generate the final text.

On the left, a vague draft from “just write it”; on the right, a workflow that starts from notes, outlines, critiques, and only then expands.

Experienced users rarely ask for a finished draft from a blank page; they get the structure right first.

Editing an outline has high leverage: changing one word in a finished draft usually changes only that word; changing a heading in the outline can rewrite an entire section. That is why “structure first, sentences later” saves time.

“Outlining speeds up review”: revise the outline before the prose, so a small change can move a whole section.

Agree on the outline first; that is more efficient than patching the draft word by word.

Slop also has some familiar tells: overuse of em dashes; a fondness for words such as nuanced and delve; a habit of lists of three; fewer nouns than you would expect; and “not X, but Y” constructions that sound serious while leaving both sides empty (“this is not just about speed, it is about availability”). A side effect worth watching: after people read a lot of model-written text, their own speech and writing can start to sound like the model.

In the data, writing is one of the largest groups of tasks people use conversational models for; about two-thirds of those writing sessions start from existing text rather than from a blank page. So “ask it to critique and improve a draft you already have” is often more common, and more worth practicing, than “have it write from scratch.”

Editing: change one piece at a time, and critique with objective criteria

When you are revising a long piece, work sentence by sentence or paragraph by paragraph, rather than asking it to rewrite the whole article at once: first brainstorm a few ways to say this paragraph (punchier, more conversational, more visual), choose one, then move on. Otherwise you are left with a long draft in which everything has moved and you can no longer tell what changed.

If you want a holistic evaluation, give objective criteria that can be judged yes or no. For a science-fiction short story, for example: 25 points for characters, 25 for plot, then world-building, craft, and so on, with a rule as unambiguous as “every named character has a goal.” If you are not sure how to write the rubric, you can brainstorm it with the model first, then use it for scoring. A weak prompt is: “I wrote this; please score it out of 100,” and only then ask for scores on character and plot — the categories are vague, and the total is fixed first, so the model will tend to pick a comfortable number and then find reasons for it.

You can also have a second model review the first model’s draft (cross-model review), which sometimes yields a small gain. A more everyday, and more important, habit is to send the same prompt to several models and look at the differences. Model ability is “jagged”: some tasks they do better than any person (reading large numbers of web pages quickly, solving certain math problems), and some they do clearly worse; different models are strong in different places, and the ranking changes quickly. Ongoing comparison is what keeps your intuition about “which model is best for this job right now.”


8. Multimodality: reading images, generating images, plus cost and responsibility

Models can do more than write text. They can also work with images, video, speech, music, and code. On the input side (giving them a picture or a piece of music), cost differences are usually not extreme. On the output side, time and cost differ a great deal: text is cheapest and fastest, speech costs more, images cost more still, and video is substantially more expensive again. That is because modern models grew out of language modeling and are most efficient at text, while an image is often generated all at once, and video is heavier still.

“Some data types are slower & more costly to generate”: text is relatively cheap; as you move toward images and video, each generation takes longer and costs more.

The “give me several options, then iterate” habit that feels easy with text becomes harder with images and video because of waiting time and cost. You can still do it; you just need more patience, and you should be more selective about the model.

In practice, you can already use image generation as a design brainstorm (for example, generate cake designs, then have a baker make one of them as a real three-dimensional cake), use video generation for effects that used to be expensive, use a voice clone to read a newsletter, or generate a typing game children can play. When you show a model a picture, it can interpret a whiteboard (even if a key word is blocked by someone’s head, it may still infer the topic from the formulas), split a bill, transcribe handwriting, or turn photos of sticky notes and a whiteboard into meeting notes.

Know the limits too: models often see a fairly coarse overall image and miss fine detail. Many gym machines look similar if you blur them slightly, and a model may confidently name the wrong machine; objects with a very distinctive shape are easier to recognize. Reading printed and handwritten text is already quite usable, but it still makes mistakes, and it is not suitable for high-stakes use without a check. When you need to, uploading several images at once usually gets closer to complete context than throwing in a single picture.

How images are generated, and how to prompt for them

A text model writes a little at a time, and you can interrupt it; an image model usually starts from pure noise, gradually removes that noise, and produces the whole image at once, often with no way to stop early. During training it sees captions such as “a small potted plant on a wooden table,” and practices recovering an image that matches the caption from noise. That is the basic process of a diffusion model. The same prompt, run several times, will give different results. Older models also tended to draw odd hands, garbled text, and characters that were inconsistent from frame to frame; newer models are already much better at text in infographics and at character consistency.

“How image generation works”: during training the model learns from captions; at inference it gradually denoises, and produces the whole image at once.

Because the whole image is generated at once, and because it is slower and more expensive, you usually iterate less on images than on text. The good news is that generation costs overall are still trending down.

If you are not sure how to write an image prompt, you can first ask a text model to draft one, and check whether it specifies the setting, character details, mood, and style. The visual arts have a more precise vocabulary (cinematic, watercolor, cyberpunk, anime, and so on). A fast way to pick it up is to upload reference images and ask, “How would you describe this picture?” You can also upload an old photograph and ask the model to remove glare and rough texture, and to adjust the aspect ratio, as a form of restoration.

The more powerful the capability, the more it should be used only for beneficial, legitimate purposes. Using speech generation to fix one or two flubbed words in a podcast, or to voice characters in an independent game, expands who can create. Using a voice clone to impersonate a relative and invent an “emergency wire transfer” is clearly harmful. Beneficial uses greatly outnumber harmful ones, but harmful uses have to be refused on purpose.


9. Prompt your way to small apps, and analyze data with code

Start with simple apps that have a clear boundary

It is already much easier than it was a few months ago to have a model write a small game or tool that runs in the browser, but you can still get something that does not work. When you are starting out, choose apps with a specific, well-defined task, no need for extra uploads or outside systems, and a short session you can open, use, and close. Examples include a fireworks simulator, a physics game in which you place obstacles, a Pomodoro timer, a bill splitter, an outfit picker based on the weather, a simple platformer, or French-vocabulary flashcards. Starting with a multiplayer game over the internet, or “live spoken practice with feedback,” is much harder. If you are not sure whether an idea is feasible, try a minimal version; failure itself trains your intuition.

When you write this kind of prompt, it helps to remember a set of building blocks. For a small app, get at least three of them clear: the goal (what you want to create), the input (what the user provides), and the output (what the app gives back). For example: “Generate a fun fireworks simulator. I should be able to click on the screen and see a colorful display of fireworks.”

“Use these building blocks to prompt your app”: goal, input, and output are the most basic three blocks when you prompt an app into existence.

Write these three first, then consider layout and extra features. You do not have to use every block every time, and the order can change, but it is best to state the goal first.

For a more complete web app, you can add two more blocks: layout (what is on the left, what is on the right), and special features (for example, an “I’m Feeling Lucky” button that fills in the blanks, or copy-to-clipboard). That makes five blocks: goal, input, layout, special features, and output. You can add requirements gradually — first a page that writes a message from a name, age, and hobby, then a more festive title and colors, then a card displayed on the right — or, when you already know what you want, put all five into a longer prompt up front, get a closer first version, and then refine it.

Even with a fairly specific prompt, running it several times will still produce different results, which may all be usable. If the prompt is very vague, and you only say “make a webpage that helps me write birthday cards,” the results can differ completely in fields, structure, and copy. Being more specific makes the results more predictable, but some variation is normal; if a particular result is really not what you want, add instructions and steer it back.

The same fairly specific prompt, run several times, can still produce pages that look different but all work; a vague prompt may come out completely different each time.

Specificity is for predictability, not for eliminating all randomness.

A complete example: a birthday-card generator

Start in ChatGPT, Gemini, Claude, or a similar system, describe the app, have it generate HTML, download the file, and open it in a browser (usually from your Downloads folder; a double-click is enough). The first version may have only three fields — name, age, and hobby — and a merely decent message. You can then ask it to: switch to five fields (add an adjective and a plural noun); add an “I’m Feeling Lucky” button that fills the blanks from a prepared list of funny words; add copy-to-clipboard; and change the title and colors. If you change your mind, you can switch the theme from blue to purple.

A fill-in-the-blanks birthday-card generator: fields on the left, the card on the right, a history of cards, and one-click copy.

Finishing one small app before you jump to your own idea makes it easier to build intuition for “if I change the prompt this way, the result changes that way.”

If you click a button and nothing happens, that is a bug. The right move is not to start by decoding the technical terms it writes, but to describe clearly what you did and what you saw: “I filled in every field and clicked Generate Card, and nothing happened. Please fix it.” Models are usually good at fixing this kind of basic error. It may explain that “the button has no click handler” — you do not have to understand that yet; if you are curious, you can ask what the terms mean. Then download the new HTML and check whether it actually works.

Clicking “Generate Card” produces no card: stating the symptom clearly is more effective than diving into error jargon first.

State a reproducible symptom, then let it fix the bug; judge the result by actually running the new file.

The same method can be used immediately on a second app. For a single-file Pong game, for example: first ask for “a table-tennis game as a single HTML file, the user plays against the computer with the arrow keys,” then add three difficulty levels, a points-to-win setting and a score, and then specify the colors of the table, paddles, and ball, plus a background image. The prompt is still goal, input, output, layout, and features; if it is not enough, iterate. You do not have to get it right the first time.

A Pong game iterated into existence with prompts: difficulty, points to win, and the score can all be added in later instructions.

From an idea to a playable first version often takes only a few rounds of specific, checkable instructions.

After you have built something, showing it to a friend or colleague, hearing them laugh, or watching them get stuck is a low-cost way to improve it. If you want more features and have no ideas, you can also ask the model, “How can I make this birthday-card app cooler?” and then implement one or two of the suggestions.

A good synthesis exercise is to build your own fill-in-the-blanks story generator. A minimum requirement can be: three to five input fields, a button that generates output from those inputs, and a place to display the result. The theme does not have to be a birthday card; it can be an over-the-top product review, a time-off request, or any other template you find fun.

Have the model write code to analyze data

If you have running records, a sales spreadsheet, or some other table, you can give the file to a model that can write and actually run code, and ask it to extract insights, rather than inventing an analysis that only “sounds right.” Running code is a tool in the same family as web search: when the question needs calculation, statistics, or a chart, the model writes a program, executes it, and then interprets the result.

A bubble-tea shop is a complete example. Upload the sales table and ask, “Which drinks had the biggest changes in sales? Graph it.” The model may first inspect the data, compute month-to-month changes, and then focus on the few drinks that actually stand out, instead of crowding every line onto one chart. You might see a matcha drink take off in spring, two fruit teas rise in summer, and a new coconut milk tea do well in the fall, and then consider repeating the spring promotion next year.

To go further, you can write: “Create a one-page year-in-review graphic for our bubble-tea shop. Analyze the data carefully for insights.” The word “carefully” in a prompt can sometimes trigger a longer stretch of thinking. The model may compute revenue, order count, average ticket, and items sold, and turn them into a visually consistent one-page graphic. You should still spot-check the numbers, because the model can still be wrong; but because the numbers were produced by running code, they are usually a better starting point than purely generated “statistics that look plausible.”

“Getting insights from data”: giving a spreadsheet to a model that can run code can produce, in a short time, a one-page business review you can check.

Simple analysis is often enough, and much faster than starting from scratch in a spreadsheet; complex conclusions still need a spot-check.

A routing rule you can keep: for common, stable questions, pre-trained knowledge may be enough; for freshness, use search; to synthesize many sources into a plan, use deep research; to calculate, chart, or pull numbers from your own tables, have it write and run code.

If you string the earlier methods together, you can also do one complete exercise: first brainstorm a research question you actually care about (add context about yourself, and give feedback on the options) → research it with specified source types → then, from the report, build a small app such as a quiz, a mini-game, or an infographic, and share it for others to try.


10. A practical checklist

Designing and improving agentic workflows

  • Break the work into visible steps; understand the process before you decide whether to use a framework.
  • Put evaluations on the critical steps, and use the data to decide what to improve next.
  • Package reusable domain procedures as a Skill (instructions + scripts + references) and load them on demand, instead of stuffing everything into one prompt.

Using coding agents

  • Aim for a more sensible time structure, not only “AI wrote 80% of the lines.”
  • After engineering speeds up, deliberately add product judgment, and expect design, compliance, and communication to become new waiting points.
  • Give the agent current documentation so it does not call outdated APIs; when needed, make “look up the docs” a repeatable step.

Finding information

  • First judge: is this common, stable knowledge, a fact that needs to be current, or a complex question that requires synthesizing many sources?
  • When you search, specify the kinds of sources you want, and spot-check original pages; do not assume citations are correct.
  • Turn deep research on explicitly; ordinary chat will not automatically do tens of minutes of research for you.

Thinking, writing, and evaluation

  • For brainstorming: context → several options → feedback → more options.
  • Start a new conversation when the subject is unrelated.
  • For complex problems, use a stronger model, give it all the material an expert would need, and tell it clearly to think hard.
  • “Think step by step” can be retired; “think hard” is still useful.
  • Keep questions neutral, or provide a rubric that can be scored yes or no.
  • For writing, revise the outline before the draft; for editing, change one piece at a time.
  • Regularly send the same prompt to different models, so your judgment stays sharp.

Desktop apps and multimodality

  • Review the plan before you allow files to be changed; grant access only to the smallest necessary folder; deletion and overwrites may be irreversible.
  • When you use images as context, remember that fine detail is a weakness; check high-stakes results yourself.
  • For image generation, specify the setting, details, and style; expect a longer wait; and use the capability only for legitimate purposes.

Building apps and analyzing data

  • Start with simple apps that have a clear boundary; write the goal, input, and output into the prompt, and add layout and features when needed.
  • Fix bugs with a reproducible description of what happened, and judge the result by running the new file.
  • When you analyze a spreadsheet, have the model write and run code, then spot-check the key numbers.

Habits that last

  • Do both things at once: keep building, and keep filling in the key concepts, so you neither study without practice nor practice without study.
  • Show what you have built to other people, and collect real reactions.
  • Models are still changing; keep giving them hard problems and high-quality context, and keep trying new models.

Sources and notes

This article is based on an approximately 3-hour-18-minute video (11,894.7 seconds) attached to the public X post https://x.com/n0tisma/status/2121576378453967255. The original post was written by @n0tisma and published at 2026-11-14 20:10 CST (UTC+8). The post presents the footage as promotional packaging for “how to become an AI engineer in 2026.” That is not the official course title of the segments in this material, and this article does not use that phrasing as its title.

The original video is spliced together. The main segments, by approximate time (start and end points follow the captions and on-screen transitions, and may be off by a few seconds), are:

  1. About 00:00:00–00:02:32: an introduction to a course on building agentic systems (it mentions a long-form course available only on deeplearning.ai, and emphasizes raw Python and evaluation-driven improvement).
  2. About 00:02:32–00:04:25: an introduction to an Agent Skills course built in partnership with Anthropic.
  3. About 00:04:25–00:23:27: a developer-conference talk (on-screen branding: AI Dev 26 × SF) on how AI coding is changing software engineering, including a Context Hub demo and the announcement of Codream.
  4. About 00:23:38–02:52:07: a prompting and AI-use course aimed at a broad audience (on-screen marks: DeepLearning.AI; modules cover finding information, using AI as a thinking partner, writing and critique, multimodality, and prompting small apps). Around 00:23:38 a conference title card appears that is not continuous with what comes before or after, which is itself a sign of splicing.
  5. About 02:52:20–03:18:03: another introductory course, with the on-screen title Build with Andrew / Creating an app with AI, using birthday-card and Pong examples to show how to generate HTML apps from prompts. This segment overlaps the previous one on “state the goal, input, and output; be specific; iterate.” The body of this article merges that overlap and keeps only what this segment adds: the five building blocks, downloading and running the file, debugging, and the second-app example.

The teaching frames often show DeepLearning.AI and Andrew Ng marks; the re-uploaded frames also have an @n0tisma watermark. The figures in this article are keyframes from the original video, used to illustrate methods. They are not a republication of official course slides.

Limits of the auto-generated captions. The transcript used here is the platform’s English auto-generated track (en (auto-generated)), not a human-corrected script. Confirmed problems include hearing Claude as Cloud, HTML as HDMI, long-form as long phone, the course name “AI Prompting for Everyone” as “air prompting,” various near-misses for “job apocalypse,” badly distorted personal and colleague names, and at least one stretch in which the discussion of sycophancy was captioned as “circumvention.” Where a model number, a precise statistic, or a product name appears only in the captions and was not checked against on-screen text, the article keeps the teaching principles and steps and does not treat a possibly misheard proper name as fact. For specific product steps, figures, and names that you need to cite, use the original platform course or official documentation.

For proper names, sampled frames take precedence. In the sample clips, the talk title is “AI Coding, Context Hub and Codream,” and the product name is spelled Codream. The English auto-captions rendered the same name as CodeDream; an earlier draft based on the captions followed that spelling, while a folder name in one keyframe description was already “Codream 1.” Where these conflict, the body of this article follows the on-screen spelling Codream. This was only a sampled visual check; the full approximately 3-hour-18-minute original was not watched end to end.

This article was not prepared by treating the full 3-hour-18-minute original as visually verified material. The structure and arguments follow the complete auto-generated captions first, and the figure captions follow text descriptions of the keyframes. The full original video is kept separately, for checking when needed.