$npx skillfedfor your agent

cohere

Worth itPyPI Python ModulesReleased Jul 202640.8M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — cohere-7.0.8-py3-none-any.whl
v7.0.8 · released 2026-07-23 · Python <4.0,>=3.10 · 8 runtime deps: fastavro, httpx, pydantic, pydantic-core, requests, tokenizers, types-requests, typing_extensions

Yes. The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It's the official client for accessing Cohere models and is particularly valuable if you need multi-cloud portability or plan to migrate between cloud providers without rewriting integration code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Cohere API key, set via CO_API_KEY environment variable or passed to the client constructor.
  • Low install friction with a pure-Python wheel.
  • Active maintenance with a release 22 days ago and recent commits.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use this package in commercial and private projects with minimal restrictions, provided you retain the license notice.

last release 2026-07-23 (22 days) · last repo commit 2026-07-23 · 396 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 40,789,011 downloads/mo, #679 on PyPI

Verify before relying

pip install cohere

import cohere

co = cohere.ClientV2()
response = co.chat(
    model="command-r-plus-08-2024",
    messages=[{"role": "user", "content": "hello world!"}],
)
print(response)
  • Whether all Cohere model families are available on all supported cloud platforms (OCI docs note some models unavailable on certain platforms).
  • Current rate limits and quota behavior across different cloud providers.
  • Streaming performance characteristics and latency on different platforms.
Same gist for agents: .md · .json

What it is and what it does

The Cohere Python SDK is a client library that abstracts access to Cohere's language models across multiple cloud platforms. Instead of writing separate code for Cohere's hosted API, AWS Bedrock, Azure, GCP, or Oracle OCI, you use a single SDK interface that handles authentication, request formatting, and response parsing for each platform. The package supports chat, embedding, and streaming endpoints, with platform-specific authentication methods (API keys for Cohere, IAM for AWS, OCI config files for Oracle).

The SDK depends on httpx and requests for HTTP transport, pydantic for request/response validation, fastavro for data serialization, and tokenizers for token counting. It requires Python 3.10 or later and is actively maintained with recent releases. The library is generated programmatically from Cohere's API specification, so direct code contributions are not merged; instead, issues and documentation improvements are welcomed.

Use it for

  • Build a chatbot that runs on Cohere's API in development but switches to AWS Bedrock in production without changing application code.
  • Embed documents and queries for semantic search using Cohere's embed models across different cloud providers.
  • Stream long-form text generation responses to a user interface in real time using the chat_stream endpoint.
  • Authenticate to Oracle OCI Generative AI using instance principals for serverless workloads without managing API keys.
  • Integrate Cohere's language models into an existing application that already uses pydantic for data validation.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The SDK is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive MIT license. It's the official client for accessing Cohere models and is particularly valuable if you need multi-cloud portability or plan to migrate between cloud providers without rewriting integration code.

Install

cohere on PyPI

Before you install

Low install friction with a pure-Python wheel. Active maintenance with a release 22 days ago and recent commits. Depends on standard HTTP and data-serialization libraries (httpx, requests, pydantic, fastavro) with no compiled dependencies.

Requires a Cohere API key, set via CO_API_KEY environment variable or passed to the client constructor.

License in practice

MIT license is permissive; you can use this package in commercial and private projects with minimal restrictions, provided you retain the license notice.

Quickstart

pip install cohere

import cohere

co = cohere.ClientV2()
response = co.chat(
    model="command-r-plus-08-2024",
    messages=[{"role": "user", "content": "hello world!"}],
)
print(response)

Verify before relying

  • Whether all Cohere model families are available on all supported cloud platforms (OCI docs note some models unavailable on certain platforms).
  • Current rate limits and quota behavior across different cloud providers.
  • Streaming performance characteristics and latency on different platforms.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
8 packages
fastavrohttpxpydanticpydantic-corerequeststokenizerstypes-requeststyping_extensions
MaintenanceActively maintained 22 days since the last release
Last repo commit
First released
Downloads40,789,011 / month, #679 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed

Evidence: cohere-7.0.8-py3-none-any.whl

Tags

Capabilities
cohere api clientlanguage model sdkllm api wrappermulti-cloud ai modelscohere chat embedgenerative ai sdkcloud model access
Topics
llm-clientmulti-cloudgenerative-ai

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 › “cohere api client”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also langchain-cohere · langchain-oci · oci · sagemaker-studio · llm-github-models · apache-airflow-providers-cohere · oci-openai · cohere-compass-sdk · llama-index-embeddings-bedrock · litellm