Baseten Chains is a Python framework designed to build and orchestrate multi-component AI workflows with optimal scaling for each component. It enables developers to combine business logic with ML models, making model pipelines easy, performant, and robust. Chainlets are modular services linked together to form a full workflow, which can be composed using control flow and dependencies. Chains supports local testing and debug execution, hybrid testing modes, and remote deployment on Baseten, ensuring coherence across the overall application. The framework aims to address pain points from Truss, such as code organization, error detection, and tooling for local execution, while providing a holistic developer experience with modularized inference pipelines.