What Happens When You Message an AI Employee
Concept — — by Mahmoud Zalt
What happens between messaging an AI Employee and its reply: safety checks, context, the work loop, approvals and the checks that run afterwards.
You type "Can you send the March invoice to Dana and remind her about the late fee?" and a few seconds later the reply starts to appear. From the outside it looks like one step. Inside, a dozen things happened, some of them at the same time, and a few of them exist only to stop something going wrong.
This is an honest walk through of what happens on Sistava when you message an AI Employee, written for people who run a business rather than people who build AI. It describes our own system as it works today. Where we quote a measured number, it comes from our own tests and links to the report.
From your message to the reply, in order
- Your message arrives — It is tied to you, your workspace and the conversation it belongs to, so everything that follows knows whose request this is.
- Private details are masked — Sensitive details, such as a payment card number, are masked before the message travels any further.
- A safety check runs alongside the first steps — The message is checked for harmful or manipulative content at the same time as the employee starts gathering context, so safety costs no waiting.
- Small talk or real work? — A quick decision sends a greeting or a thank you to a fast, lower-cost model, and real work to the full model.
- Context is gathered in parallel — Recent conversation, memory of you, relevant passages from your documents, the employee's duties and its team, all fetched at once.
- The prompt is built — The fixed part goes first and the part that changes each turn goes last, which makes repeated turns cheaper to process.
- The work loop runs — The employee thinks, uses tools, checks results and repeats, with brakes against loops, runaway length and empty replies. Risky actions pause for you.
- A backup takes over if needed — If an AI provider is down, a backup model picks up the work instead of leaving you with an error.
- The reply is checked and streamed — The reply gets its own safety check, then streams to you as it is written.
- Background work after the reply — Usage is billed, a sample of answers is graded by an independent AI judge, memory is saved, and your next message is checked for signs the answer missed.
What happens in the first moment after you hit send?
In the first moment, three things happen: private details are masked, a safety check starts on your message, and the employee begins gathering context at the same time. Running the check alongside the gathering, rather than before it, means you get the protection without paying for it in waiting time.
Masking comes first because a message can carry things that should never be repeated in a log or passed to another service. A customer pastes a card number into a support chat. A colleague includes a personal identifier. Those details are replaced before the message goes anywhere else.
The safety check looks at what the message is trying to do. A request to write a phishing email, or an attempt to talk the employee out of its rules, is caught here. If the check flags the message, the employee does not act on it.
Why decide between small talk and real work?
Not every message deserves the full machine. "Thanks, that's perfect" does not need your documents, your calendar or a large model thinking hard about it. A quick decision sends small talk to a fast, lower-cost model and real requests to the full one. You get a quicker reply to the easy messages and pay less for them.
How does the employee know what you are talking about?
Before it writes a word, the employee gathers five kinds of context, all at once rather than one after another: the recent conversation, what it remembers about you, relevant passages from your documents, the duties you gave it, and who else is on its team. That is how "send it to Dana" means the right Dana and the right invoice.
- Recent conversation. What was just said, so "that one" and "the second option" make sense.
- Memory of you. Facts from earlier conversations: your preferences, your clients, decisions you made last week.
- Your documents. Passages found by searching your files two ways, re-scored by a second reading, widened to their full section and numbered so the answer can cite them. Only documents you are allowed to see are searched.
- Duties. The standing rules you set, such as "always copy finance on invoices" or "never quote delivery dates".
- Team. Which other AI Employees it works with, so it can hand part of a job to the right colleague.
The document step is the one most people ask about, because it decides whether an answer is grounded or guessed. In our tests, finding and ranking the right passages took a median of 0.66 seconds per question. The full method and results are in our guide to accurate answers from your documents and the research report behind it.
Why is the fixed part of the prompt placed first?
Because AI providers can reuse work on text they have already seen, as long as it is identical and comes first. The employee's role, skills and rules rarely change between turns, so they go at the top. The parts that change every turn, such as your new message and the passages found for it, go at the end.
The result is that the second, third and tenth turn of a conversation reprocess far less from scratch. That keeps replies quick and keeps the cost of a long conversation down, which shows up directly in the credits a conversation uses.
What happens inside the work loop?
The work loop is where the employee thinks, uses a tool, looks at the result and decides what to do next, repeating until the job is done. Built-in checks stop the loop from spinning on the same step, from running on far longer than the task needs, and from ending with an empty reply.
For the invoice request, the loop might look like this: find the March invoice, look up Dana's address, check whether a late fee applies, draft the email. Each of those is a tool call with a result the employee reads before choosing the next step.
Then comes the moment that matters most. Sending an email to someone outside your business is a risky action, so the employee pauses and asks you first. It shows you what it intends to send and to whom, and waits for you to approve, edit or decline.
You can see and adjust which actions ask first. Approvals are the brake that makes the rest of the autonomy safe to use, and the guide below shows how to set them for each AI Employee and each connected tool.
What if an AI provider goes down mid-reply?
A backup model takes over. AI providers have outages like any other service, and an employee that simply stops when its provider does is not one you can rely on. When the main model cannot be reached, the work moves to a backup model and carries on.
You may notice a slightly different writing style in that reply. You should not notice a failed request, a lost draft or an employee that went quiet halfway through a task.
What is checked before the reply reaches you?
The reply gets its own safety check, separate from the one on your message, and then streams to you as it is written. Checking both sides matters because a harmless question can still produce a reply that should not go out, for example one that repeats something it was never meant to share.
Streaming is why you see the answer appear word by word instead of waiting for the whole thing. For long replies it means you can start reading straight away rather than waiting for the finished answer.
What happens after you get the reply?
Four jobs run in the background once the reply is with you, so none of them slow you down: the usage is billed, a sample of answers is graded by an independent AI judge, what you said is saved to memory, and your next message is checked for signs that the last answer missed.
- Usage billed. The credits the turn used are recorded against your workspace, so what you see on your bill matches the work done.
- Quality graded on a sample. One in ten answers drawn from your documents is checked after it is sent by a separate AI judge: did it stay within its sources, were they relevant, did it answer the question.
- Memory saved once per conversation. Facts worth keeping, such as a new client or a changed preference, are saved for next time. This happens once per conversation, not after every message.
- A missed-answer check. If your next message suggests the answer did not solve the problem, such as "no, that's the wrong invoice", it is flagged for review in the background.
Together these are how the system learns where it is weak. A judge score that drops, or a run of "that's not what I asked" follow ups, points to a gap long before anyone files a complaint.
| Stage | What it protects | What you notice |
|---|---|---|
| Masking private details | Sensitive data spreading into logs or other services | Nothing, it is silent |
| Safety check on your message | Harmful or manipulative requests | A refusal, rarely |
| Small talk or real work | Paying full price for a thank you | Faster replies to quick messages |
| Context gathered in parallel | Answers that ignore who you are or what your files say | Replies that know your clients and cite your documents |
| Fixed part of the prompt first | Long conversations getting slow and costly | Lower credit use on repeated turns |
| Work loop brakes and approvals | Loops, runaway tasks and risky actions done without you | An approval request before anything leaves the building |
| Backup model | A provider outage stopping your work | Usually nothing |
| Safety check on the reply | A reply that should not go out | Nothing, unless it catches something |
Where does this still fall short?
No pipeline makes an AI Employee perfect, and it is worth knowing where ours is honest about its gaps. Automated checks catch most problems, not all of them, which is exactly why risky actions still wait for a person instead of trusting the checks alone.
- The quality judge works on a sample, after sending. It finds patterns across many answers. It does not stop a single weak answer before you see it.
- Document answers have known weak spots. In our tests, answers from tables and questions spanning several documents were found every time but ranked first less often, and short follow ons were the weakest type.
- Memory is not instant. Long-term memory is saved once per conversation, so a brand new fact is used within that conversation from the recent history and becomes long-term memory afterwards.
- A backup model is not identical. During an outage the work continues, but tone and phrasing can differ from your usual replies.
Knowing these limits tells you where to keep a human eye. Check answers from complex tables, read the approval requests properly rather than clicking through them, and tell the employee plainly when it got something wrong, because that correction is what the background checks are listening for.
What should you set up when you hire one?
Most of the pipeline runs without you. The parts you shape are the inputs: what the employee can reach, what it must ask before doing, and what it knows. Getting those right on day one matters more than any setting further down.
- Connect only the tools the role needs. A support employee needs your help desk and your knowledge, not your bank.
- Review which actions ask first. The risky ones ask by default. Add any others your business treats as sensitive.
- Add the documents people ask about. Policies, price lists and manuals, with clear titles and headings, and choose who can see each one.
- Write a few duties. Short standing rules in your own words, such as who to copy or what never to promise.
- Correct it out loud. When an answer misses, say so in the next message. That is what the missed-answer check picks up.
If you want the bigger picture of how AI Employees take responsibility for work, remember context and work alongside your team, our practical guide to how AI Employees work covers it with a diagram. This article zoomed into a single message; that one zooms out to the whole job.
Frequently asked questions
FAQ
Does an AI Employee use the same model for every message?
No. A quick decision sends small talk, such as a greeting or a thank you, to a fast, lower-cost model, and real work to the full model. If the main provider is down, a backup model takes over.
Will an AI Employee send an email or make a payment without asking me?
Not by default. Payments, deletions, public posts and messages to people outside your business pause for your approval. The employee shows you what it intends to do and waits for you to approve, edit or decline.
Is my private data sent to the AI model as is?
Sensitive details such as payment card numbers are masked before the message travels further. Your documents are only searched within what the person asking is allowed to see.
Does the AI Employee remember what I told it last week?
Yes. Facts worth keeping are saved to memory once per conversation and gathered as context the next time you message it, alongside the recent conversation, your documents, its duties and its team.
How do you know if an answer was good?
Several ways. One in ten answers drawn from your documents is graded after sending by an independent AI judge, a follow up suggesting the answer missed is flagged for review, and every answer from your documents cites numbered sources you can open yourself.
Why does the reply appear word by word?
It is streamed as it is written, after the reply's safety check. You can start reading straight away instead of waiting for the full answer, which matters most for long replies.
A reply from an AI Employee looks like one step and is really a short chain of them: protect the message, understand the context, do the work with brakes on, check the reply, then learn from how it went. Knowing the chain tells you where to trust it, where to look, and which few settings are yours to make.