Skip to main content

A collection of AI Operational Agents built with Langchain/LangGraph and Streamlit-based GUI for real-time user interaction and visualization

Project description

AIOpStack

Python ≥3.8 LangChain v0.3.25 LangGraph v0.4.8 LangChain MCP Adapters v0.1.7


Build your AIOps MCP Agent within 5 minutes.

AIOpStack is a collection of AI Operational Agents built with Langchain/LangGraph and Streamlit‑based GUI for operational interaction and visualization.

🌐 English | 简体中文

🎯 Motivation

  1. Fast‑boot – AIOpStack drastically reduces study and setup time for DevOps, Sysadmins and Developers.
  2. Lightweight – IDEs like Cursor and VSCode with Cline are resource‑heavy. AIOpStack stays minimal and nimble.
  3. Local Deployment – Deploy locally to access private environments.
  4. Free & Open – Fully open‑source, no vendor lock‑in or licensing fees.

🚀 Features

  • OpenAI‑compatible LLM API Integration – Connect to any OpenAI‑compatible LLM endpoint.
  • MCP Integration – Seamless bridge between LLMs and popular MCP tools (e.g., Kubernetes, Ansible).
  • Human‑in‑the‑loop Feedback – Pause for confirmation or iterative refinement at key steps.
  • Pure Python & GUI‑free – Fully Python‑powered: no frontend skills required for reuse or extension.

Video Demo

Demo Video

Agents Repository

Agent Name Description Reference Link
langchain-mcp-adapters-chatbot A chatbot application that leverages langchain-mcp-adapters, fully inheriting the configuration from the official Langchain project. Useful for testing MCP servers. langchain-mcp-adapters

📖 Quick Start

Requirements

  • Python 3.8+
  • OpenAI‑compatible LLM API URL & Key

Installation

pip install aiopstack

Usage Examples

run aiops with no parameter

aiops

the project can be listening at localhost:8501 by default.

⚙️ MCP Settings

Note:

The settings must be written in JSON format.

  • For stdio mode:
    • The args parameter must use an absolute path.
    • Windows uses \\ for paths, Linux uses /.
    • Ensure all required Python dependencies are pre-installed.
  • For sse and streamable_http modes:
    • It is recommended to use a fully qualified domain name (FQDN) or a valid IP address to avoid connectivity issues.
MCP Configuration Example

The following configurations correspond to test examples located in the test_mcp_servers/ directory.

{
  "math": {
    "command": "python",
    "args": ["C:\\Users\\yfxue\\PycharmProjects\\aiopstack\\test_mcp_server\\math_server.py"],
    "transport": "stdio"
  },
  "weather": {
    "url": "http://192.168.2.103:8000/sse/",
    "transport": "sse"
  }
}

Strongly recommended: follow up the official document langchain-mcp-adapters

🤝 Contributing

We welcome contributions! If you have suggestions or feature requests, feel free to open an issue or submit a pull request.

Development Setup

  1. Clone the repository:
git clone https://github.com/ohtaman/streamlit-desktop-app.git
  1. Install dependencies:
cd src/aiopstack
pip install -r requirements.txt
  1. Run Streamlit
streamlit run app.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiopstack-0.1.1.tar.gz (102.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aiopstack-0.1.1-py3-none-any.whl (100.8 kB view details)

Uploaded Python 3

File details

Details for the file aiopstack-0.1.1.tar.gz.

File metadata

  • Download URL: aiopstack-0.1.1.tar.gz
  • Upload date:
  • Size: 102.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for aiopstack-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ffeee1727c5720276e47202da92c04ad3df16e7feecde0486fea66f8fa92eaac
MD5 1a0619127f6f9968dd6b931cf11b3a1e
BLAKE2b-256 5455590b52b182b792578ea601a875a203e06edca1064c065b2304ed36e71581

See more details on using hashes here.

File details

Details for the file aiopstack-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: aiopstack-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 100.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.0

File hashes

Hashes for aiopstack-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 41ab98b1d15b3bf17d64def8cc9b2e0dfa1161695271f06a654cc75398f1f718
MD5 cb6baad00714b451492734390b54eaef
BLAKE2b-256 bbf9fc22d677bd7ecb9ec8e1f023cb094e9ad1f5abdaf7f0684cf6e9b08674a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page