BUILDERSTAFF/AI

Can AI Do Daily Trench Inspections for Excavation Contractors?

By , Founder, BuilderStaff AI··7 min read

A shovel, a ladder section, a gas detector, a rain gauge, a checklist clipboard and a traffic cone on a paper background.

The short answer

No. Under 29 CFR 1926.651(k), a competent person has to inspect the excavation, the adjacent areas and the protective system every day and again after every rainstorm. AI cannot be that person. It can prompt the checklist, take the answers by voice, file the record by job and date, and flag any day an open trench has no inspection.

Key takeaways

  • AI cannot perform the daily trench inspection, because OSHA assigns it to a competent person who can spot hazards and has authority to correct them.
  • AI is useful for the paperwork around the inspection: prompting the checklist, taking answers by voice, filing by job and date, and flagging missed days.
  • A sound checklist covers soil type, protective system, spoil setback, access, water, air and utilities, each tied to a Subpart P paragraph.
  • The record is only as good as what the competent person actually looked at, so a faster form must not become a faster way to skip the walk.
  • Start with one crew and your existing form, and keep a person signing every inspection.

Can AI do the daily trench inspection?

No. Subpart P hands the daily inspection to a competent person, who looks over the excavation, the ground beside it and the protective system for signs of cave-in, system failure, bad air or other hazards. That is 29 CFR 1926.651(k)(1). Rain resets the clock: the same paragraph calls for another inspection after every rainstorm or other event that raises the hazard. The timing in the rule text is before work starts, then as often as needed during the shift.

Software does not meet the definition. Two things make someone competent under 29 CFR 1926.650: the ability to spot existing and predictable hazards, and the authority to correct them promptly. An AI tool cannot roll a soil sample in its hand, see a tension crack behind the spoil pile, or order the crew out. What it can do is the paperwork around the inspection, and that is where most crews fall down.

The stakes are plain. OSHA's November 2024 count shows 39 trench collapse deaths in 2022, 15 in 2023 and 12 in 2024 as of that release. A single cubic yard of soil can run as heavy as 3,000 pounds, per a 2016 Department of Labor release.

This is general information, not legal advice. Requirements vary by state, especially in states that run their own OSHA plans, and they change. Check the current rule and your own safety program.

What should the daily trench checklist cover?

Seven items, each tied to a paragraph of Subpart P. These are the questions an AI tool should ask the competent person, in this order, every morning the trench is open.

ItemWhat the competent person checksSubpart P reference
Soil typeClassification today, and whether rain, seepage or vibration changed it. Appendix A sorts soil into four categories. Type C, the weakest, takes in submerged soil and soil with water seeping freely.Appendix A to Subpart P
Protective systemCave-in protection is the default. The only outs are a dig entirely in stable rock, or one under 5 feet where the competent person's exam of the ground shows no sign of a possible cave-in. Damaged or defective shoring and shield parts have no place in the system.1926.652(a)(1) and (d)(1)
Spoil setbackTwo feet is the minimum distance for spoil, materials and equipment from the edge, unless retaining devices hold them back.1926.651(j)(2)
AccessOnce a trench reaches 4 feet deep, nobody in it should be more than 25 feet of lateral travel from a ladder, stairway or ramp.1926.651(c)(2)
WaterStanding or rising water closes the trench to the crew until precautions against it are in place. Runoff from heavy rain is its own trigger for a competent person inspection.1926.651(h)
AirAir testing comes before entry when a dig deeper than 4 feet sits where low oxygen or a hazardous atmosphere could reasonably be expected, such as near a landfill.1926.651(g)
UtilitiesLocates come first. The estimated position of buried lines gets worked out before the excavation is opened.1926.651(b)(1)

What can AI do for an excavation contractor right now?

Seven jobs pay back first, and the trench inspection record is the top one. In each, a person does the looking and the deciding. AI does the asking, writing, filing and reminding. The examples below are illustrations, not customer stories.

UseWhat it replacesEffort to start
Voice-prompted trench inspectionPaper form filled in at the truck, or from memory on FridayLow: your form, your list of competent persons, a phone
Filing and missed-day flagsBinders, photo rolls, office chasing foremenLow: a list of jobs with open excavations and who gets the alert
Rain re-inspection remindersSomeone remembering it rained overnightLow: job addresses
Daily report by voiceHandwritten dailies typed up laterLow to medium: your report form and cost codes
Extra work documentationVerbal agreements and lost ticketsMedium: your T&M and change order forms, an approver
Training and locate date trackingA spreadsheet nobody opensMedium: someone has to enter the dates once
JHA and toolbox talk draftsBlank forms copied from the last jobMedium: your written safety procedures

1. Voice-prompted trench inspection

The competent person walks the trench and answers out loud. Example: at 6:40 a.m. the pipe foreman stands at an 8-foot sewer trench. The AI asks the seven items in order. He answers, adds a photo of the shield and the ladder, reads the finished form on his phone and signs it. To start, you need your existing inspection form and the name of the designated competent person on each job.

2. Filing by job and date, with missed-day flags

This is the part people cannot keep up by hand. Each record is filed under the job and the date. If a crew logs hours in an open trench on Tuesday and no inspection exists by a set time, the superintendent gets a message. To start, list which jobs have open excavations and who should be alerted.

3. Rain re-inspection reminders

AI can watch the forecast and the overnight rain for each job address and remind the competent person to inspect again before anyone goes in. It cannot know what the rain did to the wall. It can only make sure the question gets asked, starting with water and soil type.

4. Daily report by voice

The foreman talks through the day from the cab: feet of pipe laid, loads hauled, equipment hours, who was on site, what held the crew up. The AI writes it on your form. The same conversation can cover the inspection and the daily in one pass.

5. Extra work documentation

When the bucket hits an unmarked line or rock, the foreman reports it by voice with photos, hours and equipment. The AI drafts the ticket for the project manager to review and send. See how to fill out a time and materials ticket for what the ticket needs.

6. Training and locate date tracking

AI can keep the dates you give it, such as competent person training, operator cards and locate tickets, and remind you before they lapse. Related guides: tracking license and certification expiration dates and AI for utility contractors.

7. JHA and toolbox talk drafts

Given your written safety procedures and today's task, AI can draft a trenching JHA or a short talk on spoil piles or ladder spacing. The crew lead reads it, corrects it and delivers it. A draft nobody reads is worse than a blank form.

What does AI still do poorly in excavation work?

It cannot see, judge or stop work. Be clear about these limits before you buy anything.

  • It only knows what it is told. If the foreman says the shield is in, the record says the shield is in. The tool has no way to check.
  • It should not classify soil. Soil typing depends on tests done at the trench by a trained person. Do not accept a soil type from a photo.
  • It has no authority. It can send an alert. It cannot pull a crew out or order a trench box.
  • It does not design protective systems. Reading tabulated data and choosing a system is the competent person's or the engineer's call.
  • It can make pencil-whipping faster. A two-minute voice form is easy to do from the truck without walking the trench. Photos and spot checks by the superintendent help.
  • Jobsites are loud and signal is patchy. Test voice capture next to a running excavator before you roll it out.

How do you start without creating a paper exercise?

Start with one crew, your current form and a named person who signs.

  1. Name the competent person for each job in writing and confirm their training.
  2. Hand over your existing trench inspection form. Add the Subpart P reference next to each item.
  3. Set the rule: the inspection is recorded at the trench, before entry, with at least one photo.
  4. Set the alert: who hears about a missed day, and by what time.
  5. Add the rain trigger for each job address.
  6. Have the superintendent compare three records a week with the actual trench.
  7. After a month, add the daily report or extra work tickets.

Where does BuilderStaff AI fit?

BuilderStaff AI builds one AI employee per trade. For heavy civil that is Stanley, "the AI superintendent". He knows the company's crews, equipment, cost codes and safety procedures, and helps with the morning JHA and the daily report. BuilderStaff builds, hosts and manages him. Its stated rule matches this article: "Safety-critical, financial, legal and contract work always goes to a person for approval." More on that in what human approval means in an AI workflow.

Before go-live, BuilderStaff confirms "what is ready today, what needs your software connected and what needs your approval." Ask which group your trench inspection form falls in. If you want a free first step, the JHA Quality Audit lets you upload a JHA or answer 14 questions for a score and fixes, with no signup.

Frequently asked questions

Does a trench under 5 feet deep still need a daily inspection?

Yes, as far as the inspection goes. The 5-foot figure in Subpart P concerns when a protective system can be skipped, not when inspections start, and safety firm Safex reads the rule as covering every trench, shallow ones included. Shallow trenches still collapse, so keep the same checklist.

Does OSHA certify competent persons for excavation?

No. Training provider KnowledgeCity notes that OSHA issues no competent person credential for excavation work. The employer designates the person, so keep the designation and the training records where you can find them.

Can AI classify soil from a photo?

Do not rely on it. Oregon OSHA's excavation guide describes soil typing as a mix of visual and manual tests that the competent person understands and performs at the site. A photo carries none of the feel of the soil, and a wrong call here sets the wrong slope or shoring.

What should happen when the inspection finds a problem?

The competent person acts on it, because the role comes with authority to correct hazards. The AI tool's job is to record what was found, attach the photo and notify the superintendent right away. Never set up a tool so that it is the thing that clears a trench for entry.

Is our inspection data safe in an AI tool?

Ask every vendor how data is encrypted, who can see it and whether it is used to train models for other customers. BuilderStaff AI states that it uses AES-256 encryption in transit and at rest, isolates each company's knowledge, and never uses what you teach its AI employees to train anyone else's. Details are on its security page.

Sources

  1. 1926.651 - Specific Excavation Requirements OSHA
  2. 1926.652 - Requirements for protective systems OSHA
  3. 29 CFR 1926.651 eCFR.io
  4. 29 CFR 1926.650 - Scope, application, and definitions applicable to this subpart Cornell Legal Information Institute
  5. 29 CFR Part 1926 Subpart P -- Excavations eCFR
  6. 29 CFR 1926.652 - Requirements for protective systems GovRegs
  7. 1926.651 Specific Excavation Requirements UpCodes
  8. Department of Labor encouraged by decline in worker death investigations OSHA
  9. OSHA news release, June 7, 2016 U.S. Department of Labor
  10. Excavation & Trenching Inspection Checklist (Free) Ecesis
  11. Trenching and Excavation: Five Feet and What Comes Before It HP Safety Consulting
  12. Let's Talk Trench Inspections - What Does OSHA Require? Safex
  13. Excavation Safety Training Requirements Under OSHA Subpart P KnowledgeCity
  14. Excavations: Safe practices for business owners Oregon OSHA

Keep reading