pbhat123

SmartDesk AI — AI skill for Claude Code

AI community

Multi-agent IT/HR help desk on LangChain + LangGraph: ReAct-style sub-agents, hybrid RAG, HITL GitHub tickets.

How to install SmartDesk AI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pbhat123/SmartDesk_AI and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What SmartDesk AI does

Multi-agent IT/HR help desk on LangChain + LangGraph: ReAct-style sub-agents, hybrid RAG, HITL GitHub tickets. Prompt, context, loop, harness & graph engineering; model routing & right-sizing; PII detection & masking, input/output validation, guardrails; evals, traces & observability (LangSmith/Langfuse); LLMOps/AgentOps/AIOps/cost monitoring.

Alternatives in AI

  • DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
  • Prismor — Self-hosted runtime control plane for AI agents 334 ★
  • Openase — Ticket-Driven Automated Software Engineering 265 ★

README

🧠 SmartDesk AI: a first-line IT and HR help desk agent that answers from a knowledge base, asks before it files a ticket, and checks ticket status

SmartDesk AI answers employee questions from a company knowledge base (KB) with citations, says "I don't know" instead of guessing, offers a ticket when the KB cannot help, creates the ticket only after the employee confirms it, and reports the status of their tickets. It is built with LangGraph, OpenAI models, ChromaDB plus BM25 plus a cross-encoder reranker, GitHub Issues as the ticket system, and a Streamlit UI with a Monitoring tab. The company, its policies and every email in this repo are fictional.

![SmartDesk AI architecture](docs/architecture.svg)

(Mermaid source: [`docs/architecture.md`](docs/architecture.md). PNG: [`docs/architecture.png`](docs/architecture.png).)

🚀 Quick Start

**Prerequisites**

  • Python 3.12 and uv (uv python install 3.12 if 3.12 is missing)
  • Optional: Redis for the shared answer cache (brew install redis); without it the cache is in memory
  • About 1.1 GB of disk for the reranker model and about 425 MB for the spaCy model (see the Appendix)
  • Optional, for live mode only: an OpenAI API key, and a GitHub fine-grained token plus a public tickets repo
git clone https://github.com/pbhat123/SmartDesk_AI.git && cd SmartDesk_AI

uv venv --python 3.12 .venv
source .venv/bin/activate
uv pip install -r requirements.txt            # the project pins everything in requirements.txt (there is no pyproject)
python -m spacy download en_core_web_lg       # spaCy model for Presidio (pip does not install it)

cp .env.example .env                          # fill in values only for live mode; mock mode needs none
python -m smartdesk_ai.rag.ingest --mock      # build the KB indexes offline (drop --mock for real embeddings, needs OPENAI_API_KEY)
python scripts/seed_tickets.py                # seed demo tickets (mock