1.  [](/)
2.  [Integrations](/integrations)
3.  LangChain Integration

ai ml

Featured

# LangChain Integration

Give your AI agents eyes, ears, and memory

The langchain-mixpeek package gives LangChain agents the ability to see video, hear audio, search images, and act on unstructured content. Includes a 6-tool agent toolkit (search, ingest, process, classify, cluster, alert), VectorStore with support for all file types, and bridge methods to convert between retrievers, tools, and toolkits.

Built for AI engineers and teams building agents that need to see, hear, or search unstructured content.

langchain

RAG

retrieval augmented generation

AI agents

multimodal search

LLM

### Get Started

View on GitHubPyPI: langchain-mixpeeknpm: @mixpeek/langchain

#### Integrations

LangChain

LangGraph

LangSmith

OpenAI

Anthropic

Claude

Works with any LangChain-compatible LLM and agent framework.

Quick Install:

`pip install langchain-mixpeek npm install @mixpeek/langchain`Copy

## Use Cases

1

Brand protection agents that scan marketplaces for counterfeits

2

Archive search agents that find faces, objects, or moments in video

3

Content compliance agents that flag IP/trademark risks

4

Multimodal RAG pipelines across text, images, video, and audio

## Features

MixpeekToolkit: 6-tool agent toolkit for LangGraph/LangChain agents

MixpeekRetriever with as\_tool() one-line conversion for agents

VectorStore supporting all file types: text, image, video, audio, PDF, Excel

Taxonomy classification, clustering, and alert monitoring

Custom extractor management and testing

Async retriever, LCEL support, and metadata filtering

### Example

Agent with full Mixpeek capabilities

from langchain\_mixpeek import MixpeekToolkit
from langgraph.prebuilt import create\_react\_agent

toolkit = MixpeekToolkit(
    api\_key="mxp\_...",
    namespace="brand-protection",
    bucket\_id="bkt\_...",
    collection\_id="col\_...",
    retriever\_id="ret\_...",
)

agent = create\_react\_agent(llm, toolkit.get\_tools())
result = agent.invoke({
    "messages": \[("user", "Scan these listings for counterfeits")\]
})

Agent capabilities

Tools: mixpeek\_search, mixpeek\_ingest, mixpeek\_process,
       mixpeek\_classify, mixpeek\_cluster, mixpeek\_alert

The agent can now:
- Search video, images, audio, documents
- Upload and process new content
- Classify documents with taxonomies
- Group similar content into clusters
- Set up monitoring alerts (webhook, Slack, email)

### Get Started

View on GitHubPyPI: langchain-mixpeeknpm: @mixpeek/langchain

### Integrations

LangChain

LangGraph

LangSmith

OpenAI

Anthropic

Claude

### Details

LicenseMIT

Categoryai ml

Registriespypi + npm

### Resources

[

Documentation

Learn how to use this connector

](https://mixpeek.com/docs/agent-integrations/langchain)

### Quick Info

LicenseMIT

Categoryai ml

Registriespypi + npm

## Frequently Asked Questions

How does the LangChain Integration work with Mixpeek?

The integration provides a MixpeekRetriever that implements LangChain's BaseRetriever, a MixpeekTool for agent use, a MixpeekVectorStore for full CRUD, and a MixpeekToolkit that bundles 6 tools (search, ingest, process, classify, cluster, alert). When your agent calls any tool, it hits Mixpeek's API which searches across text, images, video, and audio.

What's the difference between the Python and JavaScript packages?

The Python package (langchain-mixpeek on PyPI) is the primary integration with full toolkit, VectorStore, taxonomy, cluster, alert, and plugin support. The JavaScript package (@mixpeek/langchain on npm) provides retriever and tool functionality for Node.js LangChain applications.

Can I use it with LangGraph agents?

Yes: it's the recommended approach. Use MixpeekToolkit.get\_tools() with LangGraph's create\_react\_agent. You can scope which tools the agent gets with the actions parameter: toolkit.get\_tools(actions=\['search', 'ingest', 'alert'\]).

What file types can I ingest?

The VectorStore supports 6 blob types: text (inline strings), images (JPG, PNG, GIF, WebP), video (MP4, MOV, AVI, WebM), audio (MP3, WAV, FLAC, OGG), PDF documents, and spreadsheets (XLSX, XLS, CSV). Each has a dedicated method: add\_texts(), add\_images(), add\_videos(), add\_audio(), add\_pdfs(), add\_excel().

How does it compare to other LangChain vector store integrations?

Most LangChain integrations are text-only and require you to manage embeddings. Mixpeek handles multimodal embedding, indexing, and retrieval end-to-end. Plus it goes beyond search: the toolkit adds ingestion, classification, clustering, and alerting that other integrations don't offer.

## Related connectors

[LlamaIndex ConnectorDocument indexing and retrieval for multimodal RAG](/connectors/llama-index)[Hugging Face Hub IntegrationModel registry integration for custom embeddings](/connectors/huggingface)[OpenAI API BridgeGPT and DALL-E enrichment for Mixpeek pipelines](/connectors/openai)[Anthropic Claude BridgeClaude model integration for intelligent content processing](/connectors/anthropic)

## Ready to integrate?

Get started with LangChain Integration in minutes. Check out the documentation or explore the source code on GitHub.

Get StartedBrowse All Connectors