{"repo":"agamm/batchata","free":true,"listed":false,"github":"https://github.com/agamm/batchata","clone":"git clone https://github.com/agamm/batchata.git","description":"Unified Python API for AI Batch Requests (50% discount on most providers)","language":"Python","stars":86,"topics":["ai","claude","llms","openai","python","batch","ai-batch"],"license":null,"category":"ai-agents","readme_excerpt":"Batchata Unified Python API for AI Batch requests with cost tracking, Pydantic responses, citation mapping and parallel execution. This library is currently in beta - so there will be breaking changes Why AI-batching? AI providers offer batch APIs that process requests asynchronously at 50% reduced cost compared to real-time APIs. This is ideal for offline or batch processing tasks. However, managing batch jobs across providers, tracking costs, handling failures, and mapping citations back to source documents quickly becomes complex - that's where Batchata comes in. Batchata Features - Native batch processing (50% cost savings via provider APIs) - Set max cost usd limits for batch requests - Dry run mode for cost estimation and job planning - Time limit control with .add time limit(seconds=, minutes=, hours=) - State persistence in case of network interruption - Structured output .json format with Pydantic models - Citation support and field mapping (Anthropic only) - Multiple provider support (Anthropic, OpenAI, Google Gemini) Installation pip uv Quick Start Complete Example Interactive Progress Display Batchata provides an interactive real-time progress display when using print status=True : The interactive display shows: - Job Progress : Completed/total jobs with progress bar - Batch Status : Provider batch completion status - Real-time Cost : Current spend vs limit (if set) - Elapsed Time : Time since batch started - Live Updates : Refreshes automatically as jobs complete","default_branch":null,"files":null,"tree":[],"storefront":"/r/agamm","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/agamm/batchata/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."}