CoolFace
Apppublic

shamiimuhammad/SecureOrder-AI

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
App README

๐Ÿ›ก๏ธ SecureOrder AI: Industrial Procurement Agent

An enterprise-grade AI system using Model Context Protocol (MCP) and LangGraph to manage secure inventory and order workflows.

๐Ÿ—๏ธ System Architecture

  • โ€”The Vault (MCP Server): A secure FastMCP server managing a SQLite database with Pydantic validation.
  • โ€”The Brain (Agent Engine): A LangGraph orchestrator with Human-in-the-Loop (HITL) safety gates for order approval.
  • โ€”The Interface: A Streamlit dashboard for real-time interaction and order tracking.

๐Ÿ› ๏ธ Tech Stack

  • โ€”Logic: Python 3.11, LangGraph, FastMCP
  • โ€”Security: Pydantic V2, GitHub Secrets
  • โ€”DevOps: Docker, GitHub Actions, uv package manager

๐Ÿš€ Local Quickstart

If you want to run this locally:

  1. 1.Install dependencies:
bash
    uv sync
  1. 1.Initialize Database:
bash
    python mcp_server/src/database.py
  1. 1.Run the Agent:
bash
    uv run streamlit run agent_engine/src/app.py

๐Ÿ”’ Security Note

This project uses Environment Variables for API keys. Ensure your .env file is never committed to version control (protected by .gitignore).