[PR #3488] [CLOSED] docs: add langchain-router to community middleware #3534

Closed
opened 2026-06-05 18:23:25 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/docs/pull/3488
Author: @johanity
Created: 4/7/2026
Status: Closed

Base: mainHead: add-langchain-router


📝 Commits (1)

  • 51f3d06 docs: add langchain-router to community middleware

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 src/oss/python/integrations/middleware/index.mdx (+1 -0)

📄 Description

Adds langchain-router to the community middleware integrations table.

What it does

Phase-based model routing middleware. Detects whether the agent is planning, executing, or recovering and routes execution turns to a fast model. The primary model is used for planning and error recovery.

  • 83% of calls route to the fast model on a typical session
  • Stateless, no ML
  • Composes with CollapseMiddleware
  • PyPI · Source · CI

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/docs/pull/3488 **Author:** [@johanity](https://github.com/johanity) **Created:** 4/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-langchain-router` --- ### 📝 Commits (1) - [`51f3d06`](https://github.com/langchain-ai/docs/commit/51f3d06ba426a3abd29631214d5d8dd422da95f6) docs: add langchain-router to community middleware ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/oss/python/integrations/middleware/index.mdx` (+1 -0) </details> ### 📄 Description Adds [langchain-router](https://github.com/johanity/langchain-router) to the community middleware integrations table. ## What it does Phase-based model routing middleware. Detects whether the agent is planning, executing, or recovering and routes execution turns to a fast model. The primary model is used for planning and error recovery. - 83% of calls route to the fast model on a typical session - Stateless, no ML - Composes with CollapseMiddleware - [PyPI](https://pypi.org/project/langchain-router/) · [Source](https://github.com/johanity/langchain-router) · [CI](https://github.com/johanity/langchain-router/actions) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 18:23:25 -04:00
yindo closed this issue 2026-06-05 18:23:25 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#3534