AI 102

Published: (March 24, 2026 at 01:41 PM EDT)
3 min read
Source: Dev.to

Source: Dev.to

Prompt

A prompt is your instruction to the LLM—the text you write before you press send.
Because the LLM doesn’t “understand” you the way a person would, it pattern‑matches on what you’ve written and generates the most statistically likely useful response. How you phrase the prompt dramatically changes the output.

Think of it like talking to a contractor:

  • “Build me a kitchen.”
  • “Build me a 12 × 14 kitchen with white shaker cabinets, quartz countertops, and an island with seating for four.”

Both requests are to the same person, but the level of detail leads to very different results. The LLM fills in whatever you leave blank; sometimes that works, but often it’s the source of responses that are almost right but oddly off.


Workflow

A workflow treats the AI as a collaborator in a multi‑step process rather than a single‑shot answer machine. Most real tasks aren’t one prompt deep. For example, “Write a blog post for me” actually involves:

  1. Research the topic
  2. Outline the structure
  3. Draft the introduction
  4. Write the body
  5. Edit for tone
  6. Format for publishing

A workflow is the sequence of these steps, where the output of one step becomes the input of the next. This shift lets you ask, “What are the steps this task actually requires?” instead of “What should I prompt?”


Tool Chaining

Tool chaining connects the AI to other tools, allowing information to pass back and forth automatically. The AI isn’t just generating text; it can:

  • Call a search API and read the results
  • Feed those results into the next prompt
  • Write output to a database or send an email

Each tool in the chain does one thing, and the AI decides which tool to use next and what data to pass. Think of it as an assembly line where the AI is the foreman assigning work to each station.

The key difference between a workflow and tool chaining is automation: a workflow can be manual (you paste outputs yourself), whereas tool chaining automates those handoffs—what people refer to as “AI agents.”


Putting It All Together

These three concepts are nested rather than separate techniques:

  • Every tool chain is made of workflows.
  • Every workflow is made of prompts.

If your prompts are vague, your workflows produce inconsistent outputs. If your workflows lack structure, your tool chains break in unpredictable places. Inconsistent results usually stem from one of these three layers.

The people who move forward aren’t necessarily smarter; they simply start thinking in systems instead of isolated prompts.

In the next post, we’ll make this concrete by walking through actual tools and how they pass information between each other.

0 views
Back to Blog

Related posts

Read more »