mu: first pass at the flow api.