Modelling a Builder's Back Office Before Building AI for Construction
If you are a developer asked to build AI for construction businesses, the model is rarely the hard part. The hard part is that a builder's back office is a set of loosely connected states spread across a job system, an inbox, a phone and somebody's memory. Before writing a single prompt, it is worth modelling that domain properly. Here is a practical way to do it. Start with entities, not…
Building AI models for construction businesses is not as challenging as it may seem, according to this article. The real difficulty lies in understanding a builder's back office, which consists of loosely connected components like a job system, inbox, phone, and human memory. Before writing any code for AI, it's crucial to model this domain properly.
To start, focus on entities rather than features. Clients typically describe what they want in terms of features, such as "answer my calls" or "chase my paperwork." Instead, translate these features into entities and states. For example, entities could include Contact (client, subcontractor, supplier, head contractor), Enquiry (inbound request, often from a phone call), Quote, Job, Document, and Contract.
These entities are likely already present in the client's job management system, whether it's ServiceM8, Tradify, simPRO, or Procore. The task is to read from these systems and write results back, rather than creating a parallel database that may go out of sync.
Agents in the system act on state transitions. A useful mental model is to have agents watch for a state and move it forward. For instance, when an Enquiry is created (from a call), capture the details, match or create a Contact, and log a note in the job system. When a Document has a status of 'required' and has been pending for a certain threshold, request the document from the Contact and log the request.
Similarly, when a Quote is sent and there's no response within a certain time, send a follow-up and log it. Every action should be triggered by a state that the business already recognizes, and each action should leave a record in the system of record.
Idempotency is also important. Construction contacts can become frustrated if they receive the same document request multiple times in a short period due to webhook retries. To avoid this, treat every outbound action as idempotent, meaning that it should check the log before sending, ensure that the log is checked before sending, and make retries safe by design.
Some outputs, such as safety documents and contract decisions, should never be final without a person's approval. Model these explicitly, with the agent's output status set to 'draft' and requiring approval by the site supervisor for certain document types like SWMS, JSA, and RAMS. If approval is a convention rather than a constraint, someone may skip it on a busy Friday.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to