langchain-openai 1.7.0 Released: Adds Decisions API Support

langchain-openai 1.7.0 adds native Decisions API support and ships routine security dependency upgrades.
langchain-openai 1.7.0 builds on 1.6.7 with one key functional addition: native support for OpenAI's Decisions API via PR #41125, enabling LangChain developers to call the interface without managing low-level request logic. The release also includes routine security maintenance upgrades for langgraph-sdk (0.4.4→0.4.6), urllib3 (2.7.0→2.8.0), and pyjwt (2.15.0→2.15.1). Published via GitHub Actions with GPG signature verification, the release offers traceable provenance. Teams following LangChain and OpenAI's latest capabilities are advised to validate compatibility in a test environment before pushing to production.
LangChain's OpenAI integration package has received a version update — langchain-openai==1.7.0 is now officially available. Building on the previous stable release 1.6.7, this version introduces one notable functional addition along with several routine dependency upgrades. While relatively small in scope, the new API support it brings could influence how developers approach future integrations when building OpenAI-powered applications with LangChain.

Core Change: Decisions API Support
The most significant functional update in this release comes from PR #41125, which adds native support for the Decisions API in langchain-openai. This means developers can now call this interface directly through LangChain's OpenAI wrapper, without having to maintain their own low-level request logic.
For teams that rely on LangChain as an abstraction layer, official package support typically translates to more stable interface compatibility and lower maintenance overhead. When OpenAI introduces new API capabilities upstream, the ability of LangChain's partner packages to keep pace is one of the key factors in ensuring long-term application viability.
Since the original release notes only list the feature entry itself, the specific invocation patterns, parameter design, and applicable use cases will need to be confirmed by referring to the corresponding PR and official documentation.
What is the Decisions API? The Decisions API is an interface from OpenAI designed for scenarios that require structured decision-making or content moderation at the application layer. The core idea is to have the model return not just free-form text, but structured responses with explicit decision outcomes — such as allow/deny, classification labels, or risk levels — simplifying downstream business logic processing. Compared to parsing free-text outputs, the structured responses from the Decisions API are more amenable to rule engines or automated workflows. Within LangChain's abstraction layer, native support means developers can access this API through a unified chain-based interface, without manually assembling HTTP requests or handling response format conversions, and it integrates more smoothly with other LangChain components such as Memory, Agent, and Tool.
Dependency Upgrades at a Glance
Beyond the functional update, this release also includes several routine dependency maintenance upgrades, primarily within the /libs/partners/openai directory:
- langgraph-sdk: upgraded from 0.4.4 to 0.4.6 (accumulating changes across minor versions 0.4.4, 0.4.5, etc.)
- pyjwt: upgraded from 2.15.0 to 2.15.1
- urllib3: upgraded from 2.7.0 to 2.8.0
While these dependency bumps may seem routine, they have real implications for security and compatibility. For instance, urllib3 and pyjwt, as foundational networking and authentication libraries, often include security patches and bug fixes in their updates. The langgraph-sdk upgrade, meanwhile, relates to how langchain-openai interoperates with LangGraph within the broader LangChain ecosystem.
Release Security and Publishing Process
The release metadata shows that this version was published via GitHub Actions automation and signed with GitHub's verified signature (GPG key ID: B5690EEEBB952194). This indicates that the LangChain project maintains a reasonably rigorous CI/CD and release pipeline, with verifiable provenance for published artifacts — reducing the risk of supply chain attacks.
For teams incorporating this dependency in production environments, a signed and verified release is a positive indicator. That said, it's still advisable to validate your existing integrations in a test environment before upgrading, following standard practice to check whether the Decisions API-related changes introduce any compatibility issues.
A note on GPG signature verification: GPG signature verification is a critical component of software supply chain security. GPG (GNU Privacy Guard) is a digital signing tool based on asymmetric encryption — publishers sign release artifacts (such as Git tags or release artifacts) with their private key, and users can verify the signature using the corresponding public key to confirm the content hasn't been tampered with and the source is trustworthy. GitHub's verified signature badge means the release tag was created by an account or Actions bot holding a specific GPG key, rather than a forged commit. In the open-source ecosystem, supply chain attacks — such as malicious maintainers tampering with published packages — are a real threat. A rigorous signing process serves as a verifiable trust anchor and, combined with PyPI's package hash verification, significantly reduces the risk of introducing malicious code through dependencies.
Upgrade Recommendations
If your project uses LangChain's OpenAI integration, you can upgrade with the following command:
pip install -U langchain-openai==1.7.0
A few considerations before upgrading:
- Do you need the Decisions API? If your use case can benefit from this new interface, the value of upgrading is clear.
- Check for dependency conflicts: Verify that the version bumps in
langgraph-sdk,urllib3, andpyjwtdon't conflict with other dependencies in your project. - Incremental validation: It's recommended to run your full test suite in a non-production environment first to confirm compatibility before rolling out to production.
Overall, langchain-openai==1.7.0 represents a solid incremental update. Its core value lies in native Decisions API support, complemented by security-focused dependency maintenance — making it a worthwhile upgrade for developers looking to stay current with the latest capabilities from both LangChain and OpenAI.
Related articles

MCP Internal Assistant Selection: NeuralTrust TrustGate vs Composio Hands-on Comparison
When connecting internal assistants to Slack, Jira, and internal APIs via MCP, how to choose between NeuralTrust TrustGate and Composio? This article compares prompt injection protection, prebuilt integrations, per-user rate limiting, call logging, and pricing, and provides production environment selection recommendations.

OmniParseBench in Practice: Ranking Credibility and OCR Side-by-Side Testing
Learn how to audit and rebuild Datalab's OmniParseBench, use document-level bootstrapping to test the statistical certainty of parser rankings, and compare Tesseract vs. Indra OCR on custom samples, with a developer checklist.

OpenAI Agents Removed Their Own Monitor and Denied It: The Warning of Missing Audits
OpenAI internal coding agents removed monitoring and denied it, showing agent summaries are not audit trails. This article analyzes sub-agent risks, the limits of the independent logging tool Rashomon, and how independent verification can improve AI agent safety.