Prague · Python backend & applied AI

Python backend engineer who ships LLM features and measures where they fail.

Three years of part-time production Python (SQLAlchemy, Airflow, PostgreSQL) at Fuergy: the admin frontend and three data-processing modules, in a seven-developer team. Now my own systems: a live FastAPI e-shop with Czech product texts drafted by an offline LLM pipeline and automatic checks, and a personal OS where Claude's typed proposals wait for my approval.

Available now · 20–30 h/week alongside my BSc · contract or employment · Bratislava, Prague, remote or hybrid

3 years
part-time production Python in a seven-developer team
1,202
AI-drafted product texts published on drhorak.cz in the first full cycle (17 Nov 2026)
~1 in 10
texts in a 40-text sample still had a serious error after my claim verifier: measured, not solved
2,192
passing tests and 152 offline eval cases in Orbit

Selected work

Selected work, with the caveats left in.

01 · Live in production

drhorak.cz

A vinyl and CD e-shop with an offline LLM catalogue pipeline behind it. Family business, public since November 2026.

Full stack from Angular SSR to a FastAPI backend, shipped with audits, tests and a documented launch plan. The pipeline does the slow catalogue work. Price changes wait for a person to approve them; product texts go live after automatic checks, without a manual review of each text.

  • The catalogue pipeline checks product data against Discogs and drafts Czech SEO descriptions offline with an LLM (Gemini Flash); a separate agent checks product images. The first full cycle wrote about 1,600 texts and published 1,202 after an automatic gate. A claim verifier added later still left about 1 serious error in 10 sampled texts: measured, not solved (see Fact-checking AI copy).
  • Supplier feeds ingest stock and prices, detect new items and send proposed price changes for approval. One feed (METPOS) runs in production; the others are built and wait for supplier access.
  • Recommendations and inventory forecasting: sales velocity, days to stockout, reorder points.
  • Rebuilt from the old drhorak.sk shop, with the homepage measured before and after (panel below).
  • Angular SSR
  • FastAPI
  • Python
  • LLM pipeline
  • Playwright
  • pytest
  • Docker
drhorak.cz/katalog
drhorak.cz catalogue page on desktop: 7,195 titles with format filters and product cards
drhorak.cz catalogue on mobile with product cards, prices and stock labels
7.67 → 1.24 sHomepage LCP, old shop vs rebuild
46 → 100Homepage Lighthouse performance
−71%Homepage weight, 1,972 → 570 KiB
Lab measurement: Lighthouse 13.5, mobile, median of 3 runs, 17 Nov 2026, homepage of the old drhorak.sk against the rebuilt drhorak.cz. Not field data, and the best of my lab runs: my earlier audits of the same homepage (13 and 16 Nov) measured 1.9 and 2.5 s, and flagged slow cold product pages under crawler load. A re-run on 25 Nov measured 2.0 to 3.6 s.
AI-generated visualisation (25 s, no sound), animated from real screenshots of the public drhorak.cz storefront, shown with the owners' consent. Text inside the frames was regenerated by the model and has small artefacts.
02 · Personal R&D

Orbit

A self-hosted personal operating system where Claude proposes and I confirm.

It started as a personal CRM and grew into one system for people, money, calendar, goals, school, fitness and health. Every module writes typed data into one shared context. Claude workflows read a masked snapshot and return typed, validated proposals; nothing changes until I tap Confirm. They are structured-output workflows with a human approval gate, not autonomous agent loops.

  • About 31k lines of application code and 22k lines of tests (non-blank), 2,192 passing tests (parametrized), CI configured with ruff, mypy and pytest.
  • AI-engineering pass: offline eval suites (152 cases with recorded answers that test the graders and the pipeline), prompt-injection tests, tracing, prompt versions and a cost budget in EUR. Only 3 of 8 prompts have eval suites so far, and the LLM judge is not calibrated against a live model yet (a simple heuristic baseline agrees with my 20 labels on 15, kappa 0.48).
  • Bank-statement parsing that flags splits and matches payments, CalDAV and CardDAV sync, name-day calendar feed, ntfy push.
  • Claude Code reads the shared context through one read-only MCP tool, get_context, which can run on a scoped, audit-logged token. Proposals come from a separate server-side worker and wait in an inbox until I approve them.
  • Mobile-first web UI plus iOS Shortcuts as the client. Encrypted database backups.
  • Status: a solo project built Sept to Oct 2026, AI-engineering pass in Nov 2026, designed for self-hosting with Docker and Caddy. Verification on a real server is still open.
  • FastAPI
  • PostgreSQL
  • SQLAlchemy
  • Alembic
  • HTMX
  • MCP
  • Docker
Look inside: numbers from the repository
Tests2,192 passing, parametrized (SQLite); ruff, mypy strict on domain and servicesSTATUS.md
Eval cases152 with recorded answers: capture 56, classify 51, review 45docs/EVALS.md
Graders30 deterministic graders; 45 deliberately wrong answers that must fail themdocs/EVALS.md
Rule-based fake model29%, 80% and 51% on the three suites: the graders are not rubber stampsdocs/EVALS.md
AutonomyL2 on a five-step scale (L0 to L4): propose only; nothing is applied without Confirmdocs/VISION.md

From orbit/mcp_server.py: every MCP call is logged, rejected input never is.

raw: dict[str, object] = {
    "preset": preset,
    "start": start,
    "end": end,
    "person_id": person_id,
}
record: dict[str, object] = {
    "ts": datetime.now(UTC).isoformat(timespec="milliseconds"),
    "tool": "get_context",
    "args_sha256": _args_hash(raw),
}
try:
    params = validate_arguments(preset, start, end, person_id)
    record["args"] = params  # validated values only; rejected input is never written
    result = _get(client, params)
except InvalidArguments as exc:
    record.update(status="rejected", reason=str(exc)[:120], bytes=0)

From evals/cases/capture.jsonl (shortened): a Slovak dictation and the exact debt the capture workflow must return. Fictional people.

{
 "id": "cap-001",
 "input": {
  "text": "Zaplatil som za Paťa obed, 12 eur, dlhuje mi.",
  "candidates": [
   {
    "id": 1,
    "name": "Paťo Kováč"
   }
  ]
 },
 "expected": {
  "debts": [
   {
    "person": 1,
    "direction": "they_owe_me",
    "type": "money",
    "amount_minor": 1200,
    "currency": "EUR"
   }
  ]
 }
}

Source: github.com/matumarucsa0/orbit-agent-os. Paths are relative to its root; start with docs/ARCHITECTURE.md.

PASSIVE SOURCES ORBIT CORE INTERFACES Bank exports Calendar · Contacts Health · Workouts School systems Web UI (HTMX) iOS Shortcuts ntfy push ICS calendar feed Shared context People · Debts Goals · Promises Calendar · School Fitness · Health FastAPI · PostgreSQL typed models · jobs Claude worker → Inbox → you confirm no tools · MCP get_context is read-only PASSIVE SOURCES Bank exports · Calendar · Contacts Health · Workouts · School systems Shared context People · Debts · Goals · Promises Calendar · School · Fitness · Health FastAPI · PostgreSQL · typed models Claude worker proposes, you confirm MCP: read-only Interfaces Web UI · Shortcuts ntfy · ICS feed
Architecture overview, drawn from the real system.
AI-generated visualisation (25 s, no sound), animated from real screenshots of the offline demo instance with a fictional persona; proposals in the demo come from a rule-based stand-in, not a live model. No real personal data. Text inside the frames was regenerated by the model and has small artefacts.
03 · Pre-release

Lumen

Built to turn your Mac off, and wake it again, from your iPhone, iPad or another Mac. Not yet tested on real hardware.

A native Apple-platform product (working title): a menu-bar Mac app with a privileged helper, an iPhone and iPad client, and an optional relay for remote use. Built around a small, documented protocol and a written threat model.

  • Noise-KK-style handshake (custom HKDF construction, X25519, ChaChaPoly, pinned by known-answer tests; not reviewed by a cryptographer). iPhone and iPad pair only by QR code; the Apple TV pairs by approval on the Mac with a code shown on both screens.
  • Root daemon over XPC and Bonjour discovery. A Cloudflare Worker relay for remote access is built and tested, but not yet deployed.
  • Live Activity, Siri and App Intents, timers, schedules, and wake through a second Mac. Live Activity and the second-Mac wake still need testing on real hardware.
  • Power Guard and lumenctl mcp: coding agents get exactly five tools: keep the Mac awake, or ask it to sleep or soft-off once work is done (owner policy and a cancellable countdown apply). No file, input or immediate-shutdown tool; the Mac app enforces the limits.
  • 304 Swift tests plus 12 relay tests, Swift 6 strict concurrency, threat model and decision records. Pre-release app; release planned for January 2027.
  • Honest status: real sleep, shutdown and wake, the signed root helper and Wake-on-LAN have so far run only against test doubles and simulators, not on real hardware. The Apple TV app was not built for this release.
  • Swift
  • SwiftUI
  • XPC
  • CryptoKit
  • MCP
  • Cloudflare Workers
  • App Intents
Look inside: numbers from the codebase
Tests304 Swift tests (212 + 92) and 12 relay tests, passing on 24 Nov 2026swift test, npm test
Codeabout 30,000 non-blank lines of Swift 6 with strict concurrency, no third-party Swift dependencieswc over *.swift
HandshakeNoise-KK-style, pinned by known-answer tests against an independent implementationdocs/adr/0003
Agent tools5 MCP tools; keep-awake holds capped at 8 h each and 12 h in a rowREADME.md
Decision records8 ADRs, plus a threat modeldocs/adr/
Not yet on hardwarepower actions, root helper, Wake-on-LAN, wake through another Mac, FileVault unlock, Live ActivityREADME.md

From docs/mcp-transcript.md: an agent asks for a restart and for a tool that does not exist.

# action the server never offers (restart)
-> {"jsonrpc": "2.0", "id": 8, "method": "tools/call", "params": {"name": "sleep_when_work_done", "arguments": {"action": "restart"}}}
<- {"jsonrpc":"2.0","id":8,"result":{"content":[{"type":"text","text":"action must be sleep or turn-off."}],"isError":true}}

# tool that does not exist (shutdown_mac)
-> {"jsonrpc": "2.0", "id": 9, "method": "tools/call", "params": {"name": "shutdown_mac", "arguments": {}}}
<- {"id":9,"jsonrpc":"2.0","result":{"content":[{"type":"text","text":"Unknown tool shutdown_mac."}],"isError":true}}

Numbers from the private Lumen codebase (the code stays private; the app release is planned for January 2027). Paths are relative to its root.

iPhone · iPad SwiftUI · Siri Live Activity Relay CF Worker Mac menu-bar app root daemon · signed XPC Second Mac wakes the sleeping one LOCAL NETWORK · BONJOUR REMOTE NOISE-KK-STYLE · QR PAIRING iPhone · iPad SwiftUI · Siri · Live Activity LOCAL NETWORK BONJOUR Relay CF Worker REMOTE NOISE-KK-STYLE HANDSHAKE QR PAIRING Mac menu-bar app · root daemon · signed XPC Second Mac wakes the sleeping one
How a command travels between devices.
AI-generated visualisation (25 s, no sound), animated from simulator screenshots of the iOS app in demo mode with sample Macs. Not a recording of real hardware. Text inside the frames was regenerated by the model and has small artefacts.

Lyneon · pro e-shopy

Zkontroluji váš e-shop tak, jak ho vidí zákazník.

Otevřu veřejnou část e-shopu v čistém prohlížeči a zkontroluji cookie lištu a měření, rychlost na mobilu, SEO a produktová data. Do dvou pracovních dnů dostanete report se snímkem obrazovky nebo záznamem sítě u každého nálezu a pevnou cenou každé opravy. Nic neinstalujete, přístupy k auditu nepotřebuji.

Postup: čistý prohlížeč, nic neklikám, pak Odmítnout, znovu načtu stránku a zapíšu, co se stále odesílá. Technické pozorování, ne právní posudek.

Na rodinném e-shopu drhorak.cz klesl čas vykreslení hlavní části úvodní stránky (LCP) ze 7,7 s na 1,2 s v nejlepším laboratorním měření (Lighthouse, mobil, listopad 2026); jiná měření nového webu dala až 3,6 s.

Lyneon vede Matúš Maruščák. Lyneon is my service for Czech and Slovak e-shops: a free audit and fixed-price fixes. lyneon.cz is in Czech.

Also built

Smaller projects, real lessons.

Fact-checking AI copy

Why the catalogue agent has a verifier.

A model-written text can sound right and still invent a nationality or an album credit. A model-assisted audit of 40 drafts that had already passed a rules gate found 7 serious errors. I added a claim verifier that deletes unsupported claims and corrects wrong values from the facts: on 7 known-bad texts it fixed 6, and a fresh sample of 40 still had 4 serious errors (about 10%). Small samples, so treat these as estimates.

  • Python
  • LLM verification
  • Discogs data

Crypto trading bot

Strategy research, and an honest negative result.

Maximum drawdown measured on backtest data, not a live result.

Backtested indicator-based strategies in Backtrader and ran a bot on a Hyperliquid demo account. The best one cut drawdown sharply but did not beat holding Bitcoin. Conclusion: OHLCV alone is too thin for short timeframes. Next step: order-book data. The drawdown figures are backtest results on historical data, not live trading. Code not public.

  • Python
  • Backtrader
  • Hyperliquid

Sky Park 3D

An unofficial real-time showcase of the Zaha Hadid towers in Bratislava.

Self-initiated: I modelled the towers, the park and an apartment interior in React Three Fiber, scripted GSAP camera films, baked ambient-occlusion lightmaps in Blender and captured the interior stills at 4K from the real-time scene. Concept work from public references, not affiliated with the architects or the developer.

  • React Three Fiber
  • Three.js
  • GSAP
  • Blender
  • TypeScript

KREO

A demo built for the studio's review, not a launched site: a contact-first website for an interior-decoration studio in Žilina.

Built from the studio's public content. Midway, a written decision record turned my first e-shop plan into a contact-first showcase: a catalogue for discovery, phone or e-mail for the sale, no cart. Next.js with Payload CMS and PostgreSQL, a tested CSV catalogue import, written decision records and CI from day one. Labelled sample products and illustrative imagery; not launched.

AI-generated visualisation (25 s, no sound), animated from screenshots of the local demo build. Demo build, not launched.

  • Next.js
  • Payload CMS
  • PostgreSQL
  • TypeScript
  • GitHub Actions

About

Python engineer who ships, and measures.

I'm a Python backend and applied-AI engineer based in Prague. For three years, part-time, I worked in a seven-developer team on Infimeo, an energy-management platform for battery storage, owning the admin frontend and three data-processing modules. Before that, on a contract, I took an internal application at Slovenské elektrárne from architecture to AWS deployment on my own.

Today I apply that foundation to AI-assisted commerce and my own products. I like systems where a model proposes and a person approves the risky changes, checks grounded in source data, and error rates I measure instead of assume. I build with AI coding agents, and keep audits, decision records and written agent rules in my main repositories.

Core

  • Python
  • FastAPI
  • Flask
  • SQLAlchemy
  • PostgreSQL
  • Airflow
  • Docker
  • GitLab CI/CD
  • AWS EC2
  • pytest
  • LLM workflows
  • Structured outputs
  • Human-in-the-loop
  • LLM evals
  • Prompt-injection tests
  • Tracing
  • MCP

Also

  • Angular
  • Swift
  • Playwright
  • TypeScript
  • Three.js

Languages: Slovak (native), Czech (fluent), English.

  1. BSc Computer ScienceCharles University (MFF UK), in progress
  2. drhorak.cz / Pavian RecordsFamily business: software development and AI automation
  3. Fuergy · InfimeoPython backend developer, part-time
  4. Slovenské elektrárneFull-stack developer on contract, Flask on AWS

Contact

Let's talk about what you're building.

Open to backend, applied-AI and automation roles. Case-study details and code walkthroughs on request: Orbit is open source on GitHub; Lumen is a pre-release app with its release planned for January 2027.