clarifai-grpc
Clarifai gRPC API Client
Decision gist · record as of 2026-08-14
Yes, if you need to call Clarifai's AI models from Python. The library is actively maintained, has low install friction, carries a permissive license, and requires no known security patches. It is the official client and the primary way to access Clarifai's API from Python. Install it only if you have a Clarifai account and API credentials.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a Clarifai API key and application ID; setuptools >= 40.7.1 may be needed if grpcio wheel build fails during installation.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a release within the last month.
License · maintenance · safety
Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
last release 2026-07-14 (31 days) · last repo commit 2026-07-14 · 57 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 157,943 downloads/mo, #10,740 on PyPI
Alternatives
Verify before relying
pip install clarifai-grpc
from clarifai_grpc.channel.clarifai_channel import ClarifaiChannel
from clarifai_grpc.grpc.api import service_pb2_grpc
stub = service_pb2_grpc.V2Stub(ClarifaiChannel.get_grpc_channel())- Whether the library maintains backward compatibility across API version updates, given its non-semantic versioning scheme.
- Performance characteristics and latency expectations for typical inference requests.
- Rate limiting and quota behavior when calling the Clarifai API.
What it is and what it does
Clarifai-grpc is the official Python client for Clarifai's AI platform, wrapping the gRPC API to let developers call computer vision and natural language processing models from Python code. It handles authentication, request marshalling, and response parsing for tasks like image classification, object detection, and text analysis. The library version tracks the backend API version (first two numbers) with independent patch releases for library improvements.
You construct a V2Stub object using ClarifaiChannel to access all API functionality, then build and send requests using protobuf message types. The library supports encrypted gRPC, HTTPS+JSON, and unencrypted gRPC channels, though the encrypted channel is recommended for production. Authentication is credential-based (API key) passed as gRPC metadata.
Use it for
- Classify images using Clarifai's general-image-recognition model or custom trained models.
- Extract concepts and tags from images or video frames in batch processing workflows.
- Build AI-powered content moderation or tagging systems integrated with Clarifai's models.
- Perform natural language processing tasks via Clarifai's text models in Python applications.
- Integrate Clarifai's pre-trained models into data science pipelines for computer vision tasks.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to call Clarifai's AI models from Python.
The library is actively maintained, has low install friction, carries a permissive license, and requires no known security patches. It is the official client and the primary way to access Clarifai's API from Python. Install it only if you have a Clarifai account and API credentials.
Install
clarifai-grpc on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a release within the last month. Requires grpcio, protobuf, and googleapis-common-protos as runtime dependencies, all standard gRPC ecosystem packages.
Requires a Clarifai API key and application ID; setuptools >= 40.7.1 may be needed if grpcio wheel build fails during installation.
License in practice
Licensed under Apache 2.0 (permissive), allowing commercial use, modification, and distribution with minimal restrictions.
Quickstart
pip install clarifai-grpc
from clarifai_grpc.channel.clarifai_channel import ClarifaiChannel
from clarifai_grpc.grpc.api import service_pb2_grpc
stub = service_pb2_grpc.V2Stub(ClarifaiChannel.get_grpc_channel())
Verify before relying
- Whether the library maintains backward compatibility across API version updates, given its non-semantic versioning scheme.
- Performance characteristics and latency expectations for typical inference requests.
- Rate limiting and quota behavior when calling the Clarifai API.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesgrpcioprotobufgoogleapis-common-protos |
| Maintenance | Actively maintained 31 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 157,943 / month, #10,740 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: clarifai_grpc-12.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “clarifai api client”
- clarifai-grpcA gRPC client library for the Clarifai AI platform, enabling Python…
- clarifaiOfficial Python client for Clarifai's AI platform, enabling computer…
- clarifai-protocolProvides the protocol layer for Clarifai's Python runners to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also clarifai · clarifai-protocol · nebius · yagrc · grpclib · tritonclient · grpc-requests · grpcio-admin · hindsight-client · grpcio-channelz