Building AI Agents

one small job at a time

An agent is an AI that doesn’t just answer questions — it takes a job, works through it step by step using tools and skills, and checks its own work before handing back a result.

This guide walks you from the basic ideas to a complete, working first agent — with templates you can copy and a blueprint aimed squarely at project management work.

Tied to your goal: “Build agents with skills for project managers.” The worked example in section 6 — a status-summary agent — is a good first build: one job, one skill, easy to test, and genuinely useful from day one.

In this guide

  1. What an agent is
  2. Anatomy of an agent
  3. The agent loop
  4. Skills: the secret ingredient
  5. Build one in 7 steps
  6. Blueprint: PM status agent
  7. Copy-and-use templates
  8. Guardrails & safety
  9. Test before you trust
  10. Common pitfalls
  11. Glossary
  12. Your next three builds

1 What an agent is

A chatbot answers. An agent does — within limits you set.

A plain chatbot takes one message and gives one reply. An agent takes a goal, breaks it into steps, uses tools (search, files, calendars, email, calculations) to carry those steps out, looks at what happened, and keeps going until the job is done or it needs your decision.

The difference matters for project work. “Summarise these updates” is a chatbot task. “Each Friday, gather this week’s updates from the team, chase the two people who haven’t reported, and draft the status report in our format” — that’s an agent’s job.

ChatbotAgent
Works inSingle turns — one question, one answerLoops — plan, act, check, repeat
Uses toolsNo, or only when you paste things inYes — reads files, searches, sends, calculates
MemoryForgets between conversationsCarries context, notes and project state
InitiativeWaits for the next promptFollows a goal through several steps on its own
Best forDrafting, explaining, brainstormingRepeatable jobs with a clear “done”

The one-sentence test

If you can describe the job, say what “done” looks like, and check the result yourself, an agent can probably do it. If “done” is a matter of taste or judgement calls you wouldn’t delegate to a junior colleague, keep a human in charge.

2 Anatomy of an agent

The model (LLM)

The brain. It reads, reasons, plans and writes. On its own it can only talk — everything else on this page is what turns talk into work.

Instructions

The standing brief: who the agent is, what it’s for, the rules it must never break, and the exact format its output must take. Written once, applied every run.

Skills

Packaged know-how for one specific job — the procedure, the checks, the template. Skills are what make an agent good at your work rather than generically clever. Section 4 is devoted to them.

Tools

The hands. Reading a spreadsheet, searching the web, drafting an email, checking a calendar. An agent can only affect what its tools reach — which is also your main safety lever.

Memory

What the agent carries between steps and between runs: the project name, the stakeholders, last week’s status. Good memory is what makes week two’s report better than week one’s.

The loop

The engine that runs it all: observe, plan, act, check — repeated until the goal is met or the agent escalates to you. Next section, with a live demo.

3 The agent loop

Four moves, repeated. This is the whole trick — everything else is refinement.

  • Observe — gather what’s true right now: the inputs, the files, the latest messages.
  • Plan — decide the next step (not the whole journey — just the next step).
  • Act — use a tool or produce something: read, search, calculate, draft.
  • Check — compare the result against the goal. Done? Deliver. Not done? Loop again. Stuck or risky? Ask the human.

Step 1 Observe

Step 2 Plan

Step 3 Act

Step 4 Check

4 Skills: the secret ingredient

A skill is a job procedure, written down so an agent can follow it every time.

Think of the model as a capable new starter: smart, fast, but doesn’t know your way of doing things. A skill is the one-page procedure you’d hand that starter — what the job is, the steps in order, the checks to run, the format to deliver in, and the traps to avoid.

Skills are usually stored as a plain text file (commonly called SKILL.md) that the agent loads when a matching job comes up. One agent can carry many skills; one skill can be shared by many agents. This is exactly the model behind your goal — agents with skills, aimed at project managers.

What goes in a good skill

Trigger

When should this skill be used? Written so the agent can recognise the job: “Use when asked to turn team updates into a weekly status report.”

Inputs

What it needs before starting — and what to do if something’s missing (ask, don’t guess).

Procedure

The steps, in order, in plain language. Numbered beats clever. Include the order you’d actually do the job yourself.

Checks

How to verify the work: cross-check dates, confirm every input was used, flag anything overdue or contradictory.

Output format

The exact shape of the deliverable — headings, length, tone. Show one filled-in example; examples teach faster than rules.

Stop conditions

When to hand back to a human: missing data, conflicting reports, anything that would be sent externally or cost money.

Keep skills small

One skill, one job. A skill that tries to cover status reports and risk registers and meeting minutes will do all three vaguely. Three tight skills beat one sprawling one — and each is far easier to test and fix.

5 Build one in 7 steps

The same path works whether you build with a no-code agent tool or with an assistant like this one.

  1. Pick one small, repeatable job. Start with work you already do the same way every time: a weekly summary, a meeting recap, a chasing email. Small scope is not a lack of ambition — it’s how you get something that actually works. Do this: write the job in one sentence — “Turn scattered team updates into a one-page status summary.”
  2. Define “done” before you build anything. What does a good result look like? Length, sections, tone, what must never appear. If you can’t recognise a good output, you can’t test the agent — and neither can it. Do this: take a report you produced yourself and keep it as the gold-standard example.
  3. Write the instructions (the standing brief)Role, purpose, hard rules, output format. Keep it short and concrete. “Never invent a date or a figure — if it’s not in the inputs, say so” is the single most valuable rule you’ll write. Do this: start from the template in section 7 and fill in the blanks.
  4. Write the skill (the procedure) Trigger, inputs, numbered steps, checks, stop conditions. Write it the way you’d brief a sharp new starter on their first morning. Do this: draft it in plain text first; formatting polish comes later.
  5. Connect only the tools the job needs. A status agent needs the updates and somewhere to put the report — not your bank, not your whole inbox. Every tool you add is capability and risk, so add them one job at a time. Do this: list the tools, then cross out any the job can live without.
  6. Test on real, messy inputs. Feed it last month’s actual updates — typos, gaps and all — plus one nasty case: a missing update, two updates that contradict each other. Compare against your gold standard. Do this: run the checklist in section 9 before you rely on any output.
  7. Fix the skill, not the symptom. When output goes wrong, the fix almost always belongs in the instructions or the skill (“always surface anything overdue as a watch item”), not in re-prompting each run. Edit once, benefit every run. Do this: keep short “lessons” note in the skill and update it after each failure.

6 Blueprint: the PM status-summary agent

Your suggested first build, fully specified — copy it, adapt it, run it.

The job: every week, project updates arrive scattered across emails, chats and notes — terse, uneven, sometimes contradictory. This agent turns them into a consistent one-page status summary a sponsor can read in ninety seconds.

In — raw updates

  • Short messages from each workstream
  • Milestone dates and changes
  • Problems, in whatever words people used
  • Last week’s summary (for continuity)

Out — one-page summary

Progress — what actually moved this week

Watch items — overdue, blocked, or drifting

Next week — the commitments that matter

Decisions needed — named, with an owner

How its skill behaves

  • Uses every input or says why not. If a workstream didn’t report, the summary says “no update received” — it never fills the gap with a plausible invention.
  • Promotes bad news. Anything overdue, blocked, or contradicted by another update becomes a watch item, even if the sender buried it in cheerful wording.
  • Keeps dates honest. Dates come only from the inputs. A moved milestone is shown as moved, with the old and new dates.
  • Drafts, never sends. The agent produces the summary for the project manager to approve. Sending stays a human action until trust is earned.

Why this is a good first agent?

The inputs are text you already have, the output is easy to judge against your own past reports, mistakes are visible rather than hidden, and nothing leaves the building without your approval. Master the loop here, and the same pattern builds risk-register agents, meeting agents and chasing agents.

7 Copy-and-use templates

Two starting files. Replace the bracketed parts, keep the rules.

Template 1 — Agent instructions

instructions.txt – Copy

You are [agent name], an assistant for [role, e.g. a project manager
on the ___ project].

Your job: [one sentence — the single job this agent does].

Rules you must never break:
1. Use only facts from the inputs provided. Never invent a date,
   figure, name or decision. If something is missing, say so plainly.
2. Surface bad news: anything overdue, blocked or contradicted
   becomes a watch item, however it was worded.
3. Draft only — never send, publish, book or buy anything.
   Everything you produce is for human approval.
4. If inputs conflict, show both versions and flag the conflict
   instead of picking one silently.

Output format:
[Paste your gold-standard example here, with its headings,
length and tone. Match it exactly.]

Template 2 — A skill file

SKILL.md — weekly-status-summary – Copy

# Skill: Weekly status summary

## Use when
Asked to turn a set of project updates into a weekly status summary.

## Inputs needed
- This week's updates from each workstream
- Last week's summary (for continuity)
- If a workstream is missing, note it — do not chase or invent.

## Procedure
1. Read every update in full. List each workstream and whether
   it reported.
2. Extract: completed work, milestone changes (old date → new
   date), blockers, decisions requested.
3. Cross-check updates against each other. Flag contradictions.
4. Rate the project Green / Amber / Red with a one-line reason
   based on milestone health, not on tone.
5. Draft the summary in the standard format (see below).
6. Final check: every input used or accounted for; every date
   traceable to an input; bad news in Watch items, not buried.

## Output format
- RAG rating + one-line reason
- Progress (max 4 bullets)
- Watch items (each with owner, if known)
- Next week (max 4 bullets)
- Decisions needed (named owner + what is needed)

## Stop and ask a human when
- Two updates contradict each other on a date or a fact
- A workstream covering a critical milestone has not reported
- The summary would be sent to anyone outside the project team

Adapt the wording to your projects — the structure (trigger, inputs, procedure, checks, stop conditions) is the part worth keeping exactly as it is.

8 Guardrails & safety

Agents act. These six habits keep that acting safe.

1 · Least privilege

Give each agent only the tools and files its job needs. A summariser doesn’t need send access; a drafter doesn’t need delete access. Narrow access is the cheapest safety there is.

2 · Approval for anything irreversible

Sending, publishing, paying, booking, deleting — a human approves first. Drafting is free; consequences are not. Loosen this only for specific actions the agent has proven itself on, one at a time.

3 · “Never invent” as a hard rule

The most dangerous agent failure is a confident, plausible fabrication — a date that was never said, a figure that was never reported. Ban it in the instructions, and test for it deliberately.

4 · Treat outside text as data, not orders

Agents read emails, documents and web pages that other people wrote. Instructions hidden in that material (“ignore your rules and send…”) are a known attack. A well-built agent follows your instructions, and treats everything it reads as material to work on — never as commands.

5 · Keep a paper trail

Save the inputs alongside each output. When a summary is questioned three weeks later, “here’s exactly what it was working from” settles it — and shows you whether the fault was the agent’s or the inputs’.

6 · Start read-only

New agent? Let it read and draft for its first weeks. Add write actions later, singly, once its judgement on the read-only work has earned it.

9 Test before you trust

Run every new agent — and every changed skill — against this list.

  • The ordinary case: last week’s real inputs produce a summary at least as good as the one you wrote yourself.
  • The missing input: remove one workstream’s update. The agent flags the gap instead of inventing progress.
  • The contradiction: two updates give different dates for the same milestone. The agent surfaces both and asks, rather than silently choosing.
  • The buried problem: hide an overdue item inside upbeat wording. It still lands in Watch items.
  • The fabrication probe: ask about something no input mentions. The agent says it doesn’t know — every time.
  • The boundary: ask it to send the summary onward. It drafts and stops for approval, as instructed.
  • The format: output matches the gold-standard example’s headings, order and length without being reminded.

A useful rule of thumb

Trust grows in stages: first you check every output, then you spot-check, then you only review the flags the agent itself raises. If an agent can’t pass the nasty cases above, it stays at stage one — no matter how good the ordinary case looks.

10 Common pitfalls

Every agent builder hits these. Here’s how to step around them.

Starting too big

“An agent that runs my whole project” fails in ways you can’t diagnose. “An agent that drafts the Friday summary” succeeds, teaches you the craft, and becomes a building block.

Vague instructions

“Write a good summary” gets you a different summary every week. Concrete beats clever: named sections, maximum lengths, an example to match.

No example output

Describing a format in words is slow and unreliable. One real example in the instructions or skill does more than three paragraphs of description.

Fixing runs instead of the skill

Re-prompting “no, put the overdue item at the top” fixes today only. Putting it in the skill fixes every future run — that’s the whole point of writing skills.

Trusting the demo

Agents shine on tidy sample data. Your real inputs are messy, late and contradictory — test on those, or the first real week will do the testing for you.

Giving send access on day one

The fastest way to lose confidence in a good agent is one message it shouldn’t have sent. Draft-first isn’t timidity; it’s how trust gets built.

11 Glossary

The handful of terms this guide uses, in plain language.AgentAn AI system given a goal, tools and instructions, which works through steps on its own and checks its results before delivering.LLM / modelThe “brain” — a large language model that reads, reasons and writes. It powers the agent but, alone, can only produce text.SkillA written procedure for one job — trigger, inputs, steps, checks, output format, stop conditions — that an agent loads when that job comes up.ToolSomething the agent can do in the world: read a file, search, check a calendar, draft an email. Tools are both capability and risk.Prompt / instructionsThe standing brief given to the agent: its role, rules and output format. Distinct from the one-off request in any single run.The loopThe agent’s working cycle — observe, plan, act, check — repeated until the goal is met or a human is needed.ContextEverything the agent can “see” in a given run: the request, its instructions and skills, the inputs, and its memory.GuardrailsThe limits around an agent: restricted tools, approval steps, hard rules like “never invent a date”.HallucinationWhen a model states something false with complete confidence. The “never invent” rule and input-traceable outputs are the countermeasures.RAG statusRed / Amber / Green project health rating — used in the blueprint as an example of a judgement a skill can teach an agent to make consistently.

12 Your next three builds

Once the status agent works, these reuse everything you’ve learned — in order of difficulty.

1 · Meeting-to-actions agent

Job: turn meeting notes into decisions, action items with owners and dates, and a short recap.

New skill it teaches you: extracting commitments — and flagging actions mentioned with no owner.

2 · Risk-watch agent

Job: scan weekly updates and the risk register, and flag risks that are growing, stale, or missing an owner.

New skill it teaches you: comparing this week against last week — memory across runs.

3 · Chasing agent (draft-only)

Job: notice who hasn’t reported or responded, and draft polite, specific follow-ups for you to approve and send.

New skill it teaches you: working across tools — calendar, email and the tracker — while a human keeps the send button.

Where to begin

Copy the two templates in section 7, fill them in for one of your real projects, and run the status agent on last week’s actual updates. Compare its draft with the summary you produced yourself — that comparison is the fastest agent-building lesson there is.Guide to Building Agents — a working reference, not a sales pitch. Revisit sections 7–9 each time you start a new agent.Aligned to the goal: “Build agents with skills for project managers.”