Skip to main content
Agent integration: AI agents connect to Mixpeek via MCP, SDK, or REST to access ingest, search, classify, and monitor capabilities
Mixpeek exposes its entire platform as agent-callable tools. Connect via MCP for zero-code setup, use the built-in Agent Runtime for stateful conversations, or wire retrievers into LangChain, OpenAI, or any framework via REST.

MCP (Model Context Protocol)

The fastest way to connect an AI agent to Mixpeek. Four hosted servers expose different tool scopes:
ScopeURLTools
Fullhttps://mcp.mixpeek.com/mcp48
Ingestionhttps://mcp.mixpeek.com/ingestion/mcp20
Retrievalhttps://mcp.mixpeek.com/retrieval/mcp11
Adminhttps://mcp.mixpeek.com/admin/mcp17

Per-Retriever Server

For a focused search agent, scope the MCP server to a single retriever. It reads your retriever’s input_schema and generates a typed search tool:
Exposes three tools: search (typed to your schema), describe (retriever metadata), and explain (pipeline walkthrough). Full MCP reference →

Agent Sessions

Mixpeek’s built-in agent runtime gives you stateful, multi-turn conversations backed by your data. Each session runs as a dedicated process with tool access, conversation memory, and SSE streaming.
The agent reasons through a analyze → plan → execute → synthesize workflow, calling tools as needed and streaming events back:
EventDescription
thinkingAgent is analyzing or planning
tool_callAgent is calling a tool
tool_resultTool execution result
messageResponse text chunk
doneProcessing complete

Available Tools

ToolDescription
execute_retrieverSearch documents via a retriever pipeline
search_retrieversFind available retrievers
get_retrieverGet retriever configuration
list_collectionsList collections in the namespace
get_collectionGet collection details
list_taxonomiesList taxonomies
get_taxonomyGet taxonomy details
list_clustersList cluster configurations
get_objectGet object metadata
Sessions persist for 7 days and automatically rehydrate after idle periods. Agent Sessions API →

LangChain

The langchain-mixpeek package provides a retriever, individual tools, and a full toolkit:

Toolkit Tools

ToolWhat it does
mixpeek_searchSearch video, images, audio, documents
mixpeek_ingestUpload content (text, images, video, audio, PDFs)
mixpeek_processTrigger feature extraction
mixpeek_classifyRun taxonomy classification
mixpeek_clusterGroup similar documents
mixpeek_alertSet up monitoring (webhook, Slack, email)
Scope tools to what your agent needs with toolkit.get_tools(actions=["search", "ingest"]). Full LangChain guide →

OpenAI Function Calling

Define a Mixpeek retriever as an OpenAI function schema:
Works with both the Chat Completions API and Assistants API. Full OpenAI guide →

Any Framework (REST)

The same pattern works with CrewAI, LlamaIndex, Haystack, Autogen, or plain HTTP — wrap the retriever execute endpoint as a tool:
Retriever Execute API →

Choosing an Integration

I want to…Use
Connect Claude or Cursor with no codeMCP
Build a stateful conversational agentAgent Sessions
Build a LangChain/LangGraph agentLangChain
Add tools to GPT modelsOpenAI Function Calling
Use any other frameworkREST