A completely random event makes nonsense as agency. But every event physics is partly determined and partly stochastic. Sort is not just 'anyhow'. In between randomness and determinism is not just a halfway house, there is something new, which is preference. Certain probabilities are greater than others. Preference is the basis of what we call choice, which is the essence of agency.
I'm not convinced that preference is somewhere between determined and stochastic. An event that occurs must either have a reason for occurring or not. Even if certain probabilities are greater than others, that needs explaining and should back to something unknowably random or determined. The actions that are deterministic must have some causal chain that continues back to some other deterministic event. This chain must keep going all the way back to the start of the universe or end at something truly random.
I would argue that preferences that involve representations of future events are based on a current preference for our future selves to achieve some goal or desire. These current preferences are things we have no control over. It is impossible to simply chose to prefer one food over another or chose to believe something you find unconvincing. There is aways a huge number of reasons we have a preference for one choice over another, and ultimately all these reasons go back to something prior or to something random. If preference really is a choice, why wouldn't everyone just prefer the taste of healthy foods? That way they could enjoy indulging on broccoli and plain chicken.