I build AI coworkers and the systems that run a trading desk. Most of what I make in my own time is open source, self-hosted, and yours to run: your machine, your keys, your data. By day I'm the one-person engineering team behind Longboard Asset Management's trading systems. After hours I'm writing a game about Bhima the cook. Independent work ships under Matangi Labs.
Try them: kortny.dev · starwire.foo · stardash.dev · whetstone · live stars in the pins below
Longboard Asset Management runs a systematic, trend-following mutual fund, and I'm its entire technology team: architect, engineer, DevOps, data and on-call, effectively the firm's CTO. Every trade the fund places is generated by a system I run, on infrastructure I built, and nobody else gets paged.
Important
What's at stake. This isn't a dashboard going red. If the overnight run is late, the fund doesn't trade. If a position or a cost basis is wrong, it's investors' money and a regulated record that's wrong. The job is to be right, on time, every trading day.
What I built and run
| ⚙️ Trading engine Turns market data into each day's trades, trade files and position reports. |
🔬 Analytics and research engine Tools for studying how the strategy behaves over the long run. |
🚰 Data pipelines Market and custodian data, ingested, adjusted and reconciled every day. |
| 🤖 Automation Celery and n8n workflows that replaced manual work across operations. |
🧠 AI research and reporting Pipelines that draft research and reports with frontier models, custom MCPs and connectors, for people to review. |
☁️ Cloud and monitoring Infrastructure as code, with logging and alerts across the whole operation. |
I also build the firm's compliance tooling: checkers that review public copy against SEC and FINRA advertising rules before it reaches a human reviewer. On the research side, I'm studying how a rules-based trend follower should get back in after a crash, a question the published research has mostly left open.
It's the last year of the Pandavas' exile, the hidden year of the Virata Parva: if anyone recognises them, they go back to the forest for another twelve. So Bhima, the strongest man alive, hides in plain sight as Ballava, the palace cook of King Virata.
Lay low and do your job. By morning you cook for the court from a pantry deck, and a good meal keeps eyes off you. By afternoon you wrestle in the king's arena, winning without ever showing what you really are. By night you go into the dreams and fight demons with everything you held back all day.
It's a roguelite deckbuilder with three decks woven into one year, and a story that runs through all of it. It's drawn like the 1970s Indian mythological comics many of us grew up reading, and it will be completely free to play.
![]() |
![]() |
![]() |
| Morning: the kitchen | Afternoon: the arena | Night: the dreams |
Plus Celery, MCP, Google ADK, LiteLLM, Slack Bolt, n8n and Typst.
How I like to work
- The smallest change that works. Fewer files, fewer dependencies, a shorter diff. Simple code reads as intent.
- Verify, then claim. Nothing ships until someone has watched it work. In AI systems, checking the answer beats fetching more context.
- If it needs a lesson, it's a defect. Legibility beats elegance, in a game mechanic or an admin page.
- Evals, not vibes. A prompt that is patched every week needs a test suite, not another patch.
- Own the stack. Self-hosted, bring your own model, and no company that can take it away from you.
- Plain words on buttons. Systems can have beautiful names. The button still says what it does.
I also write about psychology, seen by an engineer
Building something with agents, markets, or myths? Write to me.

















