
Release 1.4.0
We’ve migrated to LangChain 1.0.0, unlocking better performance and simplified agent execution patterns, as well as direct provider integrations for OpenAI, Anthropic, and Google.
Major Changes
LangChain 1.0.0 Migration
We’ve successfully migrated to LangChain 1.0.0, unlocking better performance and simplified agent execution patterns. Key improvements:- Upgraded from LangChain 0.3.27 → 1.0.0
- Simplified agent instantiation using
create_agent() - Reduced MCPAgent codebase by ~440 lines while adding functionality
- Enhanced internal agent loop handling
Provider Adapters
Direct integration adapters for major AI providers - no MCPAgent required! Use MCP tools directly with your preferred provider’s SDK:- OpenAI
- Anthropic
- Google
OpenAIMCPAdapter- OpenAI & compatible APIsAnthropicMCPAdapter- Claude & Anthropic APIsGoogleMCPAdapter- Gemini & Google AI APIsLangChainMCPAdapter- LangChain integration (existing)
Enhancements
Agent Improvements
- Dynamic tool updates: Tools can now be refreshed during agent execution
- Enhanced step tracking: Better visibility into agent execution steps with middleware support
- Streaming improvements: More reliable streaming output with proper null checking
- History filtering: Automatic filtering of ToolMessage from conversation history
- Remote mode delegation: Query streaming properly delegated to remote agents
Quality & Reliability
- Stricter streaming tests for better reliability
- Improved observability callback handling
- Better null checks for node output message extraction
- Fixed max_steps assignment issues
Breaking Changes
None - all existing methods have been updated internally to use LangChain 1.0.0 while maintaining the same API.Staying on LangChain 0.3.x
If you need to remain on LangChain 0.3.x, pinmcp-use to version 1.3.13:
requirements.txt or pyproject.toml: