skillfed

reka-api

Reka Python SDK

reka-api v3.2.0 77.7K downloads/30d#14,503 on PyPI
Permissive license MIT DORMANT released

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 on this page — 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

reka-api on PyPI

pip

pip install reka-api

uv

uv add reka-api

poetry

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 the current Python release (<4.0,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 7 — httpx, httpx-sse, idna, pydantic, requests, typing_extensions, urllib3
Maintenance dormant — 683 days since the last release
First released
Downloads 77,718/month — #14,503 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: reka_api-3.2.0-py3-none-any.whl

Keywords: reka, ai, sdk

Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Tags

reka api client pythonai chat sdk pythonmultimodal api clientasync http api wrapperstreaming chat clientreka ai integrationpython sdk for ai models
ai-api-clientasync-httpmultimodal

More Python Modules packages