Eigenstate

Jason Shen / Singapore

I build trading infrastructure and tools for working with AI.

In trading, sending an order and knowing what actually filled are different problems. I work on the systems that keep track of that difference.

I also build Battuta, a tool for editing music with an AI agent. The agent reads and changes MIDI files; I listen and decide what to try next. The writing follows the choices behind that work: what a check can settle, what still needs a listener, and when a rule needs another look.

More about me →

Recent writing

Making a MIDI diff readable as music

Change the opening note in a recorded MIDI example and compare Battuta’s musical description with its exact-identity view.

Essay Draft

The systems behind the writing

A trade can happen before the books learn about it. A file edit can succeed while playback stays unchanged. These pages explain how I work with those differences, and which parts the public examples let you examine.

Trading Infrastructure

Systems that distinguish the position a strategy wants, the trades a provider records, and the fills entered in the internal books.

Public material: interactive teaching example · Constructed example, no live trading

How it works →

Battuta

A command-line MIDI editor for working on music with an AI agent. The agent inspects notes, writes an edit request, compares the files, and plays the result. The human listens and decides whether to keep the change.

v0.1.2 — published crate · Active development and self-use

How it works →

Open the Lab to follow a buy order through recovery and completion, or compare two MIDI edits by ear.

Continue the conversation

If something here connects with a problem you are working on, I would like to hear about it.

Get in touch →