Chapter 04 — case studies

Projects

Two things I built end to end, outside client work — how they are put together, and what they look like running.

01

JevTrader

An autonomous trading agent on eToro — eleven single-purpose agents read the news, models answer narrow questions, and code makes every decision.

Personal project · runs against an eToro demo account

agents per cycle
11
end-to-end cycle
~30 s
tokens after adding a Reader
−53%
JevTrader dashboard with market clocks and the agent pipeline
Dashboard · one cycle in mock mode (fixture headlines)
Score field and the reasoning behind one buy decision
One decision, fully explained · mock mode
Open positions with stops, targets and review notes
Real positions · eToro demo account

How it was built

  • Deterministic orchestration: code decides which agent runs; each one has a single job — Collectors, Reader, Scout, Dip hunter, Gatekeeper, Analysts, Portfolio manager, Risk officer, Trader.
  • Models answer typed questions — probabilities, five-level scores, buy/hold/close — never prose and never orders. Code combines them into a composite score behind confidence gates.
  • eToro through its official MCP server: quotes, news, Popular Investor posts and the prepare-trade → place-trade order flow.
  • Claude as a Reader turns each raw news item into a one-line fact, cutting model input per stock from 5.3k to 2.5k tokens.
  • Hard risk limits in code: kill switch, daily loss stop, position caps, exchange clocks, ATR-based stops and targets per trade horizon.
  • A backtest harness over seven months of candles — which showed exit rules alone add no edge, so price rules inform the model instead of gating trades.
  • Every step lands in a SQLite event log, streamed over SSE to a Next.js dashboard; Remotion animates the agent flow.
02

Settleheim

A Splitwise-style household app — split bills, share a shopping list, plan the family calendar and scan receipts, on iOS and the web.

Learning project · iOS + web · not publicly released

native clients, one backend
2
Playwright e2e specs
155
OCR cost — on-device
0 €
Settleheim — Welcome
Welcome
Settleheim — Home
Home
Settleheim — Households
Households
Settleheim — Insights
Insights
Settleheim — Household settings
Household settings

How it was built

  • Native SwiftUI on iOS and Angular on the web, sharing one Node.js + TypeScript backend on AWS Lambda behind API Gateway.
  • Cognito federates Google sign-in and email accounts; data lives in Supabase Postgres in the EU, migrated automatically by CI.
  • Receipt OCR never leaves the device: Apple Vision on iOS, Tesseract.js on the web, Apple Foundation Models on iOS 26+ for structured parsing.
  • A full guest mode that works offline and uploads nothing — signing in only adds sync and sharing.
  • Debt simplification, multi-currency, recurring expenses, multiple payers per bill, pantry tracking, push reminders via APNs.
  • Built with an agentic development loop — an agent daemon working through the backlog — kept honest by 155 Playwright end-to-end specs.