--- id: reka-api version: "3.2.0" license: MIT license_treatment: permissive maintenance: dormant --- # reka-api — Reka Python SDK License: permissive · Maintenance: dormant · Downloads: 77.7K/mo ## What it is and what it does Reka-api is a Python client library that wraps the Reka API, enabling developers to integrate Reka's AI models into Python applications. It provides both synchronous and asynchronous clients built on httpx, with full type hints via Pydantic, and supports chat operations with text and multimodal content (video and text together). The library handles authentication via API key, includes automatic retries with exponential backoff for transient failures, and offers streaming responses for long-running chat completions. The package depends on httpx, httpx-sse, pydantic, requests, and urllib3 for HTTP transport and serialization. It supports Python 3.8 through 3.12 and runs on Windows, macOS, and Linux. A legacy v2 API is also available for backward compatibility with earlier SDK versions. Use it for: - Build a chatbot or conversational AI application that calls Reka's models for text-based question answering. - Process video and text together in a single API call to analyze video content and answer questions about it. - Stream long-form responses from Reka models in real time without waiting for the full response. - Integrate Reka AI into an async Python application to make non-blocking API calls without blocking the event loop. - Handle transient API failures automatically with built-in retry logic and exponential backoff. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a Python client library for accessing the Reka API, with support for synchronous and asynchronous chat operations, multimodal content, and streaming responses. Yes, if you are actively using the Reka API and need a Python client. The library is well-structured with good type support and low install friction. However, the 683-day maintenance gap raises a red flag: verify that Reka's API service is still actively supported and that this SDK will receive updates if the API changes. If you need active maintenance guarantees, contact Reka or assess the risk of a stalled SDK before committing to production use. ## Install pip install reka-api uv add reka-api poetry add reka-api ## Installing reka-api Before you install: Low install friction with a pure-wheel distribution. However, the package is dormant—no releases in 683 days—which may signal that the Reka API itself or this SDK's maintenance has stalled; verify that the API and SDK remain actively supported before relying on it for production work. License in practice: MIT license is permissive and imposes no restrictions on use, modification, or distribution in commercial or private projects. Quickstart: pip install reka-api from reka import ChatMessage from reka.client import Reka client = Reka(api_key="YOUR_API_KEY") response = client.chat.create( messages=[ChatMessage(content="What is the fifth prime number?", role="user")], model="reka-core-20240501", ) Requires a valid Reka API key, either passed directly or set via the REKA_API_KEY environment variable. Verify before relying: - Whether the Reka API service and this SDK remain actively maintained and supported given the 683-day gap since the last release. - Current API endpoint availability and whether the model identifiers in the documentation (e.g., reka-core-20240501) are still valid. - Whether streaming, async, and multimodal features work reliably in production or have known limitations. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 77.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags reka api client python, ai chat sdk python, multimodal api client, async http api wrapper, streaming chat client, reka ai integration, python sdk for ai models, ai-api-client, async-http, multimodal [View on SkillFed](https://skillfed.io/packages/reka-api) · [View on PyPI](https://pypi.org/project/reka-api/)