AI Overview
workflow-engine features native, type-safe AI integration. At its core, the AIHelper interface wraps the standard AI SDK to handle text generation, structured outputs, streaming, and embeddings, while automatically logging calls and tracking token usage/pricing.
Batch Operations
AI batch APIs (Google Batch, Anthropic Message Batches, OpenAI Batch, OpenRouter's a batch takes anywhere from minutes to 24 hours.
Model Registry
To calculate execution costs and select correct routing paths, workflow-engine maintains a central directory of model pricing, context sizes, and provider keys called the Model Registry.