How the platform works

Everything that happens behind your agent, explained simply

How it learns about your business, how it finds the right answer, what it can do besides replying, and what happens when something fails. No jargon: when an odd word shows up, we explain it.

Document ingestion

From a document to agent knowledge

You upload a document and the platform prepares it so your agent can search it. There are few steps, and each one exists for a reason: if the document is read or cut badly, the agent answers badly.

  1. 1Your document

    PDF, Word, Excel, text or image

  2. 2Read

    Text, headings and tables

  3. 3Clean

    Repeated parts removed

  4. 4Split by topic

    Pieces that make sense on their own

  5. 5Generate vectors

    The meaning of each piece

  6. 6Store

    Ready for the agent to search

The path of a document. If something fails, the agent keeps using the previous version.Steps where an AI does the work

Step by step

  1. 1

    We take the document

    We read it with its headings and tables. If it is a scan or a photo, we use OCR to recognise the text. Diagrams are described in words.

  2. 2

    We clean it

    We remove the headers repeated on every sheet and the page numbers.

  3. 3

    We split it by topic

    We cut where the meaning changes, not every so many words. That way each piece makes sense on its own. Each one is labelled with the file and section it came from, plus a line that places it.

  4. 4

    We generate vectors

    Each piece becomes a list of numbers that represents what it means.

  5. 5

    We store them

    The vectors go to a vector database. From there, the agent finds them by meaning.

  • Spreadsheets are split by table

    Each piece repeats the header row, so "price" always stays attached to its column.

  • Replacing is safe

    The previous document is deleted only when the new one is ready.

  • Each agent has its own

    An agent only finds the documents uploaded for it.

A message's journey

What happens between someone writing to you and the answer arriving

The platform is not watching your chat: it learns about a message because the channel tells it. This is the path, stop by stop.

  1. 1Your customer

    Writes one or several messages

  2. 2Channel notice

    The official WhatsApp API notifies us through a webhook

  3. 3Message queue

    It is stored and the ones in a row are grouped

  4. 4Your agent

    Searches, decides and writes

  5. 5Your customer

    Gets the answer in the same chat

The path of a WhatsApp message. Instagram works the same way; your website chat skips the channel notice and the queue.Steps where an AI does the work
  1. 1

    The channel notifies us

    We use Meta's official WhatsApp API. When someone writes, Meta notifies the platform through a webhook, and the platform checks the notice is authentic before doing anything. Instagram works the same way.

  2. 2

    The message enters a queue

    Before it is processed it is stored in a message queue. That way it is not lost if things get busy or something fails in the middle: it is retried.

  3. 3

    Messages in a row are grouped

    People write in pieces. The messages one person sends in a row are grouped and answered together, with all the context.

  4. 4

    It checks everything is in order

    That the agent is active, that the plan has answers left and that nobody on the team has taken over the conversation.

  5. 5

    The agent prepares the answer

    It reviews the conversation, searches your documents if needed and writes. If it has to do something (book, record, notify), it does it at this step.

  6. 6

    The answer returns through the same channel

    It goes out the way the message came in, through the same official API, and everything that happened in between is recorded.

  • Voice notes, images and ads

    Voice notes are turned into text before reaching the agent, and it receives images too. If the person arrives from an ad, the agent knows it, so you never lose where they came from.

  • A person can take control

    From the panel, or with a keyword in the same chat, your team takes over the conversation. Meanwhile the agent does not answer.

  • Your website chat is more direct

    There is no webhook or queue: the chat asks the platform for the answer and gets it right away, because the person writing is looking at the screen.

See the full path, step by step and with an example

Searching your documents (RAG)

It answers from what your documents say, not from memory

"RAG" is the technique that makes the agent search your documents before answering. That is why it does not invent prices, terms or opening hours: it answers with what you uploaded and knows where it came from. And because the knowledge lives in the documents and not inside the model, updating it is just uploading a new file: there is nothing to retrain.

First: deciding whether a search is needed

Your customer's message arrives

Does the agent have documents uploaded?
No

It answers with its instructions, without searching.

Yes
Does everything it knows fit in a single read?
Yes

It gets all the material, without searching. No fact is left out.

No
Is it a greeting or small talk?
Yes

It doesn't search: a "thanks" triggers nothing.

No

A search is needed

A lightweight AI completes the question ("and how much is it?" becomes "price of the 2-liter bottle") and only then is the search run.

Searching costs money and time, so it isn't done when it adds nothing.Steps where an AI does the work

How it searches

"How much is the SKU-2210 armchair?"

Your customer's question

By meaning

In a vector database: finds texts that talk about the same thing even with different words

By exact word

Finds "SKU-2210" exactly as written

Results are merged

What shows up in both searches goes first

Re-ranking

A specialised model rereads each candidate against the question and keeps the ones that really answer it

Two searches at once and a re-ranking that picks what really answers.Steps where an AI does the work

The technology underneath

  • Vector database

    Each piece of your documents is stored as a vector: a numeric representation of its meaning. Searching compares meanings, not letters, so it finds "how much is it?" even if the document says "service fee". We use pgvector on Postgres, and Pinecone for agents with a lot of material.

  • Semantic chunking

    Documents are cut where the topic changes, not every so many words. Each piece makes sense on its own and carries the file and section it came from, so the search brings back whole ideas, not loose scraps.

  • Context per chunk

    Before it is stored, an AI writes each piece one or two lines that place it inside the document. An "expires June 30" stops being an orphan: you know which contract it is about.

  • Hybrid search

    By meaning it finds texts that talk about the same thing in other words, but it mixes up codes, prices and proper names. By exact word it does the opposite. Both are used at once and the results are merged.

  • Re-ranking

    Instead of keeping the first results, many candidates are fetched and a re-ranking model rereads them one by one against the question and orders them by how well they answer it. It is the difference between "something similar" and "the fact".

  • A well-formed question

    People write in a hurry: "how much the thing 2 lts". Before searching, a light AI completes the question with the industry's words, and the agent still sees what the person wrote.

What your business gains

Grounded answersThe agent answers with what your documents say. If the fact is not there, it says it does not have it instead of making it up.
It finds you even if they ask differentlySearch by meaning understands "how much is it?", "what is the price?" and "how much does it cost?" as the same question.
Exact codes and names, no mistakesSearch by exact word covers what meaning mixes up: SKUs, plate numbers, proper names.
It grows with your materialIt works the same with a few pages as with whole catalogs: the vector database is built to search among thousands of pieces.
Updated in minutesYou upload the new price list and the agent uses it. No training, no rules to rewrite.
What is yours stays yoursEach agent only finds the documents uploaded for it: they are not mixed with other agents' or other companies'.
  • Proven techniques

    Context per chunk, hybrid search and re-ranking are the combination Anthropic published as Contextual Retrieval, and the one we use, adapted to Deployate.

  • The agent knows which documents it has

    Before searching it sees the list of what you uploaded, with its summary. Knowing there is a "2025 price list" lets it decide what to search and with which words.

  • Less filler, better memory

    The more text an AI receives, the worse it remembers what matters. That is why it gets just enough: the trimmed conversation and only the pieces useful for that question.

  • If one piece fails, there is still an answer

    If the AI that completes the question or the re-ranking does not respond, the search carries on the simple way. It never stalls the conversation.

  • Measured, not guessed

    Each search improvement is tested with the same set of questions, before and after, to compare how many found their source.

Two ways of searching

Who decides to searchDirect searchThe platform, before the agent answers.Agent-guided searchThe agent itself, only when it needs to.
How many times it searchesDirect searchOnce, with the question already understood.Agent-guided searchAs many as it needs: it searches, reads what it found and searches again in other words if that wasn't enough. With a cap: up to 3 rounds per message.
Speed and costDirect searchFaster and cheaper.Agent-guided searchA little more delay and cost for each extra search.
When it fits bestDirect searchAgents with few documents or very direct questions.Agent-guided searchAgents with lots of material and chats where the topic shifts or is left implied.
How it's chosenDirect searchIt's how every new agent starts.Agent-guided searchIt's turned on agent by agent and you can go back whenever you want.

Working in turns

A turn: from the moment they write to you until your agent answers

Everything your agent does happens inside a turn. A turn starts when a message arrives and ends when your agent answers. Inside there is no list of steps drawn up in advance: your agent searches, looks at what it found and decides what comes next. It is how a person works when they do not know in advance where the answer is.

  1. 1Your customer writes

    "Does the Pro plan include weekend support?"

  2. 2Your agent searches

    Finds a paragraph about the Pro plan

  3. 3Reads and asks if it is enough

    It talks about the plan, but not about support

  4. 4Searches another way

    With other words, or reads the whole section

  5. 5Answers

    With the fact it did see, not a similar one

One turn. Your agent looks again after each step and decides the next one. A greeting is settled in one pass; a hard question can take several.Steps where an AI does the work

A turn from the inside

  1. 1

    The message arrives

    Your agent starts with the conversation, its instructions and the map of your documents: what exists and in which section. We do not hand it the content in advance.

  2. 2

    It searches or reads

    It asks for what it needs: it searches your documents or reads a whole section. The one who knows what is missing is the one who read the conversation, not a search run with the message as it came.

  3. 3

    It judges what it found

    Does it answer the question? If not, it searches another way. It does not accept a search just because it brought something back.

  4. 4

    It acts if needed

    Books, records, sends an email. Every action that changes something is recorded before it is done, and if it cannot be recorded, it is not done.

  5. 5

    It answers

    When it has what it needs it replies, in your business's tone, and the turn ends.

What changes for your business

  • The one who answers is the one who judges

    The same agent that is going to reply reads the search result and decides whether it is good enough. There is no separate step accepting a search that brought something but did not answer.

  • It corrects course on every pass

    It can change its mind after each step: rephrase the search, read more, or decide it already has what it needs.

  • It does not work more than needed

    If the first reading already has what is needed, it answers. It does not keep searching just in case.

  • It does not invent what is missing

    If to do something it needs a fact only your customer can give, it asks. It does not fill the gap with a guess.

Who decides the turn is over

Your agentWhen it stopsWhen it considers it has what it needs.What happensIt answers. This is the normal case.
The platform, by passesWhen it stopsIf in one message it makes too many passes or runs too many actions.What happensThe next pass goes without tools: it has to answer with what it has.
The platform, by timeWhen it stopsIf the turn runs longer than a customer expects, more on WhatsApp than on the web.What happensSame: it answers with what it got so far.
The platform, by repetitionWhen it stopsIf it asks for the same action several passes in a row.What happensIt can no longer use it and answers. Searching and reading several times does not count: that is expected.

Nothing is done twice

  1. 1

    Your customerYour agent

    "Book me a visit tomorrow at 10"

  2. 2

    Your agentThe log

    Writes: I am going to book tomorrow at 10

  3. 3

    Your agentThe tool

    Books the visit

  4. 4

    The toolYour agent

    It is booked

  5. 5

    Your customerYour agent

    The same message arrives again, because of a cut

  6. 6

    Your agentThe log

    Was this already done?

  7. 7

    The logYour agent

    Yes, and it returned this: do not repeat it

  8. 8

    Your agentYour customer

    "Done, it is booked for tomorrow at 10"

What prevents repeating an action is a log: everything that changes something is written down before it is done. If the channel resends the message, the turn picks that log up again.
  • Looking is not logged

    Searching and reading your documents changes nothing, so repeating it does no harm. Only what has an effect is logged: booking, sending, recording, building a document.

  • If something was left halfway, it says so

    If the conversation was cut right while a tool was working, it is not repeated. Your agent tells your customer it could not confirm whether it got done.

  • Minutes-long tasks do not block

    A long job starts, your customer gets a notice that it is being prepared and the conversation is free.

  • When it ends, the agent picks its turn back up

    When the long job finishes, your agent continues from where it left off, with its tools and with what it already did in view: it can build the document, send the email or start another job. There is a cap so it does not chain forever.

Tools and integrations

Your agent doesn't just answer: it acts

A tool is something the agent can do in another system in the middle of the conversation: record a contact, send an email, create a payment link. That way a chat ends in something concrete without anyone having to step in.

How it uses a tool

  1. 1

    Your customerYour agent

    "I'd like to visit the school on Thursday"

  2. 2

    Your agentTool

    Checks the available times

  3. 3

    ToolYour agent

    There's a slot at 10

  4. 4

    Your agentTool

    Books the visit

  5. 5

    ToolYour agent

    Visit booked

  6. 6

    Your agentYour customer

    "Done, we'll see you Thursday at 10"

The agent can take several steps before answering. If a piece of information is missing, it asks your customer first.
PipedriveYour customer system: recording people, sales opportunities, tasks and notes from what the customer tells you.
TokkoReal estate: looking up a property's details from the link the customer sends.
JiraTeams: checking which tasks are pending.
EmailNotifying someone on your team, sending the summary of an inquiry or recording a contact.
Mercado PagoCreating payment links and finding out when a payment goes through.
Google Sheets and DriveReading and writing spreadsheets and documents, for example to record candidates.
Your documentsSearching the information you uploaded for the agent.
  • Several steps in a row, with a cap

    The agent can chain actions, but to keep costs in check there is a limit of 3 rounds and 6 actions per message. If it asks for exactly the same thing twice, the second one is not run (unless the first one failed, in which case it is retried).

  • Automatic tags

    After each answer, the conversation is tagged with its intent ("price inquiry", "wants to book a visit"). It helps sort contacts and see what you're asked most.

  • Messages to start a conversation

    From the panel you manage the templates approved by WhatsApp, which are the messages you can use to write to a customer first.

  • No connection, no action

    A tool you haven't connected yet simply isn't used. The agent doesn't pretend to have done something it didn't do.

Transparency

Every answer tells how it was worked out

A customer's question isn't always a single query to the AI. For every answer the full path is saved: what the agent searched for, what it found, what it did and what it replied.

  • A timeline per answer

    What the customer wrote, each step the agent took and the final answer. On top, a summary: how many searches, how many actions, how long it took and what it cost.

  • What it searched for and what came back

    For each search you see the words the agent used, how many chunks it found and which document each one came from. If it found nothing, that's flagged.

  • Why it's worth a look

    A search that keeps coming back empty says a document is missing. It's the difference between guessing why it answered that way and seeing it.

Evaluations

How we know an agent answers well

Trying it by hand two or three times isn't enough. Every agent takes an exam: a set of questions with the answer we expect, asked to the agent exactly as it serves customers, and each answer gets a grade.

  1. 1The agent is studied

    Its instructions, its tools and all its documents

  2. 2The questions are built

    Each with its expected answer and the document it comes from

  3. 3The agent answers

    Just like in a real conversation

  4. 4The search is checked

    Did it find the right source?

  5. 5A judge gives the grade

    From 0 to 100, with its explanation

An exam from start to finish. Questions can be written by hand or built by an AI looking at the whole agent.Steps where an AI does the work
the grade for each answer
0–100
verdicts: correct, partial or incorrect
3
difficulty levels in every exam
4
real actions during an exam
0

Two grades, not one

  • The search grade

    Did the agent find the chunk of the document where the answer is? We check whether it arrived, where it ranked, or whether it was among the candidates and got left out.

  • The answer grade

    Another AI acts as the judge: it compares what the agent answered with what was expected and gives a score, a verdict and the reason. It doesn't compare word by word: saying the same thing in other words is fine.

How to read an exam

It answered badly, but found the factWhat it meansThe information reached it and it used it badly.What gets fixedThe agent's instructions.
It answered badly and didn't find the factWhat it meansThe information never reached it.What gets fixedThe documents: the file is missing or was read badly.
It had the fact close and discarded itWhat it meansIt was among the candidates and was narrowly left out.What gets fixedThat agent's search settings.

Four difficulty levels

BasicWhat the question is likeThe fact is written as is, in a single place.What it measuresIf it fails here, the problem is in how the document was read or in the search.
MediumWhat the question is likeTwo or three facts from the same document must be combined, or a condition applied.What it measuresWhether it understands what it reads, besides finding it.
ComplexWhat the question is likeInformation from different documents must be cross-checked.What it measuresWhether enough information reaches it to build the full answer.
Very complexWhat the question is likeIt crosses several documents plus a rule from its instructions or a tool.What it measuresWhether it follows its rules, and whether it admits a fact is missing instead of making it up.

Tools take the exam too

  • They never run for real

    During an exam no email is sent, nothing is booked, nothing is charged and nothing is recorded in your customer system. Tools reply with a simulated result.

  • Two cases per tool

    One where the tool works and one where it fails. In the second, the agent has to say it couldn't be done: it can never tell your customer something was done if it wasn't.

  • Without using the tool, it doesn't pass

    Whether the agent used it is recorded. If it didn't, the case isn't accepted no matter how polished the answer is.

  • What isn't tested yet

    Only what can be asked in a single message is evaluated, and we check that the agent uses the tool, not which data it uses it with. Both are pending.

What we use it for

  • Before and after every change

    Each exam saves the configuration it was taken with. When we change something in the search, we run the same exam again and compare: measured, not guessed.

  • The grade per level says more than the average

    An agent scoring 90 on basic questions and 40 on complex ones doesn't answer "so-so": it struggles to cross information. The average alone would hide that.

  • A constant health check

    Each agent can have a control question with its expected answer. It's asked automatically, graded by the same judge, and it only passes with a "correct" verdict.

Reliability

No message is lost

The AI, WhatsApp or the network itself can fail for a while. The platform is built so that delays an answer rather than losing it.

  1. 1A message arrives

    It's stored in the waiting room

  2. 2An answer is attempted

    If it works, the answer is sent

  3. 3If it fails, it waits

    30 minutes and tries again, on its own

  4. 4Up to 48 attempts

    A full day of retries

  5. 5Review by a person

    If it still didn't work, it isn't discarded

The same goes for the answers going out to your customer: if they can't be delivered, they're retried.Steps where an AI does the work
between a failed attempt and the next one
30 min
attempts before setting the message aside for a person to review
48
of automatic retries in total
≈ 24 h
AI models per agent: the main one and a backup
2
  • A waiting room for every message

    Each message stays stored until it's answered. If something goes down in between, it's retried automatically.

  • Backup from another provider

    If the main AI provider goes down, the answer continues through a different one, with the same instructions and the same information. Your customer doesn't notice.

  • Actions aren't repeated

    If an answer has to be retried, what the agent already did (booking a visit, sending an email) isn't done again.

  • A failing action doesn't cut the conversation

    If a tool fails, the agent learns the action was not done and tells your customer. They are neither left without an answer nor shown technical errors.

  • Review by a person

    A message that failed every attempt isn't discarded: it's set aside for the Deployate team to review. It happens very rarely, and almost always because of a long provider outage.

Glossary

The words that keep coming up

The ones we use on this page, one line each.

AgentAn AI assistant set up for your business: it has instructions, documents, channels it serves on and tools.
InstructionsThe text that defines how the agent behaves: its tone, its rules and its goal. Also called the "prompt".
TurnEverything that happens from the moment a message arrives until your agent answers. Inside, the agent decides each step looking at the result of the previous one.
IngestionReading and preparing a document so the agent can find it later.
ChunkA piece of a document. It's what the agent finds when it searches.
Vector databaseWhere the pieces are stored as vectors, a numeric representation of their meaning, so they can be searched by sense and not only by words.
RAGSearching your documents before answering, to reply with grounds and not from memory.
Hybrid searchSearching by meaning and by exact word at once. It finds both "how much is it?" and a product code.
Re-rankingA model that rereads a search's results against the question and keeps the ones that really answer it.
ToolSomething the agent can do in another system: record a contact, send an email, create a payment link.
EvaluationAn exam for an agent: questions with their expected answers, graded by another AI acting as the judge.
RoundEach time the agent consults the AI within a single answer. A simple answer takes one; one with searches or actions, several.
Manual controlWhen a person takes over a conversation from the panel and the agent stops replying in it.
QuotaThe number of answers per month included in your plan.
TemplateA message approved by WhatsApp that lets you write to a customer first.

Want to see it working?

Create your agent for free, upload a document and ask it a question. In a few minutes you'll see all of this in action.

Create my agent for free← Back to home