Substrate is a platform for building compound AI systems with optimized components and simple abstractions.