Predictika · Pharmaceutical 3PL · client product onboarding
An AI agent at a pharmaceutical third-party logistics provider proposes to onboard a client product at one of its distribution centers. Before it is executed, the agent sends it to Predictika, which checks it against a declarative model of the onboarding policy and returns a verdict, every reason and the figures it computed.
This validator models the Larkspur onboarding policy for one action, onboarding one client product at one distribution center, not just the scenarios shown below.
Any client product onboarding that touches these rules is in scope, not only the scenarios pictured here. The products, clients and distribution centers are invented for illustration, the rules are simplified from public requirements and are not legal or regulatory advice, and the model does not cover pricing, receiving schedules or outbound orders.
6 scenarios in 3 groups · each group runs from the agent’s first attempt to the outcome · click one to switch
Illustrative agent statement. The validator receives the structured request below.
Proposing agent: AI client onboarding agent (scripted)
Before sending, the agent must call Recorded run
What this means
Our assessment of what a typical rules-based CPQ (product rules, price rules and validation rules, as in Salesforce CPQ) does with the same cases. It is a judgment about effort and reliability, not a claim that nothing can be built.
| What the validator caught | Typical rules-based CPQ | Predictika |
|---|---|---|
| The figure the agent states itself | Only with workarounds Positions needed is often taken as given unless custom code recomputes it from the forecast and the reserve. | The figure is recomputed from the forecast and the policy reserve and blocks on a mismatch. |
| Controlled substance storage | Only with care Registration level and secure storage depend on the product schedule and on what each site actually has, so a flat product flag is not enough. | Registration level, vault and cage are each checked against the chosen product and site. |
| Storage zone and free space | Only with care The right zone and the right free count depend on the product temperature class, and free space has to include the reserve. | The class totals are picked from the product, then compared with the forecast plus the reserve. |
| Serialization for prescription product | Only with care The rule applies only to prescription product, and depends on both the site and the client data feed. | Site readiness and the client data feed are checked together, and only for prescription product. |
| Utilization limits and shelf life | Only with workarounds A threshold that applies only when space is available, and a separate one for shelf life, are easy to get wrong at the boundary. | Utilization is computed after onboarding and compared with the limit; each boundary was run on the live validator. |
| Every problem returned in one answer | Only with workarounds Rules tend to stop at the first failing check, so reasons surface one resubmission at a time. | All findings come back together, whatever order the choices arrived in. |
Every rule is checked on every call, in any order the choices arrive; one problem never hides another. Blocking findings stop the request; approval findings need a person to sign off; everything else is computed.
| 1 | DEA registration level too low: Extended-Release Pain Tablets 60ct needs registration for the schedule level 2 and Allentown DC is registered for level 1. |
| 2 | Controlled substance storage: Extended-Release Pain Tablets 60ct needs secure storage for schedule level 2 and Allentown DC does not have it. |
| 3 | Stated positions do not match: the agent stated 250 positions; the validator computes 275. |
| 4 | Site would be very full: 90.7 percent of this storage class would be in use; sign-off is needed above 85 percent. |
| 5 | Not enough free space: 66 positions are needed including the reserve; Dallas DC has 40 free. |
| 6 | Site not serialization-ready: Insulin Pens 5-pack is a prescription product and Dallas DC cannot yet handle serialized product data. |
| 7 | No serialization data feed: Insulin Pens 5-pack is a prescription product and Quillon Generics has no transaction data feed set up. |
| 8 | Stated positions do not match: the agent stated 60 positions; the validator computes 66. |
| 9 | Short shelf life at receipt: 55 percent remains; sign-off is needed below 60 percent. |
| 10 | DEA registration level too low: Anxiety Tablets 30ct needs registration for the schedule level 1 and Reno DC is registered for level 0. |
| 11 | Controlled substance storage: Anxiety Tablets 30ct needs secure storage for schedule level 1 and Reno DC does not have it. |
| 12 | Site would be very full: 100 percent of this storage class would be in use; sign-off is needed above 85 percent. |
| 13 | Not enough free space: 44 positions are needed including the reserve; Allentown DC has 33 free. |
| 14 | No storage zone: Gene Therapy Vials is a ultracold product and Louisville DC has no ultracold space. |
| 15 | No storage zone: Frozen Vaccine Vials is a frozen product and Reno DC has no frozen space. |
| 16 | Site would be very full: 85.3 percent of this storage class would be in use; sign-off is needed above 85 percent. |
| 17 | Short shelf life at receipt: 59 percent remains; sign-off is needed below 60 percent. |
| 18 | Stated positions do not match: the agent stated 100 positions; the validator computes 110. |
| 19 | Site not serialization-ready: Cardiovascular Tablets 30ct is a prescription product and Dallas DC cannot yet handle serialized product data. |
| 20 | No serialization data feed: Cardiovascular Tablets 30ct is a prescription product and Aldervale Therapeutics has no transaction data feed set up. |
The recorded result of the validator for each scenario on this page: the request the AI agent sent, the verdict, and every finding, in the order they appear above.
The agent's request. Please onboard Insulin Pens 5-pack for Quillon Generics at Dallas DC, with a forecast of 60 pallets, so 60 storage positions are needed. The product will arrive with 80 percent of its shelf life. It is ready to execute.
Verdict: Blocked.
The agent's request. Please onboard Insulin Pens 5-pack for Quillon Generics at Allentown DC, with a forecast of 60 pallets, so 66 storage positions are needed. The product will arrive with 80 percent of its shelf life. It is ready to execute.
Verdict: Blocked.
The agent's request. Please onboard Insulin Pens 5-pack for Quillon Generics at Allentown DC, with a forecast of 60 pallets, so 66 storage positions are needed. The product will arrive with 80 percent of its shelf life. The client has its serialization data feed set up. It is ready to execute.
Verdict: Allowed.
The agent's request. Please onboard Extended-Release Pain Tablets 60ct for Aldervale Therapeutics at Allentown DC, with a forecast of 250 pallets, so 250 storage positions are needed. The product will arrive with 80 percent of its shelf life. The client has its serialization data feed set up. It is ready to execute.
Verdict: Blocked.
The agent's request. Please onboard Extended-Release Pain Tablets 60ct for Aldervale Therapeutics at Louisville DC, with a forecast of 250 pallets, so 275 storage positions are needed. The product will arrive with 80 percent of its shelf life. The client has its serialization data feed set up. It is ready to execute.
Verdict: Allowed.
The agent's request. Please onboard Allergy Relief Tablets 90ct for Halden Consumer Health at Dallas DC, with a forecast of 600 pallets, so 660 storage positions are needed. The product will arrive with 55 percent of its shelf life. It is ready to execute.
Verdict: Needs approval.
The text of the narrated walkthrough, step by step.