Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for carpenters

Stair Layout and Code Check Agent

Give a stair layout that passes code and can be cut without surprises.

Stair Layout and Code Check Agent: what goes in, what the agent does and what you get

What it does

A stair that is off by a few millimeters can fail inspection or feel wrong to walk on. This agent takes the measured floor-to-floor height and available run, then calculates riser and tread options. It checks each option against your local code limits for maximum riser, minimum tread, uniformity and headroom, and flags problems such as uneven first or last risers. When an option fails, it adjusts the number of risers or the run and checks again. It stops at the option that passes and gives you the cut dimensions. You approve the layout before cutting. Edge case: the finished floor adds 19 mm at the top, and the agent corrects the top riser.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN Floor-to-floor height is measured 2 USES A TOOL Enter heights, finish floor thicknesses andavailable run 3 DOES Calculate riser count and riser height options 4 DOES Calculate tread depth and total run for each option 5 CHECKS THE RESULT Do the options meet the limits for riser, tread,uniformity and headroom? If not: List failing limits for each option. Back tostep 4. 6 DOES Adjust the riser count or run 7 USES A TOOL Recalculate and recheck each adjusted option 8 CHECKS THE RESULT Does at least one option pass every check? If not: Test a different riser count or recommend alanding. Back to step 3. 9 DOES Produce the cut dimensions and a layout sketch 10 YOU APPROVE Carpenter approves the layout before cutting 11 RESULT Approved stair layout
Read the steps as a list
  1. Floor-to-floor height is measured
  2. Enter heights, finish floor thicknesses and available run
  3. Calculate riser count and riser height options
  4. Calculate tread depth and total run for each option
  5. Do the options meet the limits for riser, tread, uniformity and headroom?If not: List failing limits for each option. Back to step 4.
  6. Adjust the riser count or run
  7. Recalculate and recheck each adjusted option
  8. Does at least one option pass every check?If not: Test a different riser count or recommend a landing. Back to step 3.
  9. Produce the cut dimensions and a layout sketch
  10. Carpenter approves the layout before cuttingThe agent waits here for your OK.
  11. Approved stair layout

How it decides

It tries the lowest riser count that stays under the maximum, then adjusts until every riser is within the uniformity limit.

  • Maximum riser 7.75 in and minimum tread 10 in unless local code differs (default)
  • Riser height difference must not exceed 3/8 in
  • Add finish floor thickness to the top riser
  • Headroom must be checked at the lowest point

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Code limits (riser, tread, uniformity)
  • Units
  • Finish floor thickness
  • Headroom requirement
  • Preferred riser count range

What keeps you in control

It always asks you first

  • The final layout before cutting

Hard limits

  • Never replaces local code
  • Shows each assumption
  • Never cuts or orders material

It stops when

  • Done: one option passes all checks
  • Stop: no option fits the space; carpenter changes the plan

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensThe floor-to-floor height was 108 1/2 in with 12 ft 2 in of run. The agent chose 14 risers at 7.75 in, but after adding 3/4 in of finish flooring at the top, the first and last risers differed by 1/2 in. The check failed, so it recalculated to 15 risers, which passed with a 7.23 in rise. The carpenter approved the layout.

More agents for carpenters