<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: laikodev</title>
    <description>The latest articles on DEV Community by laikodev (@laikodev).</description>
    <link>https://dev.to/laikodev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4259795%2Ff3feb76e-e8c4-4f8d-8ccd-f55289c371e9.png</url>
      <title>DEV Community: laikodev</title>
      <link>https://dev.to/laikodev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/laikodev"/>
    <language>en</language>
    <item>
      <title>Modelling a Builder's Back Office Before Building AI for Construction</title>
      <dc:creator>laikodev</dc:creator>
      <pubDate>Thu, 26 Nov 2026 03:45:20 +0000</pubDate>
      <link>https://dev.to/laikodev/modelling-a-builders-back-office-before-building-ai-for-construction-1ngk</link>
      <guid>https://dev.to/laikodev/modelling-a-builders-back-office-before-building-ai-for-construction-1ngk</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with entities, not features
&lt;/h2&gt;

&lt;p&gt;Clients describe what they want in features: 'answer my calls', 'chase my paperwork'. Translate those into entities and states first. A rough starting set for a trades or building business:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Contact&lt;/strong&gt;: client, subcontractor, supplier, head contractor&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Enquiry&lt;/strong&gt;: an inbound request, often from a phone call, not yet a job&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Quote&lt;/strong&gt;: sent, viewed, accepted, declined, stale&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Job&lt;/strong&gt;: booked, in progress, complete, invoiced&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Document&lt;/strong&gt;: required, requested, received, expired (insurance, licences, SWMS, JSA, RAMS, signed variations)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Contract&lt;/strong&gt;: received, reviewed, signed&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Most of these already exist in the client's job management system, whether that is ServiceM8, Tradify, simPRO or Procore. Your job is to read from there and write results back, not to build a parallel database that drifts out of sync.&lt;/p&gt;

&lt;h2&gt;
  
  
  Agents act on state transitions
&lt;/h2&gt;

&lt;p&gt;A useful mental model for an agent is something that watches for a state and moves it forward.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;on enquiry.created (from call):
  capture details -&amp;gt; match or create contact -&amp;gt; log note in job system

on document.status == 'required' and age &amp;gt; threshold:
  request document from contact -&amp;gt; log request

on quote.status == 'sent' and no response &amp;gt; threshold:
  send follow-up -&amp;gt; log follow-up
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is pseudocode, not any platform's API. The point is that every action is triggered by a state the business already recognises, and every action leaves a record in the system of record.&lt;/p&gt;

&lt;h2&gt;
  
  
  Idempotency is not optional
&lt;/h2&gt;

&lt;p&gt;Construction contacts get annoyed fast. A subcontractor who receives the same document request three times in an hour because a webhook retried will stop answering. Treat every outbound action as idempotent:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Key actions on entity id, action type and time window&lt;/li&gt;
&lt;li&gt;Check the log before sending&lt;/li&gt;
&lt;li&gt;Make retries safe by design, not by hoping they never happen&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Draw the human boundary in code
&lt;/h2&gt;

&lt;p&gt;Some outputs should never be final without a person. In this domain that includes safety documents and contract decisions. Model it explicitly:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;document&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="kd"&gt;type&lt;/span&gt; &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;'SWMS'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'JSA'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s1"&gt;'RAMS'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="n"&gt;agent_output&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;status&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;'draft'&lt;/span&gt;
  &lt;span class="n"&gt;requires_approval_by&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;site_supervisor&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If approval is a convention rather than a constraint, someone will skip it on a busy Friday.&lt;/p&gt;

&lt;h2&gt;
  
  
  Calls are messy inputs
&lt;/h2&gt;

&lt;p&gt;Voice is the input developers most often underestimate. Callers give partial addresses, describe problems in trade slang and change their minds mid-sentence. Design the call flow so uncertain fields are marked as uncertain and flagged for follow-up rather than guessed. A confidently wrong suburb is worse than an honest blank.&lt;/p&gt;

&lt;h2&gt;
  
  
  Log for the business, not just for you
&lt;/h2&gt;

&lt;p&gt;Your logs help you debug. The business needs something different: a plain record, inside their job system, of what the agent did and why. A job note reading 'Followed up quote, no reply to previous follow-up' is worth more to a builder than any dashboard you could build.&lt;/p&gt;

&lt;h2&gt;
  
  
  Domain knowledge beats clever prompts
&lt;/h2&gt;

&lt;p&gt;Much of the value comes from knowing which documents a job actually needs, which subcontract clauses tend to bite, and which tasks a builder will never trust to software. The guide &lt;a href="https://laiko.dev/ai-for-construction" rel="noopener noreferrer"&gt;AI for Construction: What Actually Works in 2026&lt;/a&gt; is a useful read here, even for developers. It is written by an engineer with nine years in construction contracts and covers six workflows AI automates, estimating AI, AI consulting for builders and what stays human. That last part is effectively a spec for your approval gates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where laikodev sits
&lt;/h2&gt;

&lt;p&gt;laikodev applies this approach commercially: AI agents for trade and construction businesses that answer calls, chase paperwork and follow up quotes 24/7, built around the job systems above. If you are building in this space yourself, the guide is a good check on whether your model matches how builders actually work.&lt;/p&gt;

&lt;p&gt;Read it here: &lt;a href="https://laiko.dev/ai-for-construction" rel="noopener noreferrer"&gt;https://laiko.dev/ai-for-construction&lt;/a&gt;&lt;/p&gt;

</description>
      <category>architecture</category>
      <category>softwareengineering</category>
      <category>systemdesign</category>
    </item>
    <item>
      <title>Which admin jobs to hand to AI agents first</title>
      <dc:creator>laikodev</dc:creator>
      <pubDate>Tue, 24 Nov 2026 23:36:50 +0000</pubDate>
      <link>https://dev.to/laikodev/which-admin-jobs-to-hand-to-ai-agents-first-2ppg</link>
      <guid>https://dev.to/laikodev/which-admin-jobs-to-hand-to-ai-agents-first-2ppg</guid>
      <description>&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdifferent-otter-416.convex.cloud%2Fapi%2Fstorage%2F6c65b6d0-e5dc-4d97-8c97-fe81becb1c33" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdifferent-otter-416.convex.cloud%2Fapi%2Fstorage%2F6c65b6d0-e5dc-4d97-8c97-fe81becb1c33" alt="Which admin jobs to hand to AI agents first" width="1200" height="630"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Most trade and construction businesses lose evenings to the same jobs: &lt;strong&gt;answering calls&lt;/strong&gt;, chasing paperwork and following up quotes.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Answer calls while the team is on the tools&lt;/li&gt;
&lt;li&gt;Chase missing paperwork without anyone remembering to&lt;/li&gt;
&lt;li&gt;Follow up quotes before the customer goes cold&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;Start with the job you repeat most each week, then measure the hours you get back.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agents work around the tools a team already uses, such as ServiceM8, Tradify, simPRO and Procore. A free intake call maps what is eating the week, and agents can be live in 7 days. More at &lt;a href="https://laiko.dev" rel="noopener noreferrer"&gt;laikodev&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Automating quotes for trade businesses: what to build first</title>
      <dc:creator>laikodev</dc:creator>
      <pubDate>Mon, 23 Nov 2026 05:56:10 +0000</pubDate>
      <link>https://dev.to/laikodev/automating-quotes-for-trade-businesses-what-to-build-first-439j</link>
      <guid>https://dev.to/laikodev/automating-quotes-for-trade-businesses-what-to-build-first-439j</guid>
      <description>&lt;h2&gt;
  
  
  The quote is the bottleneck
&lt;/h2&gt;

&lt;p&gt;For most trade businesses the slowest part of winning work is the quote. Rates live in someone's head, measurements live on a notepad, and the PDF gets built after dinner.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a first automation looks like
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;A rate card stored once, not retyped every job&lt;/li&gt;
&lt;li&gt;Site measurements turned into line items automatically&lt;/li&gt;
&lt;li&gt;A branded PDF quote sent the same day&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Keep the first version small
&lt;/h2&gt;

&lt;p&gt;Automate one document end to end before touching the rest. We build free working prototypes of exactly this at &lt;a href="https://laiko.dev" rel="noopener noreferrer"&gt;laiko.dev&lt;/a&gt;.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
