Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Agent workflows

Query supply-chain data and produce stockout actions

Use Databricks MCP to query structured tables, emails, and model results; answer inventory/supply questions with data evidence.

Goal

Produce an evidence-backed stockout-risk and human-action list for specified SKUs and dates.

Steps

  1. Run notebook 1 of the Databricks Solution Accelerator in a test workspace and configure ~/.databrickscfg plus an OpenAI key. [src10-openai-query-supply-chain-data-for-stockout-actions]
  2. Ask an inventory/supply question; the agent queries tables, emails, and models through MCP and retains source tables/records for each claim. [src10-openai-query-supply-chain-data-for-stockout-actions]
  3. Summarize verified risks, SKUs/dates, and suggested human follow-up; do not invoke write tools to place orders. [src10-openai-query-supply-chain-data-for-stockout-actions]

How to verify

Verify SKUs against Databricks tables, emails have thread/date evidence, model outputs show version, and no action claims an order was placed.

Troubleshooting

For MCP failure, check Databricks profile and warehouse permissions; for unsupported claims, specify SKU/period instead of inventing stock.

Permissions

Prerequisites

Permissions

Limitations

The accelerator creates test data assets and may incur charges; output flags risk, not supplier default or purchase commitment.

Pinned upstream source

https://github.com/openai/openai-cookbook/blob/5bd6cb40b6b84b69b2032d810610aa85064102df/examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/README.md

Repository
openai/openai-cookbook
File path
examples/mcp/building-a-supply-chain-copilot-with-agent-sdk-and-databricks-mcp/README.md
Pinned commit
5bd6cb40b6b84b69b2032d810610aa85064102df
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: MIT

Main topic

Turn ecommerce campaign materials into a reviewable weekly brief

Related resources