Skip to main content
FOSSA Logo
Skip to package details

langchain-openai

PyPI147.2k GitHub stars

v1.6.6 · Sep 2026 · MIT (top-level declared license)

pip install langchain-openai
  • No known CVEs
  • 37.7M downloads/mo
  • 147 versions

Description

The agent engineering platform.

Licenses

Declared license

MIT (top-level declared license of langchain-openai)

Transitive dependency licenses

This package's dependency tree includes MPL-2.0 and 1 other copyleft license. MPL-2.0 may require you to publish changes to that component when you distribute.

LicenseCategoryDependencies
MITPermissive14 of 37
BSD-3-ClausePermissive8 of 37
Apache-2.0Permissive5 of 37
non-standardUnknown3 of 37
Apache-2.0 OR BSD-2-ClausePermissive1 of 37
Apache-2.0 OR MITPermissive1 of 37
BSD-2-ClausePermissive1 of 37
PSF-2.0Permissive1 of 37
MPL-2.0Weak copyleft1 of 37
MPL-2.0 AND (Apache-2.0 OR MIT)Weak copyleft1 of 37
Apache-2.0 AND CNRI-PythonUnknown1 of 37

This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.

Need langchain-openai approved? Get the full license and vulnerability report for your codebase. Scan free.

Scan free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
1.6.6Sep 2026MIT
1.6.5Sep 2026
1.6.4Sep 2026
1.6.3Sep 2026
1.6.2Sep 2026
1.6.1Sep 2026
1.6.0Aug 2026
1.5.2Aug 2026
1.5.1Aug 2026
1.5.0Aug 2026
1.4.3Aug 2026
1.4.2Aug 2026
1.4.1Jul 2026
1.4.0Jul 2026
1.3.5Jul 2026
1.3.4Jul 2026
1.3.3Jun 2026
1.3.2Jun 2026
1.3.1Jun 2026
1.3.0Jun 2026
1.2.2May 2026
1.2.1Apr 2026
1.2.0Apr 2026
1.1.16Apr 2026
1.1.15Apr 2026
25 older releases
Older published versions
VersionPublishedLicense
1.1.14Apr 2026
1.1.13Apr 2026
1.1.12Mar 2026
1.1.11Mar 2026
1.1.10Feb 2026
1.1.9Feb 2026
1.1.8Feb 2026
1.1.7Jan 2026
1.1.6Dec 2025
1.1.5Dec 2025
1.1.4Dec 2025
1.1.3Dec 2025
1.1.2Dec 2025
1.1.1Dec 2025
1.1.0Nov 2025
1.0.3Nov 2025
1.0.2Nov 2025
1.0.1Oct 2025
1.0.0Oct 2025
0.3.35Oct 2025
0.3.34Oct 2025
0.3.33Sep 2025
0.3.32Aug 2025
0.3.31Aug 2025
0.3.30Aug 2025

Latest pre-release: 1.5.2a1 (Aug 2026). Pre-releases (canary, beta, release candidate and similar) are not listed.

pip install langchain-openai resolves to the 1.x line today. Older major lines may still receive fixes.

Direct dependencies

4 direct dependencies, 37 in total including transitive. Licenses across the full tree are summarized under Licenses.

Direct dependencies
PackageVersion rangeLicense
certifi>=2024.6.2MPL-2.0
langchain-core<2.0.0,>=1.6.4MIT
openai<4.0.0,>=2.45.0Apache-2.0
tiktoken<1.0.0,>=0.7.0Unresolved in metadata

Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.

Popularity

Downloads last month
37.7M
Known dependents in this corpus
1,851
GitHub stars
147.2k
OpenSSF score
5.9 / 10

FAQ

What is the latest version of langchain-openai?
The latest version of langchain-openai is 1.6.6, published September 2026.
What license is langchain-openai under?
langchain-openai declares MIT as its top-level declared license. Its dependency tree spans 11 distinct licenses.
Does langchain-openai have known vulnerabilities?
No known CVEs are recorded against published versions of langchain-openai.
How do I install langchain-openai?
Install langchain-openai with pip install langchain-openai.
How do I generate an SBOM that includes langchain-openai?
FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes langchain-openai. Generate an SPDX or CycloneDX SBOM free.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Download counts from PyPI Stats, sourced from the Python Software Foundation download statistics. Counts cover the last 180 days and exclude known mirrors.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.