langchain-openai
PyPI147.2k GitHub starsv1.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.
| License | Category | Dependencies |
|---|---|---|
| MIT | Permissive | 14 of 37 |
| BSD-3-Clause | Permissive | 8 of 37 |
| Apache-2.0 | Permissive | 5 of 37 |
| non-standard | Unknown | 3 of 37 |
| Apache-2.0 OR BSD-2-Clause | Permissive | 1 of 37 |
| Apache-2.0 OR MIT | Permissive | 1 of 37 |
| BSD-2-Clause | Permissive | 1 of 37 |
| PSF-2.0 | Permissive | 1 of 37 |
| MPL-2.0 | Weak copyleft | 1 of 37 |
| MPL-2.0 AND (Apache-2.0 OR MIT) | Weak copyleft | 1 of 37 |
| Apache-2.0 AND CNRI-Python | Unknown | 1 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 freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 1.6.6 | Sep 2026 | MIT |
| 1.6.5 | Sep 2026 | |
| 1.6.4 | Sep 2026 | |
| 1.6.3 | Sep 2026 | |
| 1.6.2 | Sep 2026 | |
| 1.6.1 | Sep 2026 | |
| 1.6.0 | Aug 2026 | |
| 1.5.2 | Aug 2026 | |
| 1.5.1 | Aug 2026 | |
| 1.5.0 | Aug 2026 | |
| 1.4.3 | Aug 2026 | |
| 1.4.2 | Aug 2026 | |
| 1.4.1 | Jul 2026 | |
| 1.4.0 | Jul 2026 | |
| 1.3.5 | Jul 2026 | |
| 1.3.4 | Jul 2026 | |
| 1.3.3 | Jun 2026 | |
| 1.3.2 | Jun 2026 | |
| 1.3.1 | Jun 2026 | |
| 1.3.0 | Jun 2026 | |
| 1.2.2 | May 2026 | |
| 1.2.1 | Apr 2026 | |
| 1.2.0 | Apr 2026 | |
| 1.1.16 | Apr 2026 | |
| 1.1.15 | Apr 2026 |
25 older releases
| Version | Published | License |
|---|---|---|
| 1.1.14 | Apr 2026 | |
| 1.1.13 | Apr 2026 | |
| 1.1.12 | Mar 2026 | |
| 1.1.11 | Mar 2026 | |
| 1.1.10 | Feb 2026 | |
| 1.1.9 | Feb 2026 | |
| 1.1.8 | Feb 2026 | |
| 1.1.7 | Jan 2026 | |
| 1.1.6 | Dec 2025 | |
| 1.1.5 | Dec 2025 | |
| 1.1.4 | Dec 2025 | |
| 1.1.3 | Dec 2025 | |
| 1.1.2 | Dec 2025 | |
| 1.1.1 | Dec 2025 | |
| 1.1.0 | Nov 2025 | |
| 1.0.3 | Nov 2025 | |
| 1.0.2 | Nov 2025 | |
| 1.0.1 | Oct 2025 | |
| 1.0.0 | Oct 2025 | |
| 0.3.35 | Oct 2025 | |
| 0.3.34 | Oct 2025 | |
| 0.3.33 | Sep 2025 | |
| 0.3.32 | Aug 2025 | |
| 0.3.31 | Aug 2025 | |
| 0.3.30 | Aug 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.
| Package | Version range | License |
|---|---|---|
| certifi | >=2024.6.2 | MPL-2.0 |
| langchain-core | <2.0.0,>=1.6.4 | MIT |
| openai | <4.0.0,>=2.45.0 | Apache-2.0 |
| tiktoken | <1.0.0,>=0.7.0 | Unresolved 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.