Standing agents
A standing agent is the assistant doing one job on a schedule — keeping pick faces topped up every hour, chasing late purchase orders every morning — under a mandate somebody wrote. Nobody watches it run. What it does is set by policy, and everything it did is kept so a person can read it afterwards.
Settings → Standing agents lists them.
Starting one
New agent offers the built-in ones your apps can run:
- Keep pick faces replenished — every hour, raises replenish tasks for faces below their minimum. Allowed to do that alone.
- Chase late purchase orders — each morning, sends the chaser for every order past the supplier's promised date. Allowed to send alone.
- Propose cycle counts for drifting bins — each morning, finds the bins whose counts and adjustments keep disagreeing with the book, and proposes counting them.
- Rebalance stock between sites — each morning, proposes transfers from a site with spare to one that is short, before anybody buys.
- Keep the catalogue tidy — the catalogue steward. Each night, files items under the collection, brand or tags the evidence supports, retires brands, collections and tags nothing is filed under, and proposes the rest (below).
Each starts switched off. Open it, read the mandate and its tools, change anything you want, and turn it on.
The catalogue steward
Keep the catalogue tidy starts each run by reading two things: the catalogue's health (items with no collection or brand, brands and collections typed twice, empty ones) and the classifier's suggestions still waiting for a person, grouped — "212 items suggested for Disposables".
What it does alone:
- Files items — puts them in a collection, gives them a brand, or puts tags on them, up to 200 items at a time. A filing that changes an item's tax category, brings it under or out from under a live tax, price or putaway rule, or changes whether the order line's licence check applies to it is proposed instead, and the proposal says which rule.
- Retires a brand, collection or tag nothing is filed under. One with items under it is refused, and the steward re-files the items first or tells you. One a live rule still names is proposed.
What it always proposes, for you to approve in Approvals — a person always decides these, whatever is set:
- Merging two brands, collections or tags that are the same thing. The proposal says how many items move and which rules are rewritten. A merge can only be undone by hand, so a person always decides it.
- Changing an item's category. The category decides how an item is costed, tracked and accounted for. The proposal shows what the item gains, loses and works out differently; a person always decides it.
- Putting a brand under a family — say, the lines Pulse and Meloso under Geek Bar. Everything under the brand then takes the family's price rules, and its minimum advertised price where nothing nearer sets one, so the proposal says how many lines and items move with it, which price rules start or stop applying to them, and how many minimum advertised prices change.
What it proposes unless you add a rule for it — set the tool to Do it alone on its page:
- Creating a brand, collection or tag. Where one like it already exists, the proposal names it, so you can say "use that one" instead — and that still goes to you with the rule set.
- Changing a brand's, a collection's or a category's details, such as a category's tax category. With the rule set, a change to a category's tax category, or to a brand or collection a live rule names, is still proposed.
- Asking the classifier again about items it could not place. That can file items too, and it uses your AI provider once for each item.
To have it ask about every filing as well, set inventory.file_items to
Propose on its page. To have it file fewer items alone, lower that tool's
limit.
Who it acts as
An agent acts for the person who last set it up, with one role's permissions — never more than that person holds, and never an administrator. Its changes are recorded in the audit trail as an agent's, with its name.
What it may do alone
For every tool that changes something, the agent's page says one of three things:
- Propose — the change goes to Approvals for a person to decide. This is what happens when nothing else is set.
- Do it alone — it is done, up to the limit where there is one (for example, count at most five bins alone; more than that is proposed).
- Never — the agent is refused and told so.
Anything that moves money — posting a delivery, raising a purchase order — is always proposed, whatever is set. Who may approve money is decided by your authority limits, and an agent is not a way round them. The page shows Always proposed: moves money instead of the choice.
A few other tools are always proposed because a person always decides them — a merge, say, which is only undone by hand. For those the page offers only Propose and Never (the ? beside the choice says why). Never stops the agent asking at all; set Propose again to undo it.
Some tools check each call first (the ? beside the choice says so). Even set to Do it alone, a call that reaches something a person should decide — say, filing an item in a collection a price rule depends on — is proposed instead. Never still wins over the check.
In Approvals, an agent's proposal says which agent raised it and why it was not done alone.
Runs
The Runs tab is the ledger. Open a run to see the mandate, what the agent said it would do, each step — what it looked up, what it did, what it proposed (with a link to Approvals), what was refused and why — what it reported, and how many tokens it used and what that cost.
The budget
The bar above the tabs is this month's tokens across every agent. A run that would start over it does not start, and says so. An administrator sets the budget.