About
I build engineering teams and systems that survive scale.
I'm Allan MacGregor. For two decades I've turned hard technical bets into shipped products. From May 2020 to April 2025 I was at Humi, the Canadian HR, payroll, and benefits platform, where I went from engineering leadership to CTO and then CTPO, and led technology and product through to its $140M+ CAD acquisition by Employment Hero. Today I'm the CTO of LiORA, building the first Environmental Intelligence Platform — deep tech where software ships alongside science teams and hardware. I also write The Pragmatic CTO.
- $140M+
- CAD exit as CTPO
- 2007
- Shipping software since
- 2
- Technical books
- 31
- Listed external articles
Highlights
Now
I've been CTO of LiORA since April 14, 2025, building the first Environmental Intelligence Platform. It's proper deep tech: software developed hand in hand with science teams and hardware, where the platform is only as trustworthy as the measurements underneath it.
The exit
I was at Humi from May 2020 to April 2025. I started in engineering leadership and went on to serve as CTO and then CTPO, leading technology and product for its Canadian HR, payroll, and benefits platform. I led those teams through Humi's $140M+ CAD acquisition by Employment Hero in January 2025.
Acquisition coverage
Humi announcement · Fasken transaction record · BetaKit reporting
Mentor
I'm a mentor in the Orion Collective at Moonshots, a Canadian deep-tech venture studio that spins university research out into companies. The collective is a network of exited founders and operators who work with the scientist-founders coming out of the lab — professors and PhDs with something commercially real, who need an operator alongside them for the part that isn't the science.
Regulated systems
I've been building software professionally for two decades — much of it in fintech, payroll, and compliance-heavy domains, with Elixir as the backbone for most of the last decade. I care about systems that stay correct under load, under audit, and under staff turnover.
Author
Author of two technical books. Packt published the Magento PHP Developer's Guide, and I released Test Driven Magento Extension Development independently as an early-access book. The books page covers both titles, and the publications list collects 31 external articles for AppSignal, Sauce Labs, Fiberplane, and others.
Builder
Outside of the day job I build my own products and projects. Right now that's Bloccs — declarative orchestration for AI agents on the BEAM. An earlier one, Siteguardian.dev — an SSL and domain monitoring service — was built, grown, and sold in a five-figure micro-acquisition.
The Pragmatic CTO
My newsletter on the parts of the CTO job nobody writes down: scaling teams, surviving due diligence, and the engineering decisions that actually move a company. Hard-won lessons from someone who's made the mistakes so you don't have to.
SubscribeWhat I write about here
The blog is code-first and Elixir-heavy: Phoenix and LiveView in production, distributed systems on the BEAM, and lately how AI coding agents change the way we build. The TIL section collects the small sharp things I learn along the way.
Keep in touch
For fractional CTO work, see my consulting services. For a review of your codebase, see code audits. My podcast appearances and conference talks cover engineering leadership, software development, and the systems I've worked on.
For scheduling, invitations, or professional introductions, work with Madonna, my AI executive assistant. Her profile explains what she handles and how to get in touch.
Use the contact form, message me on
Twitter,
or email me at allan [at] allanmacgregor.com.