The HR Compliance Advisor
Cannabis dispensaries don’t have the luxury of a simple employment landscape. A manager making a staffing decision has to navigate federal law, California Labor Code, IWC Wage Orders, cannabis-specific statutes, local ordinances for whichever city the location sits in, and whatever the company handbook actually says — which may or may not be current. Most dispensaries don’t have an HR consultant on standby. They have a manager making judgment calls under time pressure and hoping for the best.
That gap is expensive. California wage and hour violations carry a 3-year statute of limitations, automatic premium pay penalties, and PAGA (Private Attorneys General Act) exposure that can turn a single scheduling habit into a class action. The question isn’t whether the risk is real — it’s whether anyone is paying attention to it before something goes wrong.
The HR Compliance Advisor is my attempt to put an expert in the room.
What It Does
The HR Compliance Advisor is an internal tool for dispensary management. A manager types in a question — anything from “what’s our break policy?” to “can we rescind a job offer after a cannabis drug test?” — and the agent researches it, reasons through it, and delivers a structured written advisory directly to their email inbox.
The email delivery model was a deliberate choice. The responses are detailed and structured by design — layered legal analysis with citations, risk flags, documentation requirements, and escalation recommendations. That format is an asset in an email you can forward, archive, and reference later. It was a liability in a chat widget where it just looked like a wall of text.
Every question is answered through a Five-Layer Analysis — no shortcuts, no skipped layers:
- Federal baseline — FLSA, FMLA, ADA, Title VII, and where California law exceeds the federal floor
- California state law — Labor Code, FEHA, IWC Wage Orders, Cal/OSHA
- Cannabis-specific overlay — AB 2188 (off-duty use protections), SB 700 (prior use inquiry restrictions), DCC regulations, Labor Peace Agreement status
- Local ordinances — Los Angeles and Santa Monica, both reviewed every time
- Company policy — the actual employee handbook, checked against all four layers above for gaps and conflicts
The agent doesn’t rely on training data for statutory text or wage rates. It retrieves live content from a curated registry of authoritative sources — California DIR, EEOC, DCC, city controller sites — so the guidance reflects current law, not a snapshot from whenever a model was last trained.
What It Doesn’t Do
The HR Compliance Advisor is not a lawyer and doesn’t pretend to be one. Every advisory closes with an explicit disclaimer, and the agent is hardwired to flag when a question warrants escalation to a licensed California employment attorney — and stop there. An AI that knows the boundaries of its own authority is more useful than one that confidently answers questions it has no business answering.
The Stack
- Platform: LangSmith Agent Builder (personal org, Developer plan)
- Model: Claude Sonnet 4.6 via Anthropic API
- Research: Tavily web search + Read URL Content, restricted to authoritative source registry
- Sub-agent: Legal_Research_Worker — dedicated legal retrieval agent
- Tools: Gmail (response delivery), Read URL Content (employee handbook access)
- Cost: ~$2–5/month
Status
Live and fully operational. A manager typed “what’s the rule for employee breaks and lunch?” — the agent collected their name and email, dispatched the Legal_Research_Worker sub-agent to pull current California meal and rest break law from the DIR, compiled a five-layer analysis with risk exposure and documentation requirements, and delivered a formatted advisory to their inbox. End to end, no human in the loop.
Layer 5 is now live. The agent reads the employee handbook directly at query time and checks company policy against all four layers above — flagging gaps, outdated language, and anything that needs an attorney’s attention before it becomes a liability.
Attorney review of the handbook is in progress before Layer 5 analysis is used for real employment decisions in production.
Future builds include an Employee HR Assistant — a lower-stakes, all-staff-accessible version for general policy questions — and a regulatory monitoring agent that checks the source registry on a schedule and flags when something has changed.
The goal is a dispensary where no manager has to guess whether they’re compliant. That’s not a luxury. In California cannabis, it’s a survival requirement.
[The juicy details are forthcoming in the Blog section]
Stack: LangSmith Agent Builder · Claude Sonnet 4.6 · Tavily · Gmail · Read URL Content · Anthropic API