Service · AI automation
AI automation: a rule first, then a model, then an agent.
In AI automation, every step of a process gets what it needs: a fixed rule, a language model or an agent. Many steps need no model at all. As an AI automation agency we sort the steps of your orders, invoices, requests or onboarding with you, build the automation, and set budgets and approvals with you. How we build individual AI agents has its own page.
Seven short steps in the brief, and a reply from us within 48 hours.
Three answers for every step
- Fixed rule: The path is known.
- Language model: The text has no fixed form.
- Agent: The next step depends on the case.
We set budgets and approvals with you.
01 · What it is
AI automation means every step gets a rule, a model or an agent
For each step of a process we ask what it needs. If the path is fixed, a rule will do. If text arrives without a fixed form, a language model reads it. If the next step depends on the case, an agent plans it, within limits we set with you. The example is an order intake, sorted the way we would sort it. It shows the method and is not a client project.
Order intake
Example, not a client project
- 01
Intake
An e-mail to the order address lands in the order queue and its attachment is filed. The address and the sender decide where it goes.
. Rule
- 02
Read the order
Item, quantity and requested date are written as free text in the e-mail. A language model puts them into fields.
. Model
- 03
Match
The customer number and item numbers are checked against the master data.
. Rule
- 04
Stock and credit limit
If the item is in stock and the order is under the credit limit, it moves on. Both are numbers a rule can check.
. Rule
- 05
Handle the exception
If an item is missing, an agent looks for a replacement and possible delivery dates and drafts a question to the customer. Someone on your team has to approve it before it is sent.
. Agent, a person releases it
- 06
Create the order
The order is created in the ERP, and the customer gets a confirmation from a template.
. Rule
Four steps rule, one model, one agent.
02 · Rule
Fixed rules handle the steps whose path is known, and they need no model for it
In AI process automation a step with a fixed path stays a rule: it costs no model call and gives the same result for the same input every time. One example from our own systems is the weekly pulse in Mirage Office, a short team survey. Its schedule is configuration, and the code that drives the schedule calls no language model. We build the dates, deadlines, reminders and deletion periods in your process the same way.
One pulse week, default settings
- 1 · Monday 09:00: If the company has a works council, the round opens only once its agreement is recorded.
- 2 · Tuesday 09:00: First reminder to everyone who has not answered yet and is not on leave.
- 3 · Friday 14:00: Second reminder, three hours before the close.
- 4 · Friday 17:00: The round closes.
Times are in the company's time zone, Europe/Berlin unless another is set.
- 01
Hourly check
A job runs every hour and once when the service starts. It makes sure every active company has a weekly opening in its own time zone. If the schedule changes, it replaces the old one, and if a company leaves, it removes it.
- 02
First round
By default a new company gets its first round 24 hours after it joins. After that the weekly schedule applies.
- 03
No double rounds
If an opening job runs a second time, it finds the round that is already open and creates no new one. If the previous round is still open, that Monday is skipped and the following week's round opens.
- 04
Reminders
At most two reminders go to everyone who has not answered and is not on leave, and each reaches each person at most once. A reminder whose time has already passed when the round opens is dropped.
- 05
Deletion
A daily job deletes the anonymous answers and the stored surveys of rounds that closed more than 24 months ago.
- 06
Settings with limits
Weekday, hour, length of the round and the wait before the first round are settings. A round lasts between 24 and 144 hours, and the first one starts 1 to 168 hours after joining.
03 · Language model
A language model pays off where text arrives without a fixed form
A model reads free text and returns fields; in the example, item, quantity and requested date from an order e-mail. What happens before and after stays a rule. In our own pipeline that reads specialist sources and maps them to skills, exactly one step calls a model, and only for two kinds of source.
Order e-mail, example
Hi, could you send us another 40 boxes2 (Quantity) of A4 printer paper1 (Item) like last time, ideally by Wednesday next week3 (Requested date)? Thanks, purchasing team, Mirage Demo Store
The language model reads
Fields
- Item
- A4 printer paper
- Quantity
- 40 boxes
- Requested date
- Wednesday next week
Then rules again: master data match, stock, credit limit.
- 01
Fixed steps
Checking the file, extracting its text in a separate process, splitting it into sections and computing embeddings is code, and it runs on a fixed sequence.
- 02
One model step
Only for books and research papers does the pipeline ask a language model which skills the source covers. Every other source gets the skill named at upload.
- 03
A person confirms
The model's mapping is a draft. The source waits for review and is processed further only after a person confirms the mapping.
- 04
Switch and model choice
Before the call, the step asks the gateway whether it is switched on and which model to use. If it is switched off, it takes the same error path as a provider that does not answer. If the gateway cannot be reached, its last answer or the step's own setting applies.
- 05
Errors by type
A refused or unreadable file is not retried, because the same bytes would fail again. Other errors are retried up to three times, 30 seconds apart.
When your documents should answer questions: AI knowledge search →
04 · Agent
A step needs an agent only when its path depends on the case
An agent chooses which tool to use next. That helps when the path looks different every time. When the path is fixed, a rule is faster and easier to check. The more open the path, the tighter we set the limits: permissions, a budget, and a person who releases the result where it affects customers or employees.
- Rule
- Rule with model
- Agent
Result: Rule with model
- 01
Path and input are fixed
The steps are known and the data arrives in fixed fields. A rule does it the same way every time.
- 02
The input is free text, the path is fixed
The model reads the text, then the process continues on a fixed path. A rule checks that the fields are plausible.
- 03
The path depends on the case
The agent decides which tool to use next, with restricted permissions and a cost limit. Where its result affects customers or employees, a person releases it.
05 · Limits
Model steps run behind limits we set with you
For your project we decide with you which model steps go through the gateway; every call through the gateway is checked before it reaches the provider. The gateway records what happened and, when it refuses, gives the reason as a code.
Refused calls
- 503 FEATURE_DISABLED: Switched off. We have switched the use case off. Refused before anything is reserved.
- 402 BUDGET_EXHAUSTED: Budget used up. A budget cannot cover the estimated cost. Refused before any provider is asked.
- 422 GUARDRAIL_REFUSED: Input refused. Text a person typed is too long, tries to slip instructions to the model, or contains none of its topic's terms. Refused before any provider is asked.
- 503 NO_SIGNED_OFF_MODEL: No approved model. A use case that assesses people is treated as high risk: the gateway uses only a model the administration has signed off. No model is signed off today. Without sign-off the call is refused before any provider is asked.
- 502: Provider failed. Every eligible model answered with an error. The reservation is released. Only after a timeout is the estimate booked as spent.
- 422 ANSWER_REFUSED: Answer held back. For steps where people type text, the answer is checked too. If it fails, it is paid for but never delivered.
What we set up with you
- 01
Switching off per use case
We can switch a use case off; the gateway then refuses new calls through it. Exception: use cases that assess people keep running on the calling service's side.
- 02
Budgets in the gateway
For your project we set up budgets in the gateway with you: for the company, for the use case and, if you want, per person. Usage runs against budgets we set with you; the gateway refuses calls through it as soon as a budget is used up. After a timeout the estimate is booked as spent, and the actual cost can be higher than the estimate.
- 03
Placeholders for contact details
E-mail addresses, IBANs, phone numbers and the names the calling service declares become placeholders before a model sees the text. That does not make the text anonymous: everything else stays in it.
- 04
EU-hosted models by default
Unless set otherwise, the gateway picks models hosted in the EU. A use case departs from that only if its policy allows it. The default does not cover embeddings on its own, so we agree their provider and region for each project.
- 05
A log without content
Each call through the gateway leaves an entry with a hash, the tokens and the outcome. The text itself is not stored. The entries are deleted after the gateway's default of 183 days.
- 06
Refused when in doubt
If a check cannot run, the gateway refuses the call.
Budgets and order of work when AI comes to the whole company →
06 · From our own work
In our page factory scripts check, agents write, and the owner signs off
This chain produces the new pages of miragedigital.de, this one included. Scripts do what repeats and can be checked. Agents with fixed rules draft the text and match each claim against the code. The owner decides on paid calls, on approval and on going live.
01Signals: Script
A script fetches search data and measurements through free APIs.
02Opportunities: Agent
An agent ranks search terms by expected value and proposes the next pages.
03Brief: AgentPerson
An agent writes the brief with its sources. The owner approves it. Without him it moves on only when it rests entirely on answers he has already given.
04Draft: Agent
An agent writes the page in German and English. Its tests spend no money and send no e-mail.
05Checks: ScriptAgent
Scripts check types and tests. A script checks that tracking respects consent on a first visit, after rejecting, after accepting and after withdrawing. A read-only agent matches the claims against the code.
06Design: Person
The owner sees the finished page as screenshots on phone and desktop and reads the German text.
07Merge: Person
Only the owner merges the page, which puts it live.
08Watch: Agent
An agent follows rankings and submitted briefs and reports what changes.
What station 8 observes goes back to station 2 as data.
What the agents may not do
- call paid APIs
- scrape Google results
- print credentials
- merge or publish changes
07 · Your process
Six questions decide what each step needs
Take a process that costs your people a lot of time today and ask these questions of every step. The first three place the step, and the last three settle who steps in and where the limit is.
How we sort it
01Is the path fixed?
Then the step becomes a rule. If the path depends on the case, we check whether an agent with a few tools is enough.
Rule: yes
Agent: no, it depends on the case
02Does the input arrive in a fixed form?
A rule handles fields from a form or an API. A model reads free text from e-mails or PDFs, and rules take it from there.
Rule: yes, fixed fields
Model: no, free text or PDF
03Can a rule check the result?
Then a model may do the step, and the rule catches outliers. If no such check exists, a person sees the result before it counts.
Model: yes, with a check rule
Control: no, a person checks
04Who notices when a result is wrong?
Before the start we name a person with you who sees errors. A step that fails gets a status with a reason that person can read.
Control: a named person
05Who may stop the step?
We can switch a use case off; the gateway then refuses new calls through it. Exception: use cases that assess people keep running on the calling service's side.
Control: we can switch it off
06Which cost limit applies?
For your project we set up budgets in the gateway with you: for the company, for the use case and, if you want, per person. Once a budget is used up, the gateway refuses further calls through it.
Control: a budget with a limit
08 · Price
You know the price and the timeline before you sign
Before you sign
- one number before you sign
- small projects below 5.000€, large ones above 50.000€
- the timeline
Signature
After
- configuration at the agreed price
- AI usage in operation, against budgets we set with you
- first results no sooner than one week in
- large programs up to a year or longer
We do not bill by the hour. You get one number, usually as a configuration fee, and in operation you pay for the AI usage, which runs against the agreed budgets. Small projects come in below 5.000€, large ones can cost more than 50.000€. Where yours sits depends on the solution.
The first results come after one week at the earliest. Large, complex programs take up to a year or longer. We name the exact timeline together with the price.
Frequently asked questions
What is the difference between AI automation and an AI agent?
AI automation covers the whole process, where every step gets a rule, a language model or an agent. The agent is one of those three answers. It chooses its own next steps and is used where the path depends on the case. How we build agents is on our AI agents page.
Which steps need no AI at all?
Steps whose path is fixed usually need no model, such as dates, deadlines, reminders, master data checks and deletion periods. The weekly pulse in Mirage Office opens, reminds, closes and deletes on a fixed schedule, and the code that drives the schedule calls no model.
When is a language model worth it?
When text arrives without a fixed form and needs to become fields, for example from e-mails, letters or PDFs. Before and after that, the process stays a rule. If no rule can check the result, a person confirms it.
What happens when a step fails?
We decide that per step. In our own pipeline for specialist sources, a refused or unreadable file is not retried, because it would fail again. It gets the status "failed" with a reason. Other errors are retried up to three times, 30 seconds apart.
How is a step that uses a language model stopped?
Tell us. We can switch a use case off; the gateway then refuses new calls through it. Exception: use cases that assess people keep running on the calling service's side. When a budget is used up, the gateway refuses further calls through it before any provider is asked.
How do I keep AI costs under control?
For your project we set up budgets in the gateway with you: for the company, for the use case and, if you want, per person. Usage runs against budgets we set with you; the gateway refuses calls through it as soon as a budget is used up. After a timeout the estimate is booked as spent, and the actual cost can be higher than the estimate. We name the price for the build as one number before you sign.
What does AI ERP integration mean with you?
We sort the steps around your ERP: what runs as a rule through its API, where a model reads text and where an agent would be needed. We do not promise a ready-made connector for any particular ERP. Name your system in the brief and we will tell you what works there.
Can invoice processing be automated with AI?
Partly. A rule checks mandatory fields, amounts and order numbers. A model reads free text, such as a different delivery address. Approving the payment stays with a person. We do not offer a ready-made invoice capture product.
How long does it take, and what does it cost?
Small projects come in below 5.000€, large ones above 50.000€. First results come after one week at the earliest, and large programs take up to a year or longer. We name price and timeline before you sign.
Who runs the automation afterwards?
We set budgets and approvals in the gateway with you. Whether we stay on for operation is settled in the offer.
Which process costs your people the most time today?
In the brief, choose "Automate work in ERP, CRM, service or finance" and describe the process in a few sentences. After seven short steps we get back to you within 48 hours with a proposed time or an honest no.