My largest project yet is driven by a conviction that the operational complexity of an entire nation can become computationally intelligible. Consider an aircraft reported near a military installation, absent from civilian tracking, while fog limits visibility, radar leaves blind spots and an undersea cable fails amid unusual maritime activity. Coincidence, coordinated interference or deliberate deception? The answer may lie between systems never designed to communicate.
At the EUDIS Defence Hackathon, I led a two-person team that built TrossOps for Saab's challenge. It simulates over 1,000 military platforms in 267 formations moving on real roads and sea routes, beside live aviation and maritime tracking, weather radar, space weather, police reports, crisis alerts, wildfire detections, power grids and undersea cables. Twenty-one deterministic rules turn every input into threat assessment, air-defence coverage, deception indicators, terrain-aware routing and costed courses of action, with sources graded and no AI in the decision path. The ambition is not a system that sees more of the world, but one that understands the limits of what it sees.
Stack Python · FastAPI · SQLite · React · TypeScript · Vite · MapLibre GL · three.js · H3 · Playwright · Vercel
Factories are usually planned in drawings that cannot show what happens once the working day starts. A forklift route that crosses a walkway, a station that cannot keep up with the takt, a hall that runs out of floor space: these surface after the concrete is poured, when every change is expensive. Planning an aircraft production site means holding the whole site, every building and every workstation in view at once, and seeing how they behave together.
At the Saab × East Sweden Game hackathon, I led a four-person team that built SveaFlow, a browser-based 3D planner that goes from a globe down to a single workbench and runs a deterministic working day through the layout, flagging congestion, takt overruns and near-misses within 3 metres. A pilot you can talk or type to, running on Claude with ElevenLabs voice, places up to 5,000 items per request, corrects itself across up to eight rounds and writes sandboxed planning scripts whose every placement is checked against the live layout before it lands, all undoable in one step. Supplied STEP models shrink from 39 MB to 4.5 MB of placeable geometry, and a hall of 2,000 items renders in 28 draw calls.
Stack TypeScript · React · Three.js · React Three Fiber · Vite · OpenCascade (WASM) · QuickJS (WASM) · Claude · ElevenLabs · WebXR · Vitest · Playwright · Vercel
We have become remarkably good at explaining why systems fail, but we usually need something to go wrong before we can learn from it. Imagine a harbour officer escalating a radar contact that has already been retracted, because the correction arrives seconds too late. The decision rule worked exactly as designed, yet the outcome was wrong. The same weakness can emerge in hospitals, logistics networks or autonomous systems, wherever decisions depend on information arriving on time.
I built WorldLine independently for GitLab's Life After Code hackathon to find these failures without knowing exactly what to look for. It replays one recorded hour as hundreds of alternative worlds, shifting when messages arrive, finds where a decision breaks a safety rule, then works backward until the failure is reduced to its single decisive cause. That cause becomes a reusable test: the mechanism from the harbour reproduced in a hospital triage board, a logistics convoy and recorded USGS earthquake advisories. Every result is hash-chained and signed before a release is allowed through.
Stack Python · Typer · React · TypeScript · Vite · Ed25519 · Docker · Google Cloud Run · GitLab CI/CD · Playwright
Software that controls a machine is usually written by someone who already knows how the machine behaves. Hand an unfamiliar system to an AI model and the common answer is to ask the model what to do at every step, which is slow, expensive and, once the rules quietly change, confidently wrong. Real equipment rarely comes with a complete manual, and the manual it has can stop being true without warning.
I built LogicScout independently to learn a system it has never seen the way an engineer would: by experimenting. Given only the names of the controls, the readings and a goal, Nemotron proposes rival hypotheses, code designs the probes that separate them, and the rules that survive become an executable theory in a sandboxed rule language. A controller is compiled from that theory, proven on a fresh copy of the real system before it takes over, and sent back to investigate when the hidden rules change. On 100 unseen generated systems it reached the goal in 123 of 600 held-out cases, where a table model built from the same experience reached none and step-by-step prompting never did.
Stack Python · FastAPI · Pydantic · NVIDIA Nemotron · Nebius Token Factory · Tavily · React · TypeScript · Vite · Docker · GitHub Actions · Render
Some orders cannot be bought, only assembled. Five hundred promotional kits by Friday under a fixed budget need a printer, a packer, an assembler and a carrier, each with its own price, capacity and working hours. When no combination of the published offers works, a catalogue search simply says no, although a workable deal may exist if one supplier works two hours later or two carriers share a van. Nobody is positioned to find that deal.
At the PayPal AI Hackathon, I built Framvera to find it. A mixed-integer solver proves why an order is impossible with a minimal set of conflicting constraints, an inverse search finds the fewest negotiable changes that make a plan exist, and coalitions form with payment splits each supplier would rationally accept. An independent checker verifies every plan, and payment runs through PayPal sandbox orders bound to a hashed agreement and a single-use approval. On 30 held-out markets that were impossible as published but salvageable through negotiation, it verified a plan in all 30 with no false claims, where a conventional optimizer found none.
Stack TypeScript · Node.js · React · Vite · HiGHS · SQLite · PayPal Orders v2 · Claude · AG Grid · Vitest · fast-check · GitHub Pages · Render
At a crowded festival, the medical, access, facilities and supply teams all lean on one dashboard. When it goes down, the dashboard can only wait. It cannot say who may still act, whether the last defibrillator can be promised twice, or what happened while it was blind. Coordination tools are built for the network that exists, but are needed most in the moment it disappears.
At GreatUniHack, I built AfterLink so four teams keep working toward one mission after their central service dies and their devices split into islands. Each team runs its own deterministic planner over an Ed25519-signed, hash-chained event log, peers talk directly over WebRTC, and scarce resources are numbered tokens, so a split network cannot hand out the same wheelchair twice. Updates cross gaps with no electronic path as signed QR frames carried by a person, and on reconnect, reconciliation separates clean merges from policy conflicts and violations. In 10,200 seeded fault runs, AfterLink made its first decision 2.9 seconds after the cut while a central dispatcher made none, with zero double-bookings and zero forged events accepted.
Stack TypeScript · React · Vite · WebRTC · Ed25519 · IndexedDB · Hono · Vitest · Playwright · Claude · ElevenLabs · n8n · Render
An environmental report only matters if someone can trust it enough to act on it. A citizen photographs discoloured water, a field scientist logs a reading, and an officer has to decide whether to intervene. Each of them sees part of the picture, and without traceable evidence the decision rests on whoever spoke last, not on what is actually known.
At the IEEE Global Hackathon, I built Limnexa to turn freshwater observations into evidence that holds up. Originals are immutable and corrected only with reasons, every report passes ten validation dimensions, and deterministic policy rules keep decisions replayable from source to closure. Provenance follows each case from the first report to independent proof that an intervention worked. It captures offline in the field, models stream reaches on H3, exports FHIR R4 for health authorities, and keeps AI bounded to proposals: it can extract, explain and triage media, but never confirm or close an incident.
Stack TypeScript · Next.js · React · SpacetimeDB · Vercel Workflow · Vercel Blob · MapLibre GL · H3 · Zod · AI SDK · ElevenLabs · FHIR R4 · Playwright
Spoofing means placing large orders you never intend to fill, trading the other way at the better price, then cancelling the fakes. It is illegal in regulated markets, it hurts ordinary traders, and the surveillance that catches it lives in private systems inside exchanges. Manipulation is designed to look like ordinary trading, so the only way to trust a detector is to attack it.
At MHacks I led backend and integration for THE PIT, a live synthetic exchange where judges trade from their phones against autonomous bots and can try to cheat. Matching, risk controls, bots and surveillance run inside one SpacetimeDB module, and every alert is written in the same transaction as the cancel, backed by cited evidence and a tamper-evident event chain. Our detector caught the baseline spoofer on 171 of 171 held-out real crypto price paths with zero false alarms, I cut median order latency from 15.3 ms to 1.3 ms, and the team published exactly where evasive spoofers still slip through.
Stack TypeScript · SpacetimeDB · Next.js · React · pnpm workspaces · Vitest · Bitstamp WebSocket · ElevenLabs · Vercel
Tuning a bot by hand means testing the ideas you already have, and one exciting result is easy to mistake for progress. At Florent Code League, where autonomous Python bots mine resources and fight to destroy each other's core across many maps, I wanted improvement itself to be automated, measured and hard to fool myself with. Every promotion had to be earned against the current champion, not argued for.
ArenaForge runs fully locally. A Qwen3.5-9B model served through Ollama reads recent results and proposes new strategy parameters as strict JSON within fixed bounds, ranked by core kills, faster kills and fewer deaths before raw wins. Each variant plays from both sides across 15 maps and 42 seeds in parallel, and every match is stored in SQLite with its map, seed, engine and settings hashes, so any result can be reproduced. Across 127 candidate bots and 3,154 matches, a promotion gate refused any gain that came with a new zero-income collapse, and submission always stayed a human decision.
Stack Python · Qwen3.5-9B · Ollama · SQLite · fcode CLI
A listing explains what an asset is. A lender explains its financing. Neither explains the full financial commitment. For a household, the number that matters includes depreciation, fuel or energy, insurance, tax, maintenance, repairs, financing and eventual resale, and boats add storage, berths, haul-out and greater uncertainty about condition. Those costs are usually fragmented across services or reduced to generic averages.
I built Dossier as an open-source decision engine, calibrated for Sweden, that estimates what a specific car or boat will cost under a specific ownership scenario. AI-assisted extraction proposes facts from a listing but never generates financial conclusions; deterministic engines for cars and boats calculate costs as low, base and high ranges with confidence, sensitivity drivers and visible fallbacks. Every result is validated against a shared contract, so identical inputs always produce the same answer, and missing information stays unresolved rather than fabricated. The goal is calmer, better-informed decisions before committing years of personal finances.
Stack TypeScript · Next.js · React · Vitest · Riksbank API
A drone near an airport is seldom seen cleanly by one sensor. Radar, RF, cameras, acoustics and human reports each see part of it, with different delays and different failure modes. The danger is not only missing a threat, but a doubtful observation quietly becoming evidence and pushing an operator toward the wrong decision.
At the Drone Defence Hackathon, I led architecture and integration for an eight-person international team whose counter-UAS platform, SveaShield Fusion, won. We designed it so every observation must earn its place before fusion: replayed data, invalid signatures, duplicates and movement no drone could physically make are rejected outright, and a sensor that keeps failing is quarantined. What survives is normalised through per-sensor measurement models whose uncertainty grows with occlusion, weather and latency, then associated into tracks through uncertainty-aware gating. Each track carries a decomposed confidence, competing hypotheses and a provenance trail back to the raw observation, so the operator sees not just an alarm, but why the system believes it.
Stack Python · FastAPI · Pydantic · Streamlit · pandas · pytest
Selecting 50 delegates for Almedalsveckan from nine member associations is a process, not a form: applications, screening interviews, decisions, confirmations, and then a week in Visby to run. Held together by spreadsheets and email threads, it depends on whoever remembers what was agreed, and applicants rarely know where they stand.
As deputy leader, I built the platform that carries the whole process. Applicants sign in with emailed one-time codes instead of passwords, follow their status and book their own Zoom screening interview, with booking cutoffs enforced in Stockholm time. Leaders review applications, answer from a shared inbox, publish the programme and see every action in an activity log that raises security alerts. MySQL is the store of record, mirrored both ways to the Google Sheet the leaders already work in, and scheduled jobs send reminders and post the next day's interviews to Discord.
Stack TypeScript · Next.js · React · Auth.js · Zod · MySQL · Google Sheets API · Zoom API · IMAP/SMTP · Vercel Cron · Playwright
OForum's website is where residents of the Forum student housing book the sauna, party room and roof terrace and buy gym and music-room memberships, with close to a thousand orders since 2022. The board needs to keep prices, opening hours and rules current in two languages without touching code, on a site that handles real payments.
I rebuilt it as a WordPress block theme and a custom plugin driven by a Google Sheet the board edits. Eight tabs of rooms, prices, hours, rules and FAQs publish to the site on demand or every ten minutes, render in English and Swedish, and write prices straight to WooCommerce products. Bookings follow a one-booking checkout paid with Swish, and an unpaid order releases its day after 30 minutes. Every change is rehearsed on a guarded local copy that cannot send email or contact payment services, then checked by end-to-end tests in both languages and WCAG 2 AA accessibility sweeps at three screen widths.
Stack WordPress · WooCommerce · PHP · Google Apps Script · Swish · WP-CLI · Playwright · axe-core