AI Pipeline Framework
2.1k 2026-04-18
google-gemini/genai-processors
A lightweight Python library for building modular, asynchronous, and composable AI pipelines, enabling efficient, parallel, and multimodal content processing for Generative AI applications.
Core Features
Modular and Composable Processors for building complex data flows.
Unified Content Model for consistent input/output across AI models and tools.
Asynchronous Streaming capabilities built on Python's `asyncio`.
Integrated with GenAI API for turn-based and real-time streaming interactions.
Supports rich content types including text, images, audio, and custom JSON.
Quick Start
pip install genai-processorsDetailed Introduction
GenAI Processors is a robust Python library designed to streamline the development of Generative AI applications by providing a framework for efficient, parallel content processing. It tackles the challenge of fragmented LLM APIs through a unified content model, composable 'Processor' units, and built-in asynchronous streaming. This enables developers to construct modular, extensible AI pipelines that handle diverse multimodal data, from text to images and audio, facilitating both turn-based and live streaming interactions with AI models like Gemini.