Generative AI Pipeline Library
2.1k 2026-05-01
google-gemini/genai-processors
A lightweight Python library for building modular, asynchronous, and composable AI pipelines, unifying content processing for Generative AI models and tools.
Core Features
Modular and Composable Processors for AI pipelines.
Unified content model for diverse data types (text, images, audio, JSON).
Asynchronous and concurrent processing with `asyncio`.
Integrated with GenAI API for turn-based and streaming interactions.
Extensible for custom processor creation.
Quick Start
pip install genai-processorsDetailed Introduction
GenAI Processors is a Python library designed to streamline the development of generative AI applications by providing a robust framework for content processing. It tackles the challenge of fragmented LLM APIs through a unified content model, composable 'Processor' units, and built-in asynchronous streaming capabilities. This enables developers to construct modular, efficient, and scalable AI pipelines that can handle multimodal data, from simple text to complex real-time streams, facilitating advanced agentic behaviors and seamless integration with GenAI models.