genai-processors and genai-processors-pydantic
These are complementary tools where the Pydantic variant extends the base GenAI Processors library with Pydantic schema validation for structured output handling in parallel content processing workflows.
About genai-processors
google-gemini/genai-processors
GenAI Processors is a lightweight Python library that enables efficient, parallel content processing.
Provides a unified content model and dual-interface pattern (Producer/Consumer) for building composable AI pipelines with native `asyncio` streaming. Includes built-in processors for Gemini API integration (turn-based `GenaiModel` and real-time `LiveProcessor`), plus utilities for chaining (`+`) and parallelizing (`//`) processors to orchestrate complex multi-step workflows. Supports multimodal content (text, images, audio, JSON) through enriched `ProcessorPart` wrappers with metadata, enabling both batch and real-time streaming interactions.
About genai-processors-pydantic
mbeacom/genai-processors-pydantic
The Pydantic Gemini Processor to be used with Gemini's genai-processors
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work