Share your middleware
Middleware enables context engineering, harness customization, and runtime safety controls. It is a useful extension point in LangChain and we love highlighting what the community builds with it:Add an official integration
Follow the contributing guide to build and publish a middleware package.
Share a community middleware
Open a PR to the docs repo to add your middleware to the table below.
Official integrations
| Provider | Middleware available |
|---|---|
| Anthropic | Prompt caching |
Community integrations
Have a middleware to share? Open a PR to add it here.Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

