Agent Builder
Build a country agent from what applies there, recommended with why, fetched from the official sites for your approval.
Agent Builder on the AI agents page opens it. Only System Admins use it. Back returns to the page you came from, or to AI agents if you opened this page from a bookmark or a new tab.
Starting an agent
Under Start building an agent, choose the Country and say The work it is for (for example "General construction" or "Electrical installation", up to 120 characters). What the agent must help with is optional (up to 600 characters). Left blank, it is: making sure the workers the company employs or brings in are paid and employed correctly, and that the company and each worker hold the documents the law requires. You can change it later with Change the focus.
Press Start and search. The agent is named after the work (rename it later on its own page), is created switched off, and its page in the Builder opens while the search runs in the background, usually for a minute or two. Leave out names, numbers and dates: a work or focus that reads like personal details stops the search of the official sites and the review (names cannot be detected, so leave them out yourself).
Where the recommendations come from
- EU law that applies in every member state: posting of workers, working time, written terms, minimum wages, pay transparency, health and safety, construction sites, social security coordination. For EU member states only.
- The country's own acts that put those directives into national law, from the EU's official data. Also for EU member states only.
- A search of the country's official sites: its legislation service, labour inspectorate, tax and safety authorities, posting website, minimum-wage and collective-agreement sources, and the unions and employers who sign the construction agreements. Every EU country, the UK and Norway has its official sites listed; for another country the Builder says so, does not search, and you add its documents yourself. Anything the search finds outside the listed sites is marked low confidence, for you to check.
The search of the official sites uses Obtempera's own AI test key, set in System Configuration; without it, only what comes from the EU's lists is added. It never uses a Customer's key. What it sends is the country, the work, what the agent must help with, and the titles and official numbers of what is already listed.
The monthly budget
The line under the search reads: This month: … of … tokens used (…%) on Obtempera's test key. Searching stops at the budget; the EU lists and fetching do not use it. Change the budget sets the Monthly budget (tokens) (3,000,000 unless changed). The count starts again on the 1st of each month. The relevance review counts against it too.
Narrowed to this work
After every search of the official sites, the Builder reviews each recommendation for the country, the work and what the agent must help with, and marks it:
- Critical: the employer must follow it for its workers or for this work.
- Critical when it applies: only in the situation named on it, for example posting workers from abroad, non-EEA workers, subcontractors or apprentices.
- Important: it applies, but seldom decides whether a worker is paid, employed or documented correctly.
- Left out: not relevant to this work, or replaced by a newer text (named). Include brings any of them back.
Anything not reviewed yet waits under Not reviewed yet. Each recommendation carries why it matters to this work and the evidence to require; its kind (acts and regulations, collective agreements, official decisions and rates, or authority guidance) is a tag on it. The review also searches the official sites for what the list lacks. Review again judges the list afresh; anything you included or left out yourself keeps its status.
Include, fetch, approve, publish
These steps are on each agent's own page in the Builder: see Agent Builder: agent.
- Include what applies, or Leave out what does not. Include all recommended does the lot.
- An openly published PDF on an official site is fetched for you. It arrives as a version waiting for your approval; nothing is used until you approve it.
- Anything the Builder cannot fetch shows To upload yourself: agreements only members can get, and pages without a PDF. Upload it from the agent's documents; then press Uploaded on its row and say which of the agent's documents it is (or mark it without naming one).
- Approve fetched puts every version of the agent waiting for approval into use. To read each one first, open the agent.
- Publish switches the agent on; it needs at least one document in use. Customers get it only when it is switched on for them, on the Customer's page under Settings.
Search again adds new finds; nothing already listed is repeated. Add one you know adds a document the search missed.
For a country with a toolkit, Add from the toolkit on the agent's page takes the sources the toolkit's register rests on, with no search and no AI: choose whether the agent is for electrical or mechanical work, see what it would add, then add them. Every fetched document still waits for your approval.
Agents being built
Below the form, each agent being built: its country and work, the state of its search (Not searched yet, Searching, Searched, Search failed), Being built or Published, and how many are critical, to decide, waiting for approval, in use and to upload yourself. Agents built by hand stay under AI agents.
Keeping agents current
Every 24 hours the Builder checks the agents' documents:
- EU acts: when the EU publishes a newer consolidated version of an act an agent answers from, the Builder fetches it as a new version waiting for your approval. The agent keeps answering from the version in use until you approve the new one. A version you turned down is not proposed again.
- National acts: each EU country being built is checked against the EU's lists again. New acts appear in its recommendations, marked as found by the nightly check, and are reviewed for the work.
Every 7 days, when something needs them, System Admins get one email, The AI agents need you this week, listing it: new versions waiting for approval, documents past or near their end date, new recommendations this week, failing tests, Risk figures that come from a replaced document, toolkit sources whose document has a new version (to review under Sources to review on Toolkit invites), and how many agents need attention.