Meet AIME.
It knows your work, and its limits.
AIME answers from your company's own email, chat, tickets and documents. It only reads what you are allowed to see, it names its sources, and when it cannot find something it says so and asks a better question back.
Measured on our live system with a synthetic test company (no real customer data yet). Dates and method for every number are in the experiment log below.
Artificial Intelligence Managed Engine
The name came out of a long brainstorm in August 2026, around one question: if we built the AI in KaryoSpace from scratch, what would it look like? The answer was not another feature. It was one engine that manages all of the AI work, from search, embeddings, indexing and ranking to knowledge links and observability, with the existing pieces brought under one umbrella. Each word in the name carries part of that idea.
The language model that reads and writes. It matters, but on its own it is only one part. A model that can read everything and check nothing is not something you can trust with company data.
The word that matters most. Everything around the model is managed: what it may read (access checks on every item), what it sees (a fixed-size brief), which model answers (a backup takes over when one fails), and how each answer is watched (AIO, the observability layer, traces and scores every one).
An engine, not a general feature. Search, embeddings, ranking, model routing and observability used to be separate pieces; AIME is the umbrella that runs them together, underneath the whole app. One loop prepares new mail, chat and documents as they arrive; the other answers when someone asks.
What happens in the 1.4 seconds
A real question from our test company, asked by Ava Riley. Step through what AIME does with it. The steps are illustrated; the final answer is the real reply.
First, who is asking?
Before any search runs, AIME loads Ava's access: her own mailbox, the chat channels she is in, the projects she works on, and the company-wide knowledge base. Everything after this step only sees what Ava herself could open.
Has Ava asked this before?
AIME keeps a short memory of earlier answers so repeat questions are instant. That memory belongs to each person: Ava's question is only ever matched against Ava's own earlier answers, never against a colleague's. There is no close match here, so AIME searches.
Search seven sources at the same time
Emails, passages inside long emails, chat, the knowledge base, tickets, personal notes and connected apps are all searched in parallel, both by meaning and by exact words. Ties are broken the same way every time, so the same question always gathers the same evidence.
Every single item is checked again
Search results are not trusted on their own. Each email, message, ticket and fact is checked against Ava's access a second time, and anything she may not see is dropped before the AI reads a word of it. If the check cannot decide, the item is left out.
Connect the facts
AIME also keeps short "knowledge atoms": one-line facts taken from tickets and documents, each naming the ticket or document it came from. Atoms that share a specific person, system or project are linked, so a question that needs two or three facts can be answered. The prompt stays the same size, so answers do not get slower as knowledge grows.
Answer, and say where it came from
The AI writes the answer only from what survived the checks. The reply below is the real one from our live system.
If nothing had matched, AIME would have said so and asked for the detail that would help, such as a project, a ticket or a time frame.
How AIME works, end to end
AIME does two jobs. First, when new mail, chat or documents arrive, it prepares them so they can be found later. Second, when someone asks a question, it finds the right pieces, checks access and answers. Every value below comes from the running code.
When new data comes in
Runs quietly in the background, before anyone asks.
- a
Collect
everything in one placeEmail arrives through KaryoSpace’s own mail server. Chat, knowledge-base uploads, tickets and notes are saved by the app itself, and connected tools such as Jira, Confluence and ServiceNow are pulled in. Nothing is copied to an outside search service.
own mail server (SMTP + IMAP)chat · tickets · notesknowledge uploadsJira · Confluence · ServiceNow - b
Cut into passages
so long things stay findableA long email or document is split into overlapping passages, so a fact buried on page nine is found on its own, and a sentence that crosses a cut is never lost.
email: 256 words, step 206documents: 500 words, step 450apps: 512 words, step 462about 50 words of overlap - c
Turn meaning into numbers
embeddingsEach passage becomes a list of 768 numbers that captures what it means, not just which words it uses. “Short-term compute instance” and “temporary server” land close together. This runs on our own server, so your text is not sent anywhere to be embedded.
model: nomic-embed-text768 numbers per passageruns locally (Ollama)one vector space per field, never mixed - d
Store with its access label
one databaseThe text, its numbers and its access label sit together in one MongoDB record: who owns it, how sensitive it is, which project it belongs to. Search and security read the same record, so they cannot drift apart.
MongoDB, one instancetext index + vector fieldlabels: owner · sensitivity · projectno separate vector database - e
Distil knowledge atoms
short facts with a sourceA small AI model on our own server reads tickets and documents in the background and writes one-line facts: who did what, when, and why. Each atom names the ticket or document it came from and keeps the access rules of that source.
local model: gemma3:4bevery 10 min, 5 items a batch3 attempts, then skipped“I don’t know” is never stored as a fact - f
Link the atoms
a small knowledge graphAtoms that mention the same specific person, system or project are linked, so a question that needs two or three facts can follow the links. Words that appear everywhere are ignored, because a link through “the team” connects everything and means nothing.
links via shared entitieshubs ignored: in more than 5% of atomsup to 3 hopsat most 10 linked atomsHow atoms connect
FIG 1 · ATOM LINKINGexample valuesATOMS rag_refined_knowledgeatom a1- src
- ticket
- access
- project-only
- entities
- oktathe team
atom a2- src
- document
- access
- internal
- entities
- oktasso policythe team
atom a3- src
- chat
- access
- channel members
- entities
- oktaqathe team
ENTITY INDEX who shares whatentity atoms edge okta a1 a2 a3 LINK sso policy a2 none qa a3 none the team > 5% of all HUB · SKIP rule: an entity in more than max(5, 5%) of the atoms the asker can see is a hub; hubs never create edgesQUERY TRACE “okta accounts?”- 01 vector match, top 3 → a1
- 02 hop via okta → a2, a3
- 03 hub the team ignored
- 04 access check per atom vs its source → keep allowed
- 05 fit into the 12,000-char brief → replaces covered records
limits: ≤ 3 hops · ≤ 10 linked atoms · ordered by specificity
When you ask a question
Runs every time, in about 1.4 seconds.
- a
Clean and screen
before any AI runsThe question is cleaned, then checked against fixed rules for misuse. A blocked question costs nothing, because no AI model has been called yet.
input sanitisingrule-based guardrailscode and credential requests refusedcost: zero AI calls - b
Understand the request
one quick AI callA fast model decides what kind of message this is: a company question, a statement to note, small talk, or something outside the company’s data (such as “write me Python code”), which is politely declined without calling the bigger model.
intent classifierout-of-scope declined earlyfalls back to rules if the model is down - c
Check memory
instant repeat answersWhile the search starts, AIME also checks its answer memory. Only the person’s own earlier answers are considered, and a match must name the same tickets or people, so an answer about INC-1 is never reused for INC-2. A near-identical question gets the stored answer instantly; a close one only guides a fresh answer. Answers older than a week are served and refreshed in the background.
0.92+ similar: reused instantly0.88 to 0.92: guides a fresh answerper person, never sharedsame entities requiredolder than 7 days: refreshed in background - d
Know who is asking
access loaded onceThe person’s access is loaded and travels with every search, so each one only looks where that person may look.
subject: person · role · projectssecure by default: no access, no results - e
Search everything at once
hybrid searchAll sources are searched in parallel, each with its own deadline, so one slow source cannot stall the answer. Most sources are searched twice, by exact words and by meaning, and the two rankings are merged so a result both agree on rises to the top.
parallel, with deadlineskeywords + meaning (vectors)merged by Reciprocal Rank Fusion, k = 5ties broken by ID: same evidence every time - f
Check every item again
second gateEvery result is re-checked against the person’s access before the AI sees it, including atoms, which inherit the rules of their source. If the check cannot decide, the item is dropped.
7 sources, 7 rule setsatoms checked against their sourceunsure = dropped - g
Assemble the brief
a fixed budgetThe best evidence is packed into a fixed-size brief, with each source given a fair share. Email gets the largest share because tests showed that is where answers usually live. Atoms replace the records they summarise, so the brief stays the same size as knowledge grows.
12,000 charactersemail share weight 40keyword prefilter on emailatoms fit inside, never on top - h
Answer, or ask back
grounded rulesThe answering model is told to answer only from the brief, say where facts came from, and keep it short. If several things match, it asks which one. If nothing matches, it says so and suggests the detail that would help. If the model is busy or down, a backup model takes over.
answer only from the brief“which one do you mean?”main: gpt-oss-120b (Groq)backup gpt-oss-20b after 12 scool-down for a failing model - i
Trace and score
every answer auditedEach step is timed and recorded. Every answer gets a quality score that loses points for warning signs, and the IDs of everything returned are kept for the audit trail.
score starts at 100answered with no evidence: −35no sources: −20weak match: −15slow: −10a source timed out: −10 - j
Remember
for next timeThe answer is saved to that person’s memory for instant repeats. Answers can also be distilled into private atoms for that person only, which stay out of replies until they pass their own test.
saved per personprivate atoms: owner onlyoff in replies until tested
"I don't know" is where it starts, not where it stops
Most assistants either guess or give up. The first versions of AIME gave up too, with a flat “I don’t know”. Through careful testing it has been refined to reply with a grounded counter-question instead: it says exactly what it could not find, then asks for the detail that would help. Both replies below are real, from our live system.
I don't have any information on what the Orion team delivered in the last sprint.
I don't have any information on what the Orion team delivered in the last sprint. If you can specify the project name, ticket number, or a date range for that sprint, I can look for the relevant details.
I don't have information on whether the automated build completed successfully.
I don't have any information confirming that the automated build completed successfully; no email, chat, or knowledge-base entry reports a final build pass for GAM-142. If you can point to a specific build log, ticket, or status update, I can check that detail.
Measured on 20 vague questions: bare "I don't know" replies fell from 11 to 4, and helpful replies rose from 6 to 14. On 20 trick questions it still made up nothing.
Three promises, each one tested
Secure by default
Access rules apply to every source and every item, not just the first search. When in doubt, the answer is no.
- Email, chat, tickets, knowledge, notes, apps and atoms each have their own rules
- Facts learned from one person's questions stay private to that person
- A leak checker tries every person against every result: 0 leaks found
Honest
AIME answers from what it found, names where it found it, and says so when it found nothing.
- Trick questions about made-up projects: 0 invented answers
- Asks "which one?" when a question could mean several things
- A past "I don't know" is never stored as a fact
Measured, not claimed
Every change is an experiment with its pass mark written down before the test runs. If it misses, it does not ship.
- 20 experiments so far: 7 passed, 13 rejected
- Rejected results stay on the record
- Mistakes in our own tests are written down too
What we tried, and what we threw away
All 20 experiments, in order. Each one had its pass mark fixed before we saw any result. 7 passed and 13 did not, and that is the point.
| # | Idea | What we found | Result |
|---|---|---|---|
| 1 | Search by meaning when keywords find nothing | Far fewer misses, but it also returned something for every trick question | Rejected |
| 2 | The same rescue, tested on reworded questions | Barely helped. The test exposed a bug hiding most email from search; fixed, with 0 leaks | Rejected |
| 3 | Search all time, not just the last 90 days | Finds more without hurting answers | Shipped |
| 4 | Change the email keyword filter | The filter was not the bottleneck | Rejected |
| 5 | A newer embedding model (EmbeddingGemma 2) | Better search, but too slow on our hardware | Rejected |
| 6 | Make the newer model fast enough | No setting reached the speed limit | Rejected |
| 7 | The newer model under a fairer speed rule | Still too slow. We also found our own speed rule was badly set, and wrote that down | Rejected |
| 8 | The newer model through the whole pipeline | Search improved, but answers failed the safety check | Rejected |
| 9 | Shorter, direct answers | Same accuracy, far less padding | Shipped |
| 10 | A "grounding guard" that rejects weak evidence | Fewer made-up answers, but lost too many right ones. Final no for the newer model too | Rejected |
| 11 | Reranking and a bigger email share | Big gains, but our own pass mark was impossible to meet. Recorded, then retested properly in 12 | Rejected |
| 12 | Give email a larger share of the prompt | More right answers, still safe | Shipped |
| 13 | Rewrite each question several ways before searching | Did not find enough extra answers | Rejected |
| 14 | Ask "which one?" (first version) | Helped no question in the test set | Rejected |
| 15 | Link knowledge atoms (first version) | Measured gain was zero | Rejected |
| 16 | Atoms that replace the records they summarise | Prompts grew instead of shrinking | Rejected |
| 17 | Specific links only, at a fixed prompt size | Multi-step questions: 10 of 40 right before, 36 of 40 after | Shipped |
| 18 | Failover lab: cut off a database node | 0 failed requests | Passed |
| 19 | Same question, same evidence, every time | Every test question now gets an identical prompt | Shipped |
| 20 | Helpful replies instead of a bare "I don't know" | Bare replies 11 → 4 on vague questions, still 0 made up | Shipped |
What AIME does not do well yet
We would rather you hear it from us.
Reworded questions
When a question uses different words from the source, AIME gets about half to six in ten right. It does not invent the rest; it says it cannot find them.
Next: better ranking of what reaches the AI.
Test data, not a customer yet
All numbers come from a realistic but synthetic company. Real companies are messier.
Next: a pilot with a real team.
One server
Failover is proven in a lab on one machine. A large company needs several servers sharing state and a dedicated search index.
Next: a vector index and shared state across servers.
Free AI tiers
The answering model runs on free tiers today, which allow only a few questions a minute across the whole site. The speed you see is the design; heavier traffic needs a paid tier.
Next: paid capacity when real users arrive.
The brain is only half of it
AIME runs inside KaryoSpace: mail, chat, tasks and knowledge in one app, one binary and one database. See how the whole body fits together.