Browsing for you
Ask in the chat for something done on a website. Niles reads the pages itself, and every step that changes something waits for your Allow.
Niles has a browser of its own. Ask in the chat for something done on a website, such as "put a 2 m USB-C cable in my basket on shop.example", and Niles opens the site, reads its pages and works out the steps. Opening and reading a page needs nothing from you. Each step that changes something waits on a card until you allow it.
To read a public page, Niles doesn't need its browser. The browser is for pages that need clicks, a form or a login.
What to ask
Ask in the app's chat. Browsing happens there and nowhere else:
- Asked by voice, Niles tells you to ask in the app, where the cards are.
- Automations and other background jobs can't browse.
- Each person has a browsing session of their own. Two of your conversations share yours, and its page.
Name the site and say what you want done there, such as "book the 18:00 delivery slot on shop.example". Niles tells you when it needs a login first.
The cards
Every click, every bit of typing and every form Niles submits waits on a card under its reply. Two kinds of step don't, and a schedule can be allowed a third (see A schedule that books on its own):
- Picking an option, such as a size or a colour from a row of them, a radio button, or a choice from a drop-down list. It changes nothing until something is added or sent, which waits on a card. On a checkout page, a choice waits on a card too.
- Closing a popup. Niles closes a cookie banner by declining all but the necessary cookies, or with its close button when there's no decline. It accepts only when the banner offers nothing else. It closes a newsletter or offer popup without signing up and never types into one. Niles tells you what it closed.
Otherwise the step waits on its card. The card asks the step, such as Click "Add to basket"?, with the site under the question. It shows a picture of the page with what Niles would act on outlined, the page's address, the element, the text or the option when there is one, and the model's reason for the step.
- Allow once does that one step, exactly as the card shows it. Niles then carries on by itself and reads the page again.
- Deny does nothing, and Niles stops there.
These cards have no Allow for this conversation, and nothing answers them by voice. A notification about one offers Review, which opens the card, instead of Approve. Only you see your cards.
Niles checks the page again when you press Allow once. If the page changed after the card was made, the step lapses and nothing is done. When what the card was for is still on the page, a new card shows it as the page is now. Otherwise Niles stops, and you ask again. A card also lapses when nobody answers it within an hour, and when Niles or its browser restarts.
A schedule that books on its own
Some things have to happen while you sleep: a class that opens for booking at midnight and is full by morning. A schedule can be allowed, when it is made, to act on one of your saved logins' sites without asking. Its runs then sign in with that login, click, pick options and submit forms there with no card.
Everything else still waits on its card, in the schedule's conversation:
- typing anything,
- a step on any other site,
- a session already signed in with another login,
- placing an order or paying, and a page that asks for card details.
Each step a schedule takes this way goes into Approvals' history as Allowed by its schedule, with the schedule's name on it. The permission is the schedule's alone: the same steps asked in the chat, or by another schedule, wait on their cards.
Try it in the chat first. Ask Niles to book this week's class, allow its cards, and when it worked, ask it to do the same every week at the time booking opens, on that login. The schedule's card names the login and what it may do there; nothing is kept until you press Allow once.
A purchase takes several cards: adding to the basket, going to the checkout, signing in, perhaps a code, a delivery time and the order itself. Niles follows links by opening their addresses, which needs no card.
Watching and taking over
While Niles works in its browser, the reply you're waiting for shows the page live, small, with the site under it. Tap it to open the Browser tab of the Niles panel: on a computer it sits beside the chat, and on a phone it fills the screen. While the tab shows the page beside the chat, the small view steps aside and offers Close, so the page isn't shown twice. Enlarge makes it as large as the window, and Smaller or Escape puts it back. While the browser stays open afterwards, a strip above the message field leads back to it. Watching changes nothing.
Press Take over to use the page yourself, with the mouse and keyboard or your finger. On a phone, a tap clicks and a drag scrolls, and Type into the page sends text through your phone's keyboard, with buttons for Enter, Backspace and Tab. Back and Reload are there too, but there's no address bar. While you have the browser, Niles doesn't touch it, and a step waiting on its card lapses.
When you're done, press Give back to Niles. Niles reads the page as it is now and carries on in the conversation that's open. Stop gives the browser back without Niles carrying on. If you leave the browser alone for 15 minutes, it goes back to Niles by itself, and Niles waits for you to ask again.
Niles sees nothing of the live view or what you do in it, only the page it reads once the browser is back. A page that asks for card details still stops Niles, even after you give it back.
Only you see your browser, and only in the written chat.
Placing an order
The step that places an order or pays gets a card of its own, Place this order on shop.example?, with the order's Total and Delivery address beside the picture. Niles reads both from the page, never from the model. When it can't find one, the card says "Niles couldn't find it on the page", and the picture shows what the page says.
Niles knows an order step by the button's label, such as Place order, Pay now or Buy now, and by the checkout around it. On a checkout page most buttons get the order card, so you may see it before the last step too. If the total or the address changes before you press Allow once, the step lapses and a new card shows the new ones.
Paying
Niles pays only with what your account on the site has saved, such as a saved card. It never asks for card details, keeps them or types them.
A page that asks for card details stops the run, and Niles tells you the site wants them. Save a card on your account on the site yourself, or finish that order on the site. Niles also refuses to type anything that reads as a card number.
If your bank wants to approve the payment (3-D Secure), approve it in the bank's app, then tell Niles to carry on. A bank that wants a code typed on the page can't be answered through Niles. Finish that order on the site.
Vault
When a site needs you signed in and Niles has no login for it, the chat shows "Shop wants a login", Shop being the name Niles gave the site, with Add login. The form opens with the site filled in. The username and password you type there go straight to Niles, never into the chat or to the model.
You can also add a login before you need it, under My profile → Vault. Add asks for a label, the site's address, the username and the password, and, if you like, an authenticator key. A site that signs in or checks out on another address needs that address too.
Vault lists your logins with each site's icon, and Search finds one by its name, username or site. On a computer the login you pick opens beside the list; on a phone it opens over it.
- Username has a button that copies it.
- Password and Authenticator show as saved, never themselves.
- Edit changes the login. Leave the password or the key empty to keep it.
- Sign out forgets what the site stored in Niles's browser for that login, and keeps the login.
- Below that is what Niles used the login for in the last 90 days, by day: each sign-in and whether it worked, each code it entered, and when you added, changed or signed out of it. Each one has the site, the time and the conversation it came from, which opens it. Never what was typed.
- Delete login deletes the login, what the site stored, and its activity.
Niles fetches each site's icon itself, once a day at most.
Only you see your Vault. Nobody can read a password or a key back, and each is encrypted for your login alone, so it can't be opened as anyone else's. Saved logins need Niles's database and its secrets key.
Authenticator keys
When you turn on sign-in with an authenticator app, a site shows a QR code and, beside it, a setup key. In the login's form, either:
- press Scan QR code and point your phone's camera at the code, for example on your computer's screen;
- press From an image, or paste a screenshot of the code into the form; or
- paste the setup key, or a link starting
otpauth://, into Authenticator key.
The QR code is read on your device: only the key goes to Niles, never the picture or the camera's view. To get a QR code for an account that already uses an authenticator app, add another authenticator in the site's security settings. When the site asks for the app's code, Niles makes the code and types it itself, with no card. If the page still asks after that, because the site sent a code by text or mail as well, you get the usual code card. A login's key is used only for that login, in a sign-in you allowed. Your phone's app keeps working as before.
Signing in
Niles signs in on a card, Sign in to Shop?, which shows the site and the login's label, never the username. When you allow it, Niles fills in the form itself, only on that login's own sites, and the model learns only whether it worked. A signed-in session stays on the login's sites. To open another site, Niles starts a new session that isn't signed in.
After a sign-in, Niles keeps what the site stored in its browser, its cookies and storage, encrypted, so the next visit doesn't ask for a code each time. The Signed in badge in Vault shows Niles has them. They go 30 days after the login was last used, and when you press Sign out or Remove.
Codes and CAPTCHAs
When a site sends you a code by text message, mail or an authenticator app that Niles has no key for, the chat shows "Shop sent you a code" with a field. Type the code there. It goes to the page and nowhere else, not to the chat and not to the model. A wrong code gets a new card. A code card lapses after 15 minutes.
When a page wants you to show you aren't a robot (a CAPTCHA), Niles hands you the browser. A card in the chat says why, and Open the browser opens it live. Solve the CAPTCHA, then press Give back to Niles, and Niles carries on. Niles never solves a CAPTCHA itself.
Niles can also hand you the browser for a step only a person can do, such as signing in with a passkey, scanning a QR code or approving on another device. The card says what to do.
Sites that say no
Niles doesn't hide that its browser is automated, so a site that refuses automated browsers refuses Niles too. Nothing in Niles changes that. When a site answers Niles's browser with a refusal, Niles tells you the site doesn't let automated browsers in and suggests another way. Taking over doesn't help there, since you'd be using the same browser. Zalando is one such site.
A site may also ask your account to verify itself when Niles signs in for the first time, by mail or with a code, as it would for any new browser. What Niles keeps after a sign-in makes that rarer.
A signed-in session stays on its login's sites. If a shop sends you to another site to pay, add that site's address to the shop's login.
Setting it up
Browsing needs Niles's browser, a headless Chromium in a container of its own, and Niles's database, which keeps the cards with their conversation. On Kubernetes the browser's container sits in Niles's pod; with Docker Compose it runs beside Niles.
- On Kubernetes, add
components: [../../components/browser]to your overlay'skustomization.yaml. See Kubernetes. - With Docker Compose, start it with
docker compose -f compose.yaml -f browser.yaml up -d. See Docker Compose.
Niles looks for the browser by its name, niles-browser, and turns
browsing on by itself within a minute of the browser starting. There is
nothing to set in niles.toml. Until it finds one, Niles says browsing
isn't set up.
The browser reaches the internet only through Niles, which lets it open
public https sites and nothing on your home network or in your cluster.
Nothing else can drive the browser or use that way out: on Kubernetes both
listen only inside Niles's pod, and with Docker Compose only on a network
Niles and the browser share alone.
What Niles keeps
- Your logins, encrypted in Niles's database.
- What a site stored in Niles's browser after a sign-in, encrypted, until 30 days after the login was last used.
- A card's picture of the page, in memory, until the card is answered or lapses.
The browser keeps nothing between sessions, and Niles restarts it once a day when no session is open.