Concepts
The words you will see on the website, in the CLI and in these pages, in plain language.
Your application and its documents
Agent
One AI application that Zyonix watches, for example "Acme Invoices". An agent has its own documents, problems, checks, team and API keys. One person can work on several agents with one sign-in. The switcher at the top left of the website changes the agent you are looking at.
Document (run)
One thing your application processed, from start to finish: one invoice read, one form
extracted. Developers call it a run. Zyonix keeps what the AI read, each step it took, the
AI calls it made, the tokens it used, and what it answered. Your application gives each document
an id, the document id (doc_id in the SDK), so you can find it again.
Step
One stage inside a document, such as "read the PDF", "ask the AI", "check the totals", "save to the database". Your developers mark steps in the code. When something goes wrong, Zyonix names the step where it started.
Tool
A function the AI is allowed to call while it works, for example a lookup in your vendor list. Zyonix records each tool call; a tool that fails is reported as "A tool the agent called failed."
Output (record)
What your application produced for a document: the extracted values, such as vendor,
invoice_number, total. Zyonix checks the output against the document and against your rules.
On the website it appears as Extracted values, and in full under Technical details →
Extracted record.
What Zyonix finds
Check
A rule a document must pass. Some are automatic (a step crashed, the AI's answer was cut off, the
AI returned an empty answer). Some come from your output format (a required field is missing, a
date is in the wrong format, a value cannot be found in the document). Some your developers report
from the code (zyonix.check(...)). And some you write yourself on the website (problem types).
Finding
The result of one check that did not pass on one document, for example "The value "invoice number" is missing." A document can have several findings.
Confirmed vs needs review
A confirmed finding (shown as Failed) is one Zyonix is sure about: a fixed rule failed, such as a missing required field or a crashed step. A finding Zyonix is not sure about (shown as Needs review) becomes a question for a person, for example when a value could not be found in the document but might be printed in a different form. Only confirmed findings count on the Problems page; doubtful ones wait under Needs review until someone answers.
Problem (issue)
A kind of mistake, with every document that has it. A problem is one failing check, on one field, with one cause, at one step. Each problem has a number, such as #8. On the Problems page, problems that one fix could probably clear are shown together in a group.
Problem type
A check you describe yourself on the website, in your own words, such as "Invoice number has the letter O instead of zero". From then on, Zyonix checks every new document for it.
Root cause
Why a problem happens, for example "The AI provider failed", "The prompt does not ask for this field" or "The document was empty". Zyonix says how sure it is:
- Cause established: the trace (the record of what happened) shows the cause directly.
- Cause suspected: inferred from the evidence, not proven. Check it before acting.
- Cause unknown: the evidence does not show the cause yet.
Zyonix blames the AI only when the trace shows the right information was in front of it. A cause is never called verified until a fix for it has passed its tests.
Output format (reliability spec)
A YAML file (a simple text format) that describes what your application should return: each field, its type, whether it is required, how to find it in the document, and business rules such as "subtotal plus tax equals total". Developers call it the reliability spec. Without one, Zyonix checks how documents run (crashes, empty answers, AI errors) but not the values the AI returned. You can draft one from your own documents on the Checks page.
Living with Zyonix
Shadow mode
A calibration period, usually the first weeks. Every document is still checked and every problem recorded and shown, but no alert is sent to your channels (webhooks, Slack), and every page shows a banner. Your answers under Needs review during this time measure how accurate Zyonix is on your documents. An administrator turns it on and off on the Checks page.
Fix
A proposed change that should clear a problem: a new prompt, a configuration change, a rule change, or a note for a code change. A fix is proposed on the problem's page and then goes through testing, approval and release.
Replay / test
Running a fix against the documents that failed, on a developer's own machine, with
zyonix replay --fix <number> (see the CLI). The results go to Zyonix, which
judges them on three sets: the documents that had the problem, earlier problems' documents (so
nothing that was fixed breaks again), and known-good documents. Only a fix that passes can be
approved. zyonix test runs the saved test cases without a fix.
Deploy
Shipping an approved fix. After you release it, someone records it with Mark deployed on the problem's page (or from the CLI), optionally with the release name or git commit. That starts monitoring.
Monitoring / resolved
After a fix is shipped, Zyonix watches new documents. When enough documents have been checked over enough days with no return of the problem, the problem is marked Fixed (resolved). If it comes back, it is reopened and shown as Came back.
People and access
Roles
On each agent a person has one role. A role belongs to one agent only.
| Role | Can do |
|---|---|
| Viewer | Read everything on the agent: Home, Problems, Documents, Needs review, Checks, Monitoring, Tokens. |
| Member | Everything a viewer can, plus report a problem on a document, record a deployed fix, and run tests and replays from the terminal. |
| Admin | Everything a member can, plus every decision: answer Needs review questions, propose, approve and reject fixes, reopen problems, add problem types and change how checks count, upload the output format, switch shadow mode, manage the team and the API keys, add agents. |
API key
A long secret that a program (not a person) uses to talk to Zyonix, such as
zx_sdk_xxxxxxxx. A key belongs to one agent, not to a person. There are four kinds:
| Kind | Used by | Can |
|---|---|---|
| sdk | Your application | Send its documents to Zyonix. Nothing else. |
| cli | A developer's terminal or your CI | Read, run tests and replays with the zyonix CLI. Decisions need an admin. |
| agent | A coding agent (an AI assistant in your editor) | Read the evidence behind a problem and leave draft fixes for a person to look at. |
| admin | Kept by whoever runs your Zyonix server | Everything, including decisions. Administrators cannot create these on the website. |
People sign in to the CLI with their own email and password (zyonix auth login), so most people
never need a cli key.
Capture: hash_only vs full
What the SDK sends from your application. The choice is made in your application's settings, not on the website.
- hash_only (the default): document text, prompts, AI answers and extracted values are replaced by fingerprints (hashes) before they leave your application. Zyonix sees timings, step names, token counts and errors, but not the content, so it cannot check the values and replays do not run.
- full: the content is sent, with private numbers masked (redacted) inside your application first. This is what lets Zyonix check values, show What the AI read, and judge fixes. Choose it once you have agreed with Zyonix what may be sent and kept.
Retention (how long documents are kept)
Zyonix keeps documents for 14 days. The text the AI read is kept for a shorter time on clean documents (3 days) and for the full 14 days on documents that failed or wait for review. After that a document still shows its measurements and findings, without its text. After 14 days a document is deleted: it leaves every list and lives on only in the totals (Month by month on Home, and the counts of its problem). Zyonix never keeps the original file, and images sent to the AI are counted, not kept.