Public record
Software health reportschema 0.34.0 · metrics 2.10.0 · 2026-08-27 12:28 UTC

cohere-ai / cohere-python

Python Library for Accessing the Cohere API

PythonMIT★ 396 stars⑂ 93 forkssince Jan 2021View on GitHub ↗

cohere-ai/cohere-python holds a health index of 92 out of 100, placing it in the Excellent band. It scores highest on Sustainability & Governance (93/100) and lowest on Security (57/100). It was last updated today. 5 contributors account for most of its recent work.

92
overall / 100
Excellent

Software health index

Metrics are grouped into weighted categories on one standardized 1–100 scale. Overall starts as their weighted mean, calibrated against the distribution of the public record so bands carry percentile meaning; when public evidence triggers the High-Risk Jurisdiction Policy, the rating is adjusted and receives an At Risk ceiling of 34.

92
Exceptional93-100The record's top tier (≈ top 5%); essentially all checked criteria met
Excellent80-92Strong across the board; minor gaps
Good65-79Healthy; gaps are limited and manageable
Moderate50-64Acceptable with notable gaps; review recommended
Weak35-49Material weaknesses across several areas
At Risk20-34Significant weaknesses; adoption warrants caution
Critical1-19Severe problems (abandoned, single-maintainer, no hygiene)
VitalityCommunity &AdoptionSustainability &GovernanceEngineeringQualitySecurityAI Readiness

Score profile

Each axis is a category. The shape matters more than the average — a healthy subject fills the whole shape, while a spike-and-crater profile means strength in one dimension is masking risk in another.

The weighted overall 78 is calibrated to 92 on the published index scale (record calibration 2026-08-02).

Ownership

CohereOrganization · verified domain
1,410 followers63 public repossince Sep 2019

This repository is backed by an organization — shared, accountable stewardship that can outlive any single maintainer.

Package ecosystems

RegistryPackageVersionDownloads / moVersionsLast publish
PyPIcohere7.1.042,264,3822730 days ago

Metrics by category

Vitality

Is the project alive — is code being written and are releases shipping?

86Excellent · 21% of overall
How it's scored
36/36Push recencylast push 0 days ago
15.9/36Commit cadence23/52 weeks with commits
14.6/18Commit volume41 commits in the last year
10/10OpenSSF Scorecard: Maintained11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Inputs used
commits_last_year41
human_commit_share0.4
days_since_last_push0
active_weeks_last_year23

Release discipline

100Exceptional
How it's scored
27/27Ships releases100 releases published
36/36Release recencylatest release 0 days ago
27/27Release cadencea release every ~10.7 days
0/10OpenSSF Scorecard: Signed-Releasesno data
Inputs used
releases_count100
latest_release_tag7.1.0
releases_from_tagsno
days_since_latest_release0
mean_days_between_releases10.7
Excluded from scoring (no data or not applicable): OpenSSF Scorecard: Signed-Releases. Remaining weights renormalized.

Community & Adoption

Does the project have users, downloads, attention, and a welcoming setup for contributors?

76Good · 17% of overall
How it's scored
42.1/60Stars396 stars
16.4/25Forks93 forks
7.5/15Watchers23 watchers
Inputs used
forks93
stars396
watchers23
growth_stateunverified
growth_factor_pct100
growth_unverified_reasonno_history
How it's scored
22.5/22.5README
22.5/22.5Licenserecognized license (MIT)
18/18CONTRIBUTING guide
0/13.5Code of conduct
0/7.2Issue template
0/6.3PR template
Inputs used
has_readmeyes
has_licenseyes
readme_badges3
has_contributingyes
has_issue_templateno
has_code_of_conductno
readme_badge_servicesshields.io
has_pull_request_templateno
How it's scored
80/80Monthly downloads42,264,382 downloads/month across pypi
0/20Registry dependentsnot reported by this ecosystem
Inputs used
packagescohere
dependents
ecosystemspypi
total_downloads
monthly_downloads42,264,382
unverified_packages_excluded
Excluded from scoring (no data or not applicable): Registry dependents. Remaining weights renormalized.

Sustainability & Governance

Will the project survive its people — bus factor, responsiveness, who backs it, and package upkeep?

93Exceptional · 23% of overall
How it's scored
45.9/54Bus factor5 contributor(s) cover half of all commits
18.4/22.5Commit distributiontop contributor authored 18% of commits
13.5/13.5Contributor breadth47 contributors
10/10OpenSSF Scorecard: Contributorsproject has 7 contributing companies or organizations
Inputs used
bus_factor5
contributors_sampled47
top_contributor_share0.184
How it's scored
41/42Issue resolution98% of issues closed
20.7/30PR acceptance446/646 decided PRs merged
13/13Newcomer PR acceptance1/1 first-time contributors' PRs merged in 30d
12/15OpenSSF Scorecard: Code-ReviewFound 14/16 approved changesets -- score normalized to 8
Inputs used
merged_prs446
open_issues3
closed_issues127
prs_merged_7d0
prs_decided_7d0
prs_merged_30d2
prs_decided_30d2
issue_closed_ratio0.977
closed_unmerged_prs200
first_time_authors_30d1
first_time_prs_merged_30d1
first_time_prs_decided_30d1
How it's scored
30/30Ownership backingorganization-owned
20/20Verified domain
22.6/25Owner reach1,410 followers of cohere-ai
25/25Track record63 public repos, account ~6 yr old
Inputs used
followers1,410
owner_typeOrganization
is_verifiedyes
owner_logincohere-ai
public_repos63
account_age_days2,549

Package maintenance

100Exceptional
How it's scored
25/25Published & resolvable1 package(s) on pypi
35/35Publish recencylatest publish 0 days ago
20/20Version history273 published versions
20/20Not deprecatedactive, not deprecated or yanked
Inputs used
packagescohere
ecosystemspypi
any_deprecatedno
min_days_since_publish0

Engineering Quality

Are baseline engineering and documentation practices in place?

76Good · 19% of overall
How it's scored
24/24CI workflows1 workflow(s)
24/24Tests present
16/16Linter configpyproject.toml ([tool.ruff])
0/9.6Pre-commit hooks
0/6.4.editorconfig
12/20OpenSSF Scorecard: CI-Tests18 out of 28 merged PRs checked by a CI test -- score normalized to 6
Inputs used
has_ciyes
has_testsyes
has_editorconfigno
has_linter_configyes
has_precommit_configno
How it's scored
30/30README
0/25Documentation directory
15/15Documentation / homepage sitehttps://docs.cohere.ai
10/10Repository description
10/10Topics2 topics
10/10Wiki
Inputs used
topicspython, sdk
has_wikiyes
homepagehttps://docs.cohere.ai
docs_sitehttps://docs.cohere.ai
has_readmeyes
has_docs_dirno
has_descriptionyes

Security

Are visible security and supply-chain practices strong, without unresolved high-risk jurisdiction exposure?

57Moderate · 16% of overall
How it's scored
7.5/7.5Binary-Artifactsno binaries found in the repo
0/7.5Branch-Protectionno data
1.5/2.5CI-Tests18 out of 28 merged PRs checked by a CI test -- score normalized to 6
0/2.5CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
6/7.5Code-ReviewFound 14/16 approved changesets -- score normalized to 8
2.5/2.5Contributorsproject has 7 contributing companies or organizations
10/10Dangerous-Workflowno dangerous workflow patterns detected
7.5/7.5Dependency-Update-Toolupdate tool detected
0/5Fuzzingproject is not fuzzed
2.5/2.5Licenselicense file detected
7.5/7.5Maintained11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
0/5Packagingno data
0/5Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0/5SASTSAST tool is not run on all commits -- score normalized to 0
0/5Security-Policysecurity policy file not detected
0/7.5Signed-Releasesno data
0/7.5Token-Permissionsdetected GitHub workflow tokens with excessive permissions
1.5/7.5Vulnerabilities8 existing vulnerabilities detected
Inputs used
sourceopenssf_scorecard
checks_evaluated15
scorecard_versionv5.5.0
checks_inconclusive3
scorecard_aggregate5.5
Excluded from scoring (no data or not applicable): Branch-Protection, Packaging, Signed-Releases. Remaining weights renormalized.
How it's scored
14/35Direct dependencies free of known advisories1 affected: requests 2.0.0 (high 7.5)
0/25Indirect dependencies free of known advisoriestransitive set not separable from development and test dependencies in this scope
33.7/40No advisories left outstanding1 advisory-carrying package(s) unaddressed past 90 days; oldest published 4,333 days ago
Inputs used
sourceosv
advisories13
affected_packages1
assessed_packages61
unassessed_packages6
affected_by_severityhigh 1
direct_affected_packages1
Excluded from scoring (no data or not applicable): Indirect dependencies free of known advisories. Remaining weights renormalized. Matched 61 resolved dependencies against OSV. 6 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list. This repository publishes no package the index resolves, so the repository dependency graph was assessed instead. That graph mixes development and test pins with shipped dependencies, so only the declared runtime dependencies are scored; transitive findings are reported as context and excluded from the score. Reachability is not analyzed.

AI Readiness

How well is the repo equipped to be developed and maintained with AI coding agents? Carries a deliberately small weight (4%): agent tooling is a real maintenance signal, but a repository with none can still reach 100/100.

61Moderate · 4% of overall
How it's scored
0/45Agent instructionsno CLAUDE.md / AGENTS.md / editor rules
15/15Machine-readable docs (llms.txt)llms.txt served by the project website (https://docs.cohere.ai/llms.txt)
40/40Legible commit history34 of 40 human commits state their intent (structured subject or explanatory body)
Inputs used
has_llms_txtyes
llms_txt_urlhttps://docs.cohere.ai/llms.txt
legible_history_share0.85
agent_instruction_files
agent_instruction_max_bytes
How it's scored
0/18One-command bootstrap
22/22Automated tests
11/11Lint / format configpyproject.toml ([tool.ruff])
11/11Static type checkingmypy.ini, src/cohere/py.typed
10/10Reproducible environmentlockfile
4/10Demonstrated agent practice2 of the last 100 commits agent-authored or agent-credited
0/8Automated maintenanceno automated dependency updates observed
0/10OpenSSF Scorecard: Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
Inputs used
has_nixno
has_testsyes
lockfilespoetry.lock
has_dockerfileno
typed_languageno
bootstrap_files
has_devcontainerno
has_linter_configyes
typecheck_configsmypy.ini, src/cohere/py.typed
agent_commit_share0.02
toolchain_manifests
dependency_bot_commit_share0
How it's scored
27/45Type-checkable codePython with type-check config (mypy.ini, src/cohere/py.typed)
53.8/55Manageable file sizes8/372 source files over 60KB
Inputs used
primary_languagePython
largest_source_bytes286,990
source_files_sampled372
oversized_source_files8

Key facts

396GitHub stars
47contributors
41commits, last 12 months
0days since last push
100releases
5bus factor
3open issues
PyPIpackage ecosystems

Data collection warnings

  • Star history unavailable: GitHub GraphQL error: Resource not accessible by personal access token
  • pypi download statistics for 'cohere' unavailable this scan (stats endpoint failed after retries); adoption may be under-evidenced
  • pypi download figures for cohere carried forward from the previous scan (stats endpoint unavailable this scan)
  • deps.dev does not index pypi:cohere@7.1.0; advisories assessed against the repository dependency graph instead

More detail

Star and fork history 0 ★ / 93 ⇿
0Stars
93Forks
99Releases

When each star and fork was added, collected from GitHub and bucketed by day. Cumulative growth sits directly above the daily additions it is made of, so the two read against each other: steady organic accretion looks nothing like an abrupt, short-lived burst. Where that difference is measurable, it is reported as growth authenticity.

0204060801009332022-102024-092026-08
Major 2Minor 22Patch 72

Each point covers 4 days.

OpenSSF Scorecard 5.5 / 10
5.5aggregate

Independent, tool-agnostic security assessment from the open-source OpenSSF Scorecard. Each check rewards a security practice, not a specific vendor's tool. Checks Scorecard could not determine are marked n/a and excluded from the security score (never counted as zero).Scorecard v5.5.0 · 2026-08-27 12:28 UTC

10Binary-Artifactsno binaries found in the repo
n/aBranch-Protectioninternal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
6CI-Tests18 out of 28 merged PRs checked by a CI test -- score normalized to 6
0CII-Best-Practicesno effort to earn an OpenSSF best practices badge detected
8Code-ReviewFound 14/16 approved changesets -- score normalized to 8
10Contributorsproject has 7 contributing companies or organizations
10Dangerous-Workflowno dangerous workflow patterns detected
10Dependency-Update-Toolupdate tool detected
0Fuzzingproject is not fuzzed
10Licenselicense file detected
10Maintained11 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
n/aPackagingpackaging workflow not detected
0Pinned-Dependenciesdependency not pinned by hash detected -- score normalized to 0
0SASTSAST tool is not run on all commits -- score normalized to 0
0Security-Policysecurity policy file not detected
n/aSigned-Releasesno releases found
0Token-Permissionsdetected GitHub workflow tokens with excessive permissions
2Vulnerabilities8 existing vulnerabilities detected
Direct dependencies 11
RegistryPackageVersion constraintManifest
PyPIaiohttp>=3.14.1,<4pyproject.toml
PyPIfastavro^1.9.4pyproject.toml
PyPIhttpx>=0.25.0pyproject.toml
PyPIhttpx-aiohttp^0.1.8pyproject.toml
PyPIoci^2.165.0pyproject.toml
PyPIpydantic>= 1.9.2pyproject.toml
PyPIpydantic-core>=2.18.2,<3.0.0pyproject.toml
PyPIrequests^2.0.0pyproject.toml
PyPItokenizers>=0.15,<1pyproject.toml
PyPItypes-requests^2.0.0pyproject.toml
PyPItyping_extensions>= 4.0.0pyproject.toml
All dependencies 67

Full resolved dependency set from the GitHub dependency graph: 16 direct and 51 indirect (transitive) packages. The transitive closure is complete when the repository commits a lockfile.

RegistryPackageVersionRelation
PyPIaiohttp3.14.3direct
PyPIfastavro1.9.4direct
PyPIhttpxdirect
PyPIhttpx0.28.1direct
PyPIhttpx-aiohttp0.1.12direct
PyPIoci2.185.0direct
PyPIpydanticdirect
PyPIpydantic2.13.4direct
PyPIpydantic-coredirect
PyPIpydantic-core2.46.4direct
PyPIrequests2.0.0direct
PyPItokenizersdirect
PyPItokenizers0.23.1direct
PyPItypes-requests2.0.0direct
PyPItyping-extensionsdirect
PyPItyping-extensions4.16.0direct
PyPIaiohappyeyeballs2.7.1indirect
PyPIaiosignal1.4.0indirect
PyPIannotated-types0.8.0indirect
PyPIanyio4.14.2indirect
PyPIasync-timeout5.0.1indirect
PyPIattrs26.1.0indirect
PyPIbackports-asyncio-runner1.2.0indirect
PyPIcertifi2026.7.22indirect
PyPIcffi2.1.1indirect
PyPIcharset-normalizer3.5.1indirect
PyPIcircuitbreaker2.1.3indirect
PyPIclick8.5.0indirect
PyPIcolorama0.4.6indirect
PyPIcrc32c2.8indirect
PyPIcryptography50.0.1indirect
PyPIexceptiongroup1.3.1indirect
PyPIexecnet2.1.2indirect
PyPIfilelock3.32.4indirect
PyPIfrozenlist1.8.0indirect
PyPIfsspec2026.7.0indirect
PyPIh110.16.0indirect
PyPIhf-xet1.6.0indirect
PyPIhttpcore1.0.9indirect
PyPIhuggingface-hub1.28.0indirect
PyPIidna3.19indirect
PyPIiniconfig2.3.0indirect
PyPImultidict6.7.1indirect
PyPImypy1.13.0indirect
PyPImypy-extensions1.1.0indirect
PyPIpackaging26.3indirect
PyPIpluggy1.6.0indirect
PyPIpropcache0.5.2indirect
PyPIpycparser3.0indirect
PyPIpygments2.21.0indirect
PyPIpyjwt2.13.0indirect
PyPIpyopenssl26.4.0indirect
PyPIpytest9.1.1indirect
PyPIpytest-asyncio1.4.0indirect
PyPIpytest-xdist3.8.0indirect
PyPIpython-dateutil2.9.0.post0indirect
PyPIpytz2026.3.post1indirect
PyPIpyyaml6.0.3indirect
PyPIruff0.11.5indirect
PyPIsix1.17.0indirect
PyPIsphinx-rtd-themeindirect
PyPItomli2.4.1indirect
PyPItqdm4.70.0indirect
PyPItypes-python-dateutil2.9.0.20260807indirect
PyPItyping-inspection0.4.4indirect
PyPIurllib32.7.0indirect
PyPIyarl1.24.5indirect
Dependency advisories 1

This repository publishes no package the index resolves, so its own dependency graph was assessed — 61 packages, which also include development and test pins that never ship: 1 carry known advisories, of which 1 are direct. 6 could not be assessed — no resolved version, an unsupported ecosystem, or beyond the reported package list.

PackageVersionRelationSeverityAdvisoriesFixed in
requests2.0.0directhigh132.33.0

An advisory means the version recorded in the dependency graph falls inside an advisory’s affected range. Reachability is not analysed, and the graph includes development and test pins — a finding may concern tooling rather than shipped software.

Raw JSON report machine-readable

Feedback

Spotted something off in this report, or have thoughts to share? Wrong measurements, missed tooling, ideas, questions — anything is welcome. Every message is read and gets a response.

The message is kept through sign-in.

Scores are signals, not warranties. They reflect publicly visible practices on GitHub — not a code audit, and not a security guarantee.

Missing data is excluded and weights renormalized, never scored as zero. Methodology is versioned and open: metrics v2.10.0, schema v0.34.0 — full methodology · metrics wiki.

How one result sits in the wider record: aggregate statisticsPyPI.