AGPL all the things. If there's a sequence it seems sensible to start with client-side for obvious reasons. Document the relevant protocols (autogenerated from well-annotated sources can be helpful enough and reduce maintenance overhead).
If you want some further mechanisms beyond what that license gives you, you can consider a CLA for some parts and perhaps talk to an expert when you formulate it if you want to get it right for your exact case.