Omar Trejo (@otrenav) header
Omar Trejo (@otrenav) profile picture

AI engineering for ambitious companies. Custom AI designed, built and run for you, at higher quality, faster and at lower cost. Founder, ML LABS.

Remote · US Central Time
Joined July 2010
Photo by Omar Trejo (@otrenav)
Your technician closed the job, your service manager agrees, and finance still cannot bill it. Everyone did their own task correctly. How to design the handoff between done and billable, so fewer of your invoice packets come back from finance:
1
1
16
1,172
Before you buy a model, turn the 10 exceptions your team handles most often into test cases: the input and the result your team expects. Run them against each system you consider; how it handles your exceptions shows whether it can carry your rules.
Most AI purchases start at the model, the easiest layer to buy. The layer that limits your operation is usually the knowledge the model needs next: your rules, exceptions and context.
3
20
1,015
Set an hourly limit on the items your AI system sends your team for review. When a batch exceeds it, pause that batch and alert its owner, so one faulty run cannot bury your reviewers while valid work keeps flowing.
3
20
954
Once AI updates records on its own, it can read a customer record, wait on a slow step, then overwrite the address your team corrected in between: a lost update. Have every write carry the record's version and fail if it changed since the read, so the agent rereads and retries.
Canadian businesses have spent much of the last 18 months racing to adopt AI into their operations, all while the technology itself continues to rapidly develop, evolving from a prompt-reactive bot to an autonomous system akin to (but faster than) a human brain. AI adoption rates are already trending upwards. An October 2026 report from Chartered Professional Accountants Canada, which surveyed 5,000 businesses, found that the use of AI in Canadian workplaces increased eightfold in one year, from 5 per cent in 2025 to 43 per cent in 2026. Official data from Statistics Canada supports this pattern: planned use of AI tools amongst businesses soared from 10.6 per cent in the third quarter of 2024, to 25.2 per cent in the third quarter of 2026. But integrating AI into workplaces with different departments, personalities and hierarchies has not been smooth sailing, according to conversations with numerous employers, managers and workers in Canada. While use of the technology is accelerating, major chokepoints are emerging, threatening to derail the pace of adoption and upend goals companies have set for themselves. theglobeandmail.com/business…
3
21
1,156
Before you automate invoice matching, count last month's invoices that needed no correction. Then tune the model's confidence threshold on your past invoices, and audit the matches it passes, not only the ones it flags. Omar speaks in an AI clone of his own voice.
🤖 Made with AI
7
23
1,387
Route routine cases to a smaller model that costs less per item and the hard ones to your larger model. First run both on the same past cases to find which ones the smaller model handles reliably, then check its error rate against that baseline every month.
1
4
23
1,254
A file can reach your system with every field in the right format and still be weeks old, contradict your system of record and look nothing like the cases you scoped. A format check passes it. Add intake checks for the data's age, its agreement with your records and its fit.
2
23
1,374
If your customers or suppliers write in more than one language, test your AI system on real messages in each one before launch, with someone fluent scoring the results, and report accuracy per language, not as one average.
3
20
1,290
An exact-match duplicate check misses the invoice resubmitted with one changed digit. Have your accounts payable system also flag near matches for the same supplier, amount and date before payment, and send them to a person.
3
20
1,025
Before you commission software, check the settings. If your field-service system can already require a technician's photo before a job closes, that is a task for Monday, not a project. Custom software earns its place in the gap between systems, where the handoff lives in email.
3
3
22
1,347
If customers talk to your support bot, count how many steps it takes them to reach a person when the bot cannot help, and set a ceiling, such as 2. When it hands over, have it pass the conversation so far, so your agent does not ask the customer to start again.
4
23
1,006
Before you upgrade the model that writes your internal assistant's answers, check retrieval: for 50 real questions, is the correct source among the first 5 documents it finds? If not, the answer model never sees it, and a better one cannot fix that.
3
20
1,159
Give each AI system its own key to the model provider, with a daily spending cap and an alert at half of it. With one shared key, a runaway job anywhere looks like general growth, and nobody can tell which system to stop.
1
3
25
914
When an AI model fills fields in your systems, require a fixed output format and check every response before anything is written. Reject malformed ones, retry once and count them; a rising count shows the model or your inputs changed before wrong values reach your records.
4
23
1,348
Ask whoever builds your software to run their checker on a change with a defect planted on purpose, and show you that it blocks the release. Ask for that test's log entry, with its date, before you accept the next delivery.
When AI writes your software, the same system often decides that its own code is fine. Give it a checker from a different model family, written pass conditions and a person with the authority to stop an unsafe release before it reaches your customers.
3
21
1,138
A nightly batch that closes the day at midnight UTC dates every Central-time transaction after 6 p.m. on the next day, and your month-end totals stop matching the ledger. Check which time zone each automated job in your workflow uses.
6
22
992
Before you approve a document-reading system, test it on your worst files: faxed scans, photos taken on a phone, tables that run across pages. Accuracy on clean PDFs says little about the invoices your team actually receives.
3
23
1,268
Have your AI pilot write each output into the record your team works from, and log next to it whether your team acted differently because of it. After 4 weeks, count the cases where it did; that count is what switching the pilot off would actually stop.
Ask one question of every AI pilot your company runs: what stops if it is switched off tomorrow? If the honest answer is nothing, that pilot has not yet left the demonstration stage.
3
20
1,099
Keep the test cases for your AI workflow under version control, next to the model and instruction version they last passed with. When results change after an update, you can then tell whether the system changed or the test set did.
1
4
20
931
A remediation plan is tested on a sample, not judged on its wording. How to turn each sentence into who, what population, what record and what date, and which records still need building:
3
20
1,272
If a record in your workflow can sit at "still processing since Tuesday", nobody can show the work is complete. Give every record a definite end state someone can look up, and checking completeness becomes a single query instead of a search through inboxes and spreadsheets.
4
19
1,139