The wording for Bead of Force says "Only breathable air can pass through the sphere’s wall. No Attack or other Effect can." which obviously means that spells such as firebolt or ray of sickness could not harm a creature inside. However, what about spells that only require line of sight?
I’ve read the discourse on Wall of Force, which suggests that you would not be able to do such spells, and the wording is similar to Bead of Force.