Substrate is a compound AI inference runtime for agent graphs — chain dozens of models, tools, and steps with automatic optimization, parallelism, and streaming.