Skip to main content
release?v=1.4

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
Usage example:

Provider Adapters

Direct integration adapters for major AI providers - no MCPAgent required! Use MCP tools directly with your preferred provider’s SDK:
Available adapters:
  • OpenAIMCPAdapter - OpenAI & compatible APIs
  • AnthropicMCPAdapter - Claude & Anthropic APIs
  • GoogleMCPAdapter - Gemini & Google AI APIs
  • LangChainMCPAdapter - 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, pin mcp-use to version 1.3.13:
Or in your requirements.txt or pyproject.toml:
Version 1.3.13 is the last release compatible with LangChain 0.3.27.

Dependencies

See Also