Skip to main content
Nov 25, 2025

v1.1.0

  • Model profiles: Chat models now expose supported features and capabilities through a .profile getter. These data are derived from models.dev, an open source project providing model capability data.
  • Model retry middleware: New middleware for automatically retrying failed model calls with configurable exponential backoff, improving agent reliability.
  • Content moderation middleware: OpenAI content moderation middleware for detecting and handling unsafe content in agent interactions. Supports checking user input, model output, and tool results.
  • Summarization middleware: Updated to support flexible trigger points using model profiles for context-aware summarization.
  • Structured output: ProviderStrategy support (native structured output) can now be inferred from model profiles.
  • SystemMessage for createAgent: Support for passing SystemMessage instances directly to createAgent’s systemPrompt parameter and a new concat method for extending system messages. Enables advanced features like cache control and structured content blocks.
  • Dynamic system prompt middleware: Return values from dynamicSystemPromptMiddleware are now purely additive. When returning a SystemMessage or string, they are merged with existing system messages rather than replacing them, making it easier to compose multiple middleware that modify the prompt.
  • Compatibility improvements: Fixed error handling for Zod v4 validation errors in structured output and tool schemas, ensuring detailed error messages are properly displayed.
Oct 20, 2025

v1.0.0

Resources

Subscribe

Our changelog includes an RSS feed that can integrate with Slack, email, and other subscription tools to notify you of changes. Some options include:
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.