1. What the Shipping Assistant does
The SHIP marketplace agent helps logistics and distribution SMEs run fulfillment with less manual tracking and fewer “Where is my order?” tickets.
- ▸ ShipStation · UPS · FedEx · USPS — ShipStation is the hub; carriers flow through it
- ▸ Full order-to-delivery flow — from awaiting shipment to delivered / exception
| Capability | What you get |
|---|---|
| Track | List orders/shipments; look up by order # or tracking # |
| Exceptions | Scan for late, undeliverable, address, and carrier exception statuses |
| Notify | Draft internal + customer messages (you review and send) |
| WISMO | Ready-to-send customer update draft for one order |
| HITL | Cancel / label / address changes require your approval |
2. Starting from the Matrixly.AI landing page
-
Open the marketplace
Open agents.html (nav: Agents or Browse Agents).
-
Find the SHIP card
Shipping Assistant — Live · ShipStation · UPS · FedEx · USPS · Full order-to-delivery flow.
-
Choose an action
- Deploy Now → opens the deploy page (
shipping-assistant.html) - See full logistics flow → homepage multi-agent logistics section
- This User Guide → step-by-step usage (you are here)
- Deploy Now → opens the deploy page (
-
Optional: Integrations
On integrations.html, search
shipor filter Logistics. ShipStation is marked popular and links to the Shipping Agent.
3. Install and run the demo (no API keys)
You can try the full agent flow immediately with sample data. No ShipStation account required.
Windows PowerShell
cd C:\Users\anwar\projects\matrix-six\agents\shipping-assistant python -m venv .venv .\.venv\Scripts\Activate.ps1 pip install -r requirements.txt python -m src.cli demo
What demo shows:
- Sample shipments (UPS, FedEx, USPS)
- Exception scan (e.g. delivery exception, delayed in transit)
Confirm mode with python -m src.cli status — you should see Mode: demo until API keys are set.
4. Connect live ShipStation
-
Create API credentials
In ShipStation: Settings → Account → API Settings → generate API Key and API Secret. Docs: shipstation.com
-
Create local env file
cd C:\Users\anwar\projects\matrix-six\agents\shipping-assistant copy .env.example .env
-
Add secrets (never commit or paste into chat)
SHIPSTATION_API_KEY=your_key_here SHIPSTATION_API_SECRET=your_secret_here
-
Verify live mode
python -m src.cli status python -m src.cli list
Status should show Mode: live and list real orders/shipments.
.env gitignored. Rotate keys if they are ever exposed.
5. Recommended daily ops workflow
-
Morning exception scan
python -m src.cli exceptions
Review high-severity items first (exceptions, past ETA).
-
Draft stakeholder + customer updates
python -m src.cli notify-drafts
Internal draft → your ops email. Customer draft → review, then send from Gmail/Thunderbird (or Email Assistant).
-
Answer a specific WISMO
python -m src.cli wismo --order YOUR-ORDER-NUMBER
Copy the draft into your mail client. Agent does not auto-email the customer.
-
Track one package
python -m src.cli track --order MB-10421 python -m src.cli track --tracking 1Z999AA10123456784
-
Export a snapshot for audit / sharing
python -m src.cli export
Writes JSON under
agents/shipping-assistant/data/output/.
6. Command reference
| Command | Purpose |
|---|---|
status | Demo vs live mode; pending HITL count |
list / demo | List shipments; demo also prints exceptions |
track --order … | Lookup by order number |
track --tracking … | Lookup by tracking number |
exceptions | Exception / late scan report |
wismo --order … | Customer WISMO reply draft |
notify-drafts | Internal + customer drafts for all exceptions |
propose-cancel --order … | Queue a cancel action (HITL) |
pending | List actions waiting for approval |
approve --id … | Approve a pending action |
reject --id … | Reject a pending action |
export | Write shipping-snapshot.json |
Add --json to most commands for machine-readable output.
7. WISMO and stakeholder notifications
WISMO = “Where Is My Order?” The agent drafts a clear status email with tracking and ETA when available.
# Demo sample exception order python -m src.cli wismo --order MB-10418
Pair with the Email Assistant to triage inbound WISMO mail, then paste the draft reply (still human-approved to send).
notify-drafts prepares:
- Internal — ops alert for your notify address
- Customer — polite status update (draft only)
8. Human-in-the-loop (HITL) approvals
Safe by default: tracking and drafts never need approval. Destructive shipping ops do.
| Auto-allowed | Requires approve |
|---|---|
| list, track, exceptions, WISMO drafts, notify drafts | cancel order, update address, create/void label |
python -m src.cli propose-cancel --order MB-10418 python -m src.cli pending python -m src.cli approve --id shp_xxxxxxxx # or python -m src.cli reject --id shp_xxxxxxxx
Live ShipStation mutations run only after approval and when API credentials + action handlers are enabled.
9. Using Hermes
The agent is registered as Hermes skill shipping-assistant.
hermes -s shipping-assistant -z "Scan shipping exceptions and draft WISMO for the worst order"
Hermes can run CLI tools under agents/shipping-assistant. Prefer explicit commands for production ops; use natural language for exploration.
10. Full order-to-delivery flow
How the SHIP agent maps to Matrixly’s logistics story on the homepage:
- Order capture — orders land in ShipStation from your stores/channels.
- Rate & label — carriers UPS / FedEx / USPS via ShipStation; label actions need HITL.
- In transit —
list/track/exceptions. - Delivery & WISMO — confirm delivered; draft customer updates when delayed or excepted.
11. Troubleshooting
| Symptom | What to try |
|---|---|
| Always “demo” mode | Check .env keys; restart shell; run status |
| API auth error | Regenerate ShipStation key/secret; no extra spaces in .env |
| Order not found | Exact order number; try list first; demo orders use MB-10xxx |
| Module not found | Activate .venv; pip install -r requirements.txt |
| Deploy Now 404 | Open site from the matrix-six folder; file is shipping-assistant.html |
12. FAQ
Does the agent send email to customers by itself?
No. WISMO and notify outputs are drafts. You (or Email Assistant with your approval) send them.
Why ShipStation instead of only UPS/FedEx APIs?
ShipStation is the SMB multi-channel hub. Carriers are used through ShipStation for one integration surface.
Can I use it without a live ShipStation account?
Yes — demo mode ships sample data for demos and training.
Where is the agent code?
C:\Users\anwar\projects\matrix-six\agents\shipping-assistant