no need to strace, since you have the source code. the basic protocol is documented in RFC.nroff it's very easy to understand from ssh-agent.c extension are in ssh-agent.c only, w/o documentation. authfd.[ch] contain the client side of the protocol.