Skip to content

Adds a Remote MCP Ambient LangGraph Agent Demo - #221

Merged
ajosh0504 merged 6 commits into
mainfrom
ambient-inventory-mcp-langgraph-demo
Jul 29, 2026
Merged

Adds a Remote MCP Ambient LangGraph Agent Demo#221
ajosh0504 merged 6 commits into
mainfrom
ambient-inventory-mcp-langgraph-demo

Conversation

@ajosh0504

Copy link
Copy Markdown
Collaborator

No description provided.

ajosh0504 added 5 commits July 14, 2026 16:16
An end-to-end demo of an AI agent triaging a payments performance incident
via the MongoDB Remote MCP plugin: a slow checkout status-poll query (missing
index) is diagnosed with explain() and the Atlas Performance Advisor, fixed
with a compound index, and verified.

- seed_payments.py: seeds a realistic ~300k payments collection (no index on
  session_id; sized so a COLLSCAN is ~4s warm / ~30s cold, under the MCP 60s cap)
- generate_load.py: trickle load to keep the Performance Advisor recommendation
  fresh and the cache warm
- post_alert.py: posts an Atlas-styled Query Targeting alert to Slack
- README.md: story, setup, run, and reset/reseed instructions
Local-first LangGraph inventory monitoring demo for a coffee roaster:
- FastAPI backend with MongoDB-backed products, inventory, suppliers, POs,
  alerts, chat, and an agent-activity event log
- Light Stocky/Shopify-style UI with MongoDB green accents: tabbed sidebar
  nav, red notification badge on the Inbox, accordion alert detail with chat
- Agent-activity feed surfaces the monitor's thinking/plan steps and the
  actual MongoDB commands (find/aggregate/updateOne) it runs
- Seeded catalog of 9 SKUs with shared packaging components

.env is gitignored; use env.example for setup.
@ajosh0504
ajosh0504 requested a review from a team as a code owner July 29, 2026 22:45
@ajosh0504
ajosh0504 merged commit 0925f69 into main Jul 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant