genai processors
Basic Information
GenAI Processors is a lightweight Python library designed for developers to build modular, asynchronous, and composable pipelines for generative AI workloads. It defines the Processor abstraction, which processes streams of ProcessorPart objects that represent pieces of content such as text, images, audio, or JSON. The library targets both turn-based and streaming interactions and offers primitives for orchestrating concurrent tasks, handling streaming model output, and wrapping Gemini model calls. It includes example notebooks and runnable examples demonstrating real-time agents, research agents, and live commentary workflows. The project is provided as a Python package requiring Python 3.10+, and it is intended to be used as infrastructure for assembling, extending, and running AI processing components rather than as a consumer-facing application.