AI Product Engineer at Arbitr, in Auckland. This is where my side projects and code examples live. For the work story, see my portfolio.
flowchart LR
A["AI agent returns a result"] --> B{"Passes the<br>guardrails?"}
B -- no --> P["A person takes over"]
B -- yes --> C{"Confident<br>enough?"}
C -- no --> P
C -- yes --> D["Carries on by itself"]
P --> L[("Log who decided<br>and why")]
D --> L
Most of the AI features I work on end up with this shape. LandedNZ follows it too: a rules engine makes the plan, and the AI chat only answers questions about it.
A planner for people moving to New Zealand. You tell it your visa, city, family and arrival date, and it builds the list of things to sort out first. The backend and the app are both public.
How it's put together
flowchart LR
U["Web app"] --> API["Fastify API"]
API --> R["Rules engine"] --> DB[("PostgreSQL")]
API --> S["pgvector search"] --> DB
S --> CL["Claude API"]
CL -- "streamed back over SSE" --> U
Sign-in uses Supabase Auth, and Prisma handles the database. The chat finds the relevant settlement notes with pgvector, then Claude writes the answer and streams it back as it goes.
AI and agents
- AI-Agentic: worked examples with LangGraph and LlamaIndex, from basic tool use to routing and RAG
- landednz-be: the LandedNZ backend, with streaming RAG chat over pgvector
Reactive Java
- Realtime-Event-Processing-With-Reactive-gRPC: reactive gRPC between Spring services, with Protocol Buffers and JWT auth
- Reactive-Programming-with-GraphQL-and-Spring: a GraphQL API on Spring WebFlux, with live subscriptions over WebSocket
Running services in production
- Observability-In-Spring-Boot-3-With-OpenTelemetry: traces, metrics and logs with OpenTelemetry, Prometheus, Grafana, Tempo and Loki
- Dynamic-Config-Management-With-Spring-Cloud-Config-Server: one config server for many services, with live refresh over Spring Cloud Bus
- Hibernate-6-Advanced-Features: naming strategies and compile-time query checks with the JPA metamodel
- Data-Transformation-Framework: turns FX trade instructions into booking records using rules you can configure
Why Python after years of Java?
Arbitr's services are written in Python, so I picked it up on the job, along with FastAPI and Vue with Nuxt. Most of the examples on this page are still Java.
Are you open to new roles?
Yes, in Auckland. Book a 20-minute chat or message me on LinkedIn.
Where do you write?
On Medium, mostly about the systems I work on. I've also written tutorials for Baeldung. The latest posts are below.
Something else? Open an issue on this repo and I'll answer there.
- Are You Giving Away Your Writing’s Worth with Friend Links?
- Is Partitioning for Targeted Data Access Still the Master Plan of Database Design?
- Is Modern Concurrency Aligned with Joe Armstrong’s Actor Model and Simplicity Principles?
- I Studied Reactor Kafka So You Don’t Have To: Here’s What I Learned— Handling BackPressure (Part-1)
- Is Rust a Pure Functional Programming Language Or Just Pretending To Be One?
Portfolio · LinkedIn · Hugging Face
Off the clock I'm usually on the PlayStation.



