NAB Simulator lets you try an AI banking assistant and see everything that happens behind the scenes. You chat on the iPhone and watch each message travel through the bank and the AI. The key principle: the AI never sees the customer's bank data.
- Sign inOn the iPhone, with your platform username and password.
- Add your Gemini API keySettings opens by itself the first time. Click Get API key ↗ to create one for free, paste it, then press Save Settings.
- ChatType a request such as
What's my balance?
or Send 200 to Ali tomorrow
.
- Watch & adjustFollow the message in the three panels on the right, and change the assistant's behaviour with the buttons at the top.
The big picture: 4 layers
The coloured pills at the top of the screen (Mobile → NAB Backend → AI Backend → LLM) are the path of every message. Each layer has its own panel on screen.
MobileThe customer's banking app (the iPhone). This is where you type and where results are shown.
NAB BackendThe bank. It holds the account, checks every rule, asks for the SMS code and executes operations.
AI BackendPrepares the instructions for the AI, applies the security filters and reads the AI's decision.
LLMThe language model (Google Gemini). It understands the request and decides: reply, or ask the bank to run an operation.
Privacy by design
The AI only receives the customer's words. It never receives balances, transactions, beneficiaries, cards or results. Personal data such as an IBAN, card, phone or email is replaced by tokens ([IBAN_1], [PHONE_1]…) before reaching the AI. The bank puts the real values back. Results are shown to the customer in secure blocks that go from the bank to the app only.
Settings: set up once
Open it with the gear icon at the top of the iPhone. Everything is saved to your account and follows you on every device.
Gemini API KeyRequired. It lets the simulator talk to Gemini. Get API key ↗ opens Google AI Studio. If you leave the field empty and save, the current key is kept.
Default ModelAdmins only. Chooses which Gemini model answers (Gemini 3.1 Flash Lite by default).
Translate to LibyanWhat you type is rewritten into Libyan Arabic before being sent, the phone switches to Arabic (right to left), and the assistant always answers in Libyan Arabic.
Demo modeShows every available operation as one-click buttons: in the first message, and in a grid button next to the input.
Saving settings starts a fresh conversation.
Using the chatbot on the iPhone
Write naturally, in any language, even with typos. Without the Libyan option, the assistant answers in the language of your last message.
What you can ask
Check my balanceHow much do I have?
Account statementMy statement for last month
PDF statementSend me a PDF of September
TransferSMS codeSend 150 to Sarah today
Phone top-upSMS codeTop up 20 on Libyana
Block a cardSMS codeBlock my card ending 4821
Talk to an advisorI need to speak to someone
What happens when you send a message
- The app sends your text to the bank.
- The bank forwards only your words to the AI Backend, which checks them with the guardrails.
- The LLM either replies, or asks for an operation (for example transfer 150 to Sarah). If something is missing, it asks you.
- The bank checks everything (balance, daily limit, beneficiary, card…) and shows the result in a secure block.
Secure blocks
Cards with a lock footer “Bank ↔ App only”: balances, statements, receipts, choices and forms. Their buttons act directly at the bank.
- Choices: pick a beneficiary, or tap None of them / Show all.
- Confirm / Cancel: tap the button, or simply type
yes
or cancel
.
- Forms: for example, the top-up form (operator, type, amount, number) comes already filled with what you said.
- Older blocks lock automatically, so an action can never run twice.
SMS code (OTP)
Operations that move money or change something ask for a 6-digit code. In the simulator, the SMS appears as a small notification on the iPhone: tap it to copy the code. You can type it in the boxes or in the chat. After 3 wrong codes the operation is cancelled. Resend code is available up to 3 times.
Several requests in one message
Example: Check my balance and then send 100 to Ali
. With Multi-requests on, a progress bar appears above the chat (step 1/2). After each step you choose Continue or Skip, and cancel all
stops the plan. You can put up to 5 requests in one message, and a plan expires after 10 minutes without activity.
Buttons at the top of the iPhone
TokensHow many Gemini tokens you have used in total.
LogoutSigns you out and clears the screen.
SettingsThe gear icon (see above).
ResetNew conversation. It also puts the account back to its starting data (see Seeder).
Send / StopWhile a message is being processed, the send button becomes Stop: nothing is executed at the bank.
If Gemini is temporarily unavailable, the app retries by itself, then shows a Retry button that replays exactly the same step.
Reading the three panels
Every message you send becomes one numbered group in each panel. Click a group to open it. Each step shows what came in and what went out, with a Copy button.
NAB BackendWhat the app sent, what the bank forwards to the AI (words only, no bank data), the checks it ran, and the answer sent back to the phone. The 🔒 bank↔app badge marks secure blocks. The SMS code also appears here.
AI BackendHow the instructions were built, which guardrail blocked something (if any), and the AI's decision: 💬 reply or ⚡ operation(parameters).
LLMThe exact request sent to Gemini and its raw answer, with status, model and response time.
Any personal data found in a message is highlighted in red with a PII badge, so you can check that nothing sensitive reaches the AI.
Configuration pages
The six buttons at the top right open the configuration page. Each one controls a part of the assistant. What you change is saved to your account only and applies immediately.
The main instructions given to the AI: its role, scope, security, tone, language and the answer format it must follow.
- Left: the prompt split into readable sections. Right: the text you edit.
- Placeholders are filled automatically:
{{tools}} (required), {{guidelines}}, {{replyLanguage}}, {{today}}, {{currency}}.
The bank's business rules, written in plain words, for example “transfers only in LYD” or “indicative limit 5,000 per day”.
- Rules are grouped by category (scope, business, editorial).
- Each rule has an on/off switch. Only active rules are given to the AI.
The list of operations the assistant can ask the bank to run, and what each one needs.
- 🤖 AI tools (balance, transfer, top-up…) are shown to the AI. 🔒 Internal tools (OTP, confirmations, beneficiary picker…) stay inside the bank.
- Each tool shows its type (Informational or Transactional · OTP), its required fields and a switch to turn it off.
- A tool that moves money must require the SMS code.
Security filters on what goes to the AI and what comes back.
- Input: hides personal data, blocks secrets (PIN, password…), manipulation attempts, messages that are too long and too many messages in a row.
- Output: blocks answers that invent figures or pretend an operation was done.
- Core rules are locked: the bank always validates, never shares data with the AI, and always asks for the SMS code.
The look of every secure block: title, icon, colour and layout (key/value, list, choices, file).
- Left: all blocks with a live preview. Middle: Anatomy, with three tabs.
- Functional: what each zone of a block is for.
- Technical: how each zone is filled.
- Translation: which languages are translated, and a button to update them.
- Languages the assistant meets for the first time are translated automatically.
- Print sheet ↗ opens every block on one page, to print or save as PDF, in any active language.
The fake customer account used by the simulator.
- Edit the account (name, balance, daily limit), beneficiaries, phone operators, cards and transactions. Monthly statements are computed for you.
- Generate 3 months creates realistic transactions (salary, rent, bills, shopping…). Press Save to keep them.
- Saving puts the account back to this data and starts a new conversation.
Same controls on every page
Save becomes available once your change is valid (Ctrl/Cmd + S works too). Format tidies the text. Reset to default brings back the original version. Closing with unsaved changes asks you first. The Multi-requests switch at the top of the page turns on or off the handling of several requests in one message.
Good to know
Is my configuration shared with other users?
No. Prompt, guidelines, tools, guardrails, components, account data and settings are saved per user and follow you on every device.
I broke something. How do I undo it?
Open the page concerned and press Reset to default. To start the conversation and the account again, press Reset on the iPhone.
Why is the answer in another language?
The assistant answers in the language of your last message. If Translate to Libyan is on, it always answers in Libyan Arabic.
Where is the SMS code?
In the notification that pops up on the iPhone (tap to copy), and in the NAB Backend panel.
The assistant says it is unavailable.
Google is busy or your quota is reached. Wait a moment and press Retry, or check your API key in Settings.
Are real operations executed?
No. Everything is simulated on a fake account. Operations are kept until you press Reset.