langchain-based client for proxmox mcp server - co-pilot experiment
Overview
what is Proxmox LangChain Agent?
Proxmox LangChain Agent is a lightweight FastAPI service that provides a chat endpoint backed by LangChain and Redis-based message history, designed to interact with a Proxmox MCP (Model Context Protocol) server for conversational access to Proxmox cluster and VM information.
how to use Proxmox LangChain Agent?
To use the agent, you need to set up a Proxmox MCP server and a Redis instance. After building the Docker image, run the container and send a POST request to the /chat endpoint with your query in JSON format.
key features of Proxmox LangChain Agent?
- FastAPI-based chat service for Proxmox management.
- Integration with LangChain for advanced conversational capabilities.
- Redis for persistent message history.
- Custom tools for retrieving VM and cluster information.
use cases of Proxmox LangChain Agent?
- Managing Proxmox VMs through conversational queries.
- Retrieving cluster status and VM lists via chat.
- Automating Proxmox management tasks using natural language.
FAQ from Proxmox LangChain Agent?
- What is required to run the Proxmox LangChain Agent?
You need Docker, a Redis instance, and access to a Proxmox MCP server.
- How do I send a query to the agent?
Send a POST request to
/chatwith a JSON body containing your message.
- Can I extend the agent with new tools?
Yes! You can define new functions and add them to the tools list in the
app.pyfile.