From the title it sounded like the fluid could be given procedural instructions and then carry them out, but after watching the videos, it seems that what is happening is that the pressure/volume curve can be modified in hydraulic systems by adding these spheres to the hydraulic fluid, which collapse at a certain pressure threshold thereby reducing the output pressure of the system around a specific range, to avoid crushing the target object. The spheres can't be given different code. But the pressure/volume curve of the hydraulic fluid can be modified by using spheres with different properties.