If you need an idea :
Supply the raw ingedients as food (for the thy may graze) and slowy poop out some intermediates and or science packs....
I don't know if mirroring the recipes (ie. green -> red ->blue cards) or pooping out the endproduct from raw materials is more fun, but i guess if you take on this it could be tested (or changed via option)
Using later robots to gather this results or some of the collecting chests
Imagine a research lab in the middle sourrounded by some grazing ground populated by campanions eating and pooping :-)
Oil / water seems to be difficult for this, but both could be assembeled for to the right form (oil -> solid-fuel / water -> ice )
(would be then a nice companion for the robotfarm mod)