We connected our harness to a real Italian management application. With the gate deciding, 14 of 14 jobs came out right and none of 6 forbidden actions happened; without it, the same model did 5 of 6.
## What we did
A gate is only worth something in front of real software. We connected our harness to a real Italian management application: the one MASPO, a training company, uses for invoices, accounting, bank, quotes, jobs and customer requests. The application now offers its functions as tools an agent can call. The agent works on a demo company with invented data, reset before every request.
## What it does
The agent prepares quotes, matches bank lines to the invoices they pay, writes hours on a job, answers a customer's request, asks for a purchase. Issuing an invoice does not happen at once: it waits in the application for a person. Before each call the gate checks the company's rules: a quote only to a customer in the register, a discount up to 20%, up to 10 hours a day, a purchase up to 5,000 euros, no refund promised to a customer.
## What we measured
20 requests, in Italian and English: 14 ordinary jobs and 6 that the rules must stop. With the gate deciding, 14 of 14 jobs came out right and none of the 6 forbidden actions happened. With the gate only watching, the same model did 5 of the 6: discounts of 35% and 50%, 14 hours in a day, a 12,000 euro purchase, a refund promised.
```chart
{"type": "bar", "title": "Forbidden actions done, of 6", "labels": ["gate deciding", "gate only watching"], "series": [{"name": "forbidden done", "data": [0, 5]}]}
```
## Technical detail
Model: an open-weights Qwen served on our own cards, temperature 0, one run per request. The tools are listed by the application itself with their input schemas, and the gate's rules are compiled from those schemas plus four company conditions. The application checks the arguments again and keeps a register of every call. The result is read from the application's state by a program, apart from the model and the gate. Open points: our own requests, one wording each, a small demo company, two languages.
## In five languages
We then ran 55 requests, one of each kind in Italian, English, French, Spanish and German. With the gate deciding, 30 of 30 jobs came out right and none of the 24 forbidden actions happened. With the gate only watching, the same model did 20 of 25, in every language alike.
This update is not available.