GenAI Processors is a lightweight Python library for building modular, asynchronous, and composable AI pipelines around Gemini. Its central abstraction is the Processor, a unit of work that consumes an asynchronous stream of parts (text, images, audio, JSON) and produces another stream, making it natural to chain operations and keep everything streaming end-to-end. Processors can be composed sequentially (to build multi-step flows) or in parallel (to fan-out work and merge results), which makes sophisticated agent behaviors easy to express with simple operators. The library offers built-in processors for classic turn-based Gemini calls as well as Live API streaming, so you can mix “batch” and real-time interactions in the same graph. It leans on Python’s asyncio to coordinate concurrency, handle network I/O, and juggle background compute threads without blocking.

Features

  • Processor abstraction with async streams for text, image, audio, and JSON
  • Easy composition with sequential chain and parallel fan-out operators
  • Built-in processors for Gemini REST and Live API interactions
  • Rich content parts with metadata, roles, and MIME information
  • Stream utilities for splitting, concatenation, and merging
  • Examples for research agents, real-time audio bots, and live commentary

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

Apache License V2.0

Follow GenAI Processors

GenAI Processors Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GenAI Processors!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-10-06