langchain-mixpeek package gives LangChain agents the ability to see video, hear audio, search images, and act on unstructured content, all through Mixpeek’s multimodal infrastructure.
Connect LangChain to your own content
Create a managed namespace to get the
api_key, namespace, and retriever_id that every example on this page needs.Installation
Quick Start
1. Search (Retriever)
Document with page_content and metadata (document_id, score, namespace).
2. Agent Tool
3. Full Toolkit (search + ingest + classify + cluster + alert)
4. VectorStore (full pipeline)
5. Search-Only (minimal config)
If you only need search, skip the bucket/collection config:Configuration
*Required for ingest/processing. Not needed for search-only via
from_retriever().
Examples
Brand Protection Agent
An agent that scans marketplace listings and alerts on counterfeits:RAG Chain
Standard retrieval-augmented generation:Multi-Retriever Agent
Different retrievers for different content types:Platform Features
The VectorStore exposes the full Mixpeek platform:Taxonomies (document classification)
Clusters (unsupervised grouping)
Alerts (match notifications)
Custom Plugins
Tips
Selecting Toolkit Actions
Don’t give agents tools they don’t need. Useactions to scope:
Error Handling
All toolkit tools catch exceptions and return error strings instead of crashing the agent. The retriever raises exceptions normally.Token Efficiency
Settop_k to limit results. Large result sets waste tokens without improving quality. Start with top_k=5.
Source Code
- PyPI: langchain-mixpeek (Python)
- npm: @mixpeek/langchain (JavaScript)
- GitHub: mixpeek/langchain-mixpeek
- Connector Page: mixpeek.com/connectors/langchain
Next Steps
MCP Server
Connect Claude directly via the Model Context Protocol
OpenAI Function Calling
Wire Mixpeek into OpenAI assistants
Feature Extractors
15+ extractors: text, image, video, audio, face, PDF, web scraper
Python SDK
Full SDK reference

