Introduction to Effect AI
mainEffect AI is a set of experimental/alpha packages designed for interacting with Large Language Models (LLMs) in a provider-agnostic manner. It allows you to write declarative business logic that describes what you want to do (e.g., generating text, tool calling, streaming) without committing to how or where it is executed.
By decoupling the interaction logic from the provider implementation, you can easily swap between providers (OpenAI, Anthropic, etc.) or use mocks for testing without changing your core application logic.