← [ back to works ]
2026-11-24 · NOTE

The Agent Loop

I find agents easier to understand through a job I can see. Here, I start with a Revit render, share one prompt for making your first agent, and look at where agents could fit beyond images.

Watch the reel on Instagram

Shown on the Pacific Continental Residence in Revit 2027

1. Chatbot or Agent

A chatbot answers once. An agent does the job, checks it, and tries again until it passes or reaches your try limit.

Chatbot
You ask for a render
One image comes back
Not like your reference?
You ask again, and again
Agent
You give a view and a reference
Render
Check against the reference
↺ a check fails: render again
every check passes
You get the image that matches

2. Make an Agent

Two settings, then paste one prompt. No code needed.

1
Get the Claude desktop app

For Mac or Windows, from claude.com/download. The free plan can use skills.

2
Let Claude make files
SettingsCapabilities
Code execution and file creation
Turn this on
After you paste
  1. 1Claude asks you a few questions
  2. 2It runs one test with you
  3. 3It writes your agent as a skill

A render agent

Renders a 3D view from any tool and checks it against your reference.

Render agent · paste into Claude
Make my first AI agent as a Claude skill that renders a
3D view of my model and checks it against my reference.

First, ask me which 3D or CAD tool I use, or if I only
have images or screenshots. Wait for my answer.

Then check which tools, skills and image connectors
you can use for my setup. Tell me what is ready, what
is missing, and the easiest way for me to give you
a view of my model.

Then ask me these one at a time, waiting each time.
Keep each question short and give me choices to pick
from, based on what I told you:
1. Which view image and reference image should I use?
2. Which checks matter most for my work? Suggest 2-3,
   like camera, window size or materials.
3. How many tries should I allow at most?

Use the tools you found to run one test on one image.
If a needed tool is missing, tell me before you run.
Render, check against my reference, and render again
if a check fails. Show each try and what passed and
failed. Stop when every check passes or at my try
limit. Ask me to look at the result.

When I say it works, write a skill folder with a
SKILL.md. Start SKILL.md with a name (64 characters max)
and a description (200 characters max), then the job,
tools, checks and try limit. Zip it with the skill folder
at the top level of the ZIP.

Never change my original files.
Tell me how to run it next time and how to turn it off.
▸Need renders in Claude? Connect Render Boardopen

Claude cannot make images on its own, so the render agent needs an image tool. I use Render Board, which keeps the building as drawn. Each render there is 2 credits.

CustomizeConnectorsAdd custom connector
Name
Render Board
URL
https://renderboard.app/mcp
Add

Have a Render Board account already? Add it in one click. Other image tools, like Higgsfield, can be added in the same Connectors list.

Any architecture agent

Claude asks which job you repeat, then builds the agent with you.

▸Show the promptopen
Any architecture agent · paste into Claude
Make my first AI agent as a Claude skill for a job I repeat.

First, ask me what job I repeat. Offer these examples,
or let me name my own:
- Check renders against a reference.
- Check a drawing set against the sheet list.
- Check a door schedule against the spec.
- Turn meeting notes into action items and draft emails.
Wait for my answer.

Then check which tools, connectors and files you can use
for that job. Tell me what is ready and what is missing.

Then ask me these one at a time, waiting each time.
Keep each question short and give me choices to pick
from, based on what I told you:
1. What files or info will the agent start with?
2. What does done right look like? Suggest 2-3 checks
   based on what I said for me to confirm.
3. If a check fails, should you try again up to a limit
   I set, or stop and ask me? If I choose to try again,
   ask me for that limit.

Show me the agent as a short list of steps, with the
checks and when it stops. Wait for my OK.

Then run one test with me on one real example.
Show what passed and failed. Ask me to look at the result.

When I say it works, write a skill folder with a
SKILL.md. Start SKILL.md with a name (64 characters max)
and a description (200 characters max), then the steps,
tools, checks and stop rule. Zip it with the skill folder
at the top level of the ZIP.

Never change my original files.
Tell me how to run it next time and how to turn it off.

I also share 47 ready-made architecture agents for Claude Code.

Senior Code ConsultantPermit ExpeditorSenior Plan ExaminerAccessibility SpecialistSenior Cost EstimatorSenior Structural EngineerSenior MEP EngineerEnergy ModelerEnclosure ArchitectHistoric Preservation ArchitectSenior Specifications ConsultantLandscape Architectand 35 more
See all 47 agents

3. Save It as a Skill

A skill is a saved set of instructions, like a recipe card. Once the test works, Claude writes your agent as a skill so you can run it again any day.

ZIP
render-check.zip
Claude makes this file
CustomizeSkills+Create skillUpload a skill
render-check
Your first agent, saved as a skill
Next time, in any new chat
Use my render-check skill on this view.
living-view.pngreference.jpg

The screens on this page are drawings, not screenshots. The menu names come from Anthropic’s help pages and may move as the app changes. An uploaded skill stays in your own account until you share it; sharing is available on Team and Enterprise.

4. Inside an Agent

The render agent drawn out step by step. Each box is one step, and each arrow is what happens next.

Your inputs3D view image · reference imagechecks to run · try limitRenderuses your image connectorCheckcamera · window size · materialsAll checkspass?yesYou get the imagenoTriesleft?yes: render again, with what failednoStop and ask youState: what it rememberstry 2 of 3 · last fail: camera movedyour reference and your checks
Node
One step, like Render or Check.
Edge
The arrow to the next step.
Condition
A yes or no question that picks the arrow.
State
What the agent remembers between steps.
Tool
The app a step uses, here an image connector.

5. A Real Check

From my own render run: the first try moved the camera and failed the check. The second kept the Revit camera and passed.

The Revit Entry view of Pacific Continental Residence beside render try 1 with a moved camera and render try 2 with the Revit camera.
An example: the Revit Entry view sits beside two renders, with the first set aside for moving the camera and the second passing the camera check.
Revit edges laid over render tries 1 and 2, with lines out of place on the first building and aligned on the second.
An example: Revit's edges do not line up with the building in the first try but do line up in the second.

6. Five Patterns

Anthropic’s article Building effective agents names five patterns. The check-and-retry loop is one of them.

MakeCheck
Check and retry
One makes the work; another checks it and gives feedback.
In architecture: Render a 3D view, check the camera, and try again if needed.
NotesActionsEmails
Step by step
Each step uses the work from the step before it.
In architecture: Turn meeting notes into action items, then draft emails.
QuestionPermitSchedule
Sort and send
Sort each input and send it to the right next step.
In architecture: Send permit questions and schedule questions to separate reviews.
SetCodeAccessCostMemo
Many at once
Run parts at once, then bring their work together.
In architecture: Have several specialists review the same drawing set.
LeadCodePlansCost
Lead and helpers
A lead splits the job and assigns parts as it goes.
In architecture: Have a lead divide a set review among specialist agents.

7. When LangGraph Fits

A Claude skill is where I would start. LangGraph is for when the same agent needs to run on a server, on a schedule, for a whole team. It is open source under the MIT license, and I plan to cover a LangGraph build next.

Claude skill
LangGraph
Where it runs
In your Claude app
On a computer or server you set up
Who starts it
You, in a chat
You, a schedule, or another program
Fixed steps and AI steps together
Written as instructions
Drawn as a graph of steps
Waits for your approval mid-run
It can ask you in the chat
Built in
Picks up where a long run stopped
Not built in
Built in
Needs code
No
Yes, Python or JavaScript

8. Beyond Renders

The same loop could fit other work. Each job gets a clear check and a stopping point.

Drawing sets
Job
Review the set.
Check
Match sheet numbers and titles to the sheet list; find views missing from sheets.
Stop
Report gaps and wait.
Schedules
Job
Review door and room schedules.
Check
Check the door schedule against the spec and room areas against the program.
Stop
Report differences and wait.
Code
Job
Prepare a first code read.
Check
Check occupancy and egress paths.
Stop
Stop for a code consultant's review.
Permits
Job
Draft an approval route.
Check
Check which approvals are needed and their order.
Stop
Stop for a person's review.
Coordination
Job
Review consultant drawings.
Check
Compare structural and architectural grids.
Stop
Flag differences and wait.
Meeting notes
Job
Draft action items and emails.
Check
Check each draft against the notes.
Stop
Stop before anything is sent.

9. Limits

It checks only what you list
If you check only the camera, it may miss changes to window sizes or materials.
Every try costs something
Each try costs credits or time, so set a try limit.
You stay in charge
Check the first runs yourself. A person still signs off anything about code, permits, or safety.

This is one of the ways I use Claude. I built Render Board, an AI render tool, to share more of them with you. There's still a lot I want to add.

David