If you consider a circle that runs through both A and B, constructed so that the circle tangent at A is equal to the initial path-segment (or the direction of the A agent):

Then you can solve for the radius r as you have a triangle where you know one angle, 90 - alpha, and one side (distance a to b) / 2.
When r is calculated, you can calculate where point c is located.
With c and a and b you know how many degrees there is between the vectors c to a and c to b, divide that angle with n and you get the angle step you need to move every step to get from a to b.
Take the vector from c to a, rotate it by the angle step, the distance between that endpoint and a is the segment length you are looking for.

In the above example I am changing n, and the coordinate of b and the direction of the first segment.
I think there is some special case where c is on the other size of vector between a and b but that should be trivial to cater for.
I got pointed in the right direction by the people over at math.stackexchange (https://math.stackexchange.com/questions/4840292/given-two-points-and-a-an-angle-find-the-radius-of-the-circle-that-intersects-b)
Update:
As correctly pointed out by @DMGregory, the above method plots secants evenly distributed along the arc of the circle that runs through points a and b such that the direction vector (of angle alpha) is the tangent to the circle, this means that the angle of the first segment is not alpha, but some smaller angle.
The first segment of the path needs to lie on the direction vector to correctly answer the question.
I think this can be achieved by instead of just evenly distribute the arc n times extend the line of the first pie-slice (in red) of the until it intersects the direction vector ad point p, and then construct the subsequent segments by simply rotating that segment by 2 * alpha / (n - 1).

This way the path will always start with a segment that lies on the direction vector from a, which is what I call the line at angle alpha from the line a to b.
