{"repo":"google-gemini/genai-processors","free":true,"listed":false,"github":"https://github.com/google-gemini/genai-processors","clone":"git clone https://github.com/google-gemini/genai-processors.git","description":"GenAI Processors is a lightweight Python library that enables efficient, parallel content processing.","language":"Python","stars":2119,"topics":["agent","ai","asyncio","gemini","genai","generative-ai","language-model","multimodal","python","realtime"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"GenAI Processors Library 📚 Build Modular, Asynchronous, and Composable AI Pipelines for Generative AI. GenAI Processors is a lightweight Python library that enables efficient, parallel content processing. It addresses the fragmentation of LLM APIs through three core pillars: 1. Unified Content Model : A single, consistent representation for inputs and outputs across models, agents, and tools. 2. Processors : Simple, composable Python classes that transform content streams using native asyncio . 3. Streaming : Asynchronous streaming capabilities built-in by default, without added plumbing complexity. At the ecosystem's core lies the Processor , which encapsulates a unit of work. Through a \"dual-interface\" pattern, it handles the complexity of asynchronous, multimodal data streaming while exposing a simple API to developers: Applying a Processor is just as straightforward. The CONSUMER interface accepts wide, forgiving input types and returns a powerful stream that can be awaited entirely or streamed chunk-by-chunk: The concept of Processor provides a common abstraction for Gemini model calls and increasingly complex behaviors built around them, accommodating both turn-based interactions and live streaming. ✨ Key Features Modular : Breaks down complex tasks into reusable Processor and PartProcessor units, which are easily chained ( + ) or parallelized ( // ) to create sophisticated data flows and agentic behaviors. Integrated with GenAI API : Includes ready-to-use processors l","default_branch":null,"files":null,"tree":[],"storefront":"/r/google-gemini","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google-gemini/genai-processors/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}