# langchain-anthropic

**Creator:** LangChain  |  **Category:** tool-use  |  **Status:** draft

## Description

langchain-anthropic is an official LangChain integration package providing access to Anthropic's Claude chat models and legacy text completion models. It includes middleware for prompt caching, text editing, memory management, bash execution, and file search, enabling developers to build AI applications using Claude within the LangChain framework.

## Key Features

- ChatAnthropic for Claude chat model integration
- AnthropicTool for custom tool definitions
- Prompt caching middleware
- Text editor middleware (state and filesystem-based)
- Memory tool middleware
- Bash tool middleware
- File search middleware with glob and grep

## Resources

- [Website](https://reference.langchain.com/python/integrations/langchain_anthropic/)

---
*Source: agentprotocols.app — /protocol/langchain-anthropic*