Lawyers don't come up with good ideas; their role is to explain why your good ideas are illegal. There's a good argument that AI agents cannot exercise legal agency. At the end of the day, corporations and partnerships are just piles of "natural persons" (you know, the type that mostly has two hands, two feet, a head, etc.).
The fact that corporate persons can have agency relationships does not necessarily mean that hypothetical computer persons can have agency relationships for this reason.