Agoda Supply · SAM Account-Excellence Agent

An agentic workflow on Claude: pull a partner's signals → diagnose → grounded SOP lookup → draft the partner email.
Interactive demo · briefs were produced by the live Claude agent and are replayed here (no API key needed). The real version runs a Claude tool-using loop.

1 · Pick a partner

How it works

1
Claude calls get_account_metrics() to pull the partner's commercial signals.
2
It diagnoses the top 1–2 issues, then calls lookup_sop_play() — a grounded retrieval that returns only the stored play and its SOP id.
3
It writes a brief whose recommendations come only from the retrieved SOPs (cited) — never invented — then drafts the partner email.

The human sets the goal; the agent decides the steps. That's the IC → orchestrator pattern.

2 · Agent run

Pick a partner and press Run — you'll see Claude choose its tools in sequence.

Account data (the "stateless" signals the tool reads)

Select a partner to view its raw signals.

SOP knowledge base (what the grounded lookup retrieves from)

Built by Soham Saha as a learn-by-doing prototype. Honest scope: this hosted page replays real agent outputs without an API key; the live version is a Python Claude tool-using loop (stateless, grounded retrieval, escalate-don't-invent on missing SOPs; no automated eval yet). Next steps: live tool-use against real Supply systems, a reviewer sub-agent (LLM-as-judge) and a small eval set.