Skip to context engineering
← Back to the story

AI Engineering

What is AI Engineering?

There's that scene in the Matrix where Neo and Trinity are on a rooftop and need to fly to Morpheus to save him.

The problem, however, is that none of them know how to fly it.

So, they call back to headquarters and request for a man at a computer to upload a skill that will allow them to fly the helicopter.

That's basically how agentic skills work.

Within the skill is: the context that informs it, the tools that equip it, the workflows that navigate it and the goals that guide it.

AI Engineering is about how to provide an agent the right things that allow it to do work repeatably and reliably.

03 / CONTEXT ENGINEERING

To engineer context means to give an AI the right , at the right , for the right .

To engineer context means to plan, design, build, or skillfully arrange the information, instructions, tools, or memory an AI works with, using technical principles, so it can do a job well on your behalf.

1 / 5 · A skill gives the Agent a way to work. Context gives it something to work with. The Agent gains context by reading files stored locally, accessing the internet or by accessing platforms.

2 / 5 · Context engineering is how the Agent knows what it needs to know when it needs to know it. Here, SKILL.md orients the Agent and guides it towards the files it might need for the job.

3 / 5 · Every word the Agent reads costs tokens. One way to structure information is to allow the Agent to do what humans naturally do to be resourceful and that is to scan broadly before reading deeply.

4 / 5 · The Agent gathers context from the places that matter: customer data in the CRM, recent correspondence in Mail and relevant files. It brings the useful parts together, keeping their sources and dates.

5 / 5 · Context engineering is also about memory: deciding what to use now, what to save and what to check again. The Agent writes a short memory.md with useful facts and links back to the records.

tools / What tools make possible

To equip an Agent with tools means to give it the right
capabilities
, with the right
access
, for the right
job
.

Tools are functions an Agent can call to search, read, calculate or make changes. Each call supplies inputs, performs an operation and returns a result. Choosing the tools and defining their permissions determines what the Agent can do on your behalf.

1 / 1 · Tools give the Agent a way to act. It can find and read files, make changes, run commands, search the internet and work with other systems. Click around to explore what each tool does.

workflows / 01 OF 05 / Give the work a structure

A workflow connects individual actions into a job.

A workflow defines how steps connect. Each step hands a tool its input, waits for the result and lets that result decide what comes next. The engineering is in the sequence, the checks and the points where a person takes over.

1 / 5 · Main Street Hardware wants order 219 again, delivered by Friday. The Agent turns that into a workflow: a short plan of steps, each done by a tool. It starts with what it already knows, reading memory.md and the lines of order 219.

2 / 5 · Each step hands a tool its input, then the Agent waits. Bash runs the stock check for order 219, and nothing moves until it answers. The answer feeds back into the main flow: the paint is in stock, but the rollers are four short.

3 / 5 · Four short changes the plan. The Agent sends a helper to check the Bellville warehouse and searches the supplier's lead time at the same time, then waits for both answers. Bellville has the rollers, but they can only arrive on Monday.

4 / 5 · Some decisions belong to a person. The Agent puts the options to Maya, the account owner, and waits for her answer. She chooses to send what is in stock on Friday and the last four rollers on Monday.

5 / 5 · Finished means the order is split into two deliveries, Main Street Hardware has its reply, memory.md records Maya's decision and a check is booked for Monday morning. Every step went out with its input and came back with a result.