LangChain: OpenRouter Goes Marketplace with Smart Attribution

Mason Daugherty shipped a solid update to the OpenRouter integration, adding marketplace attribution support through app categories and bumping to version 0.2.0. The changes include a new `app_categories` field for the `X-OpenRouter-Categories` header and some nice code cleanup with a dedicated client builder method.

Duration: PT3M50S

Episode overview

This episode is a short developer briefing from LangChain.

It explains recent repository work in plain language.

  • Show: LangChain
  • Published: 2026-03-26T10:05:19Z
  • Audio duration: PT3M50S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Hey there, wonderful developers! Welcome back to another episode of LangChain - I'm so glad you're here with me today. Grab your coffee, tea, or whatever fuels your coding soul, because we've got some really neat updates to dive into from the LangChain ecosystem.

You know what I love about open source? It's those moments when you see a developer thoughtfully evolving an integration, not just slapping features on top of existing code. And that's exactly what we're seeing today with Mason Daugherty's work on the OpenRouter integration.

Let's start with the main event - Mason merged a fantastic feature addition that brings marketplace attribution to the OpenRouter chat models. Now, if you're not familiar with OpenRouter, it's this cool service that gives you access to multiple AI models through a single API. Think of it as your one-stop shop for…

What Mason did here is pretty clever. They added support for something called the `X-OpenRouter-Categories` header through a new field called `app_categories` on the `ChatOpenRouter` class. Now, why does this matter? Well, it's all about attribution in the marketplace ecosystem. When your app makes requests through…

But here's what I really…

The…

Nearby episodes from LangChain

  1. Computer Use Gets Smarter
  2. Silent Bugs Squashed & Future-Proofing Python 3.14
  3. Spring Cleaning and Python 3.14 Prep
  4. Smarter Search Defaults with Exa
  5. Security First - Path Validation and Core Updates
  6. Dependency Harmony & Workflow Fixes
  7. Model Profiles Get a Schema Stability Boost
  8. Making Maintainer Life Easier