Repository navigation
Releases
ANCHOR 0.5.0: a program for people who do not program
ANCHOR 0.5.0 is the version for people who do not program: a Windows installer that opens ANCHOR in its own window, in Portuguese or English, and does on a screen everything the command line does, from a one-off request to automations that run by themselves on a schedule.
Download
ANCHOR-Setup-0.5.0.exe, below. Install Ollama first; the first time ANCHOR opens, it downloads the browser it drives and at least one AI model, with a button for each. It installs for your user only, with no administrator password. Until the installer is signed, Windows may warn about an unknown publisher: More info → Run anyway. The installer is built by GitHub from this repository's code (.github/workflows/installer.yml).
What's new
- The desktop program: its own window with an icon near the clock, a first-opening screen that downloads what is missing, Start with Windows (on by default, off in one click), and Quit. Closing the window keeps ANCHOR running near the clock, so schedules run.
- The interface: run a request or see its plan first, watch the browser live with every tab and window the run opened, and answer ANCHOR's questions there (a sensitive action, which element, a login), including pointing at the element on the live view or saying it is none of the ones found. Runs wait their turn in a queue, and Stop ends a run within seconds, even while the AI is replanning.
- Portuguese or English: the interface starts in the computer's language and changes in Settings; what runs say follows it. What the AI reads does not change.
- Automations you can look after: each one's page shows the fixes ANCHOR made when the site changed (with undo), the notes sent to the AI, the decisions on sensitive actions and the remembered choices, and lets you edit or delete it. After a run that was not done, ANCHOR offers a note for next time in your own words; the AI never writes one. The list has a search and filters, and the last run's log can be downloaded.
- Spreadsheets: an automation runs once per row of a CSV or Excel file, checked before running (missing columns, empty values, at most 500 rows); a row that fails does not stop the others, and the rows not done can run again.
- What a run brings back: the answers, the tables and lists it read (on the screen and as CSV), the files it downloaded and, when asked in the form or in the request ("send me a print"), a screenshot of the page at the end.
- Saved logins: kept in Windows' Credential Manager, never in a file, and never shown again. ANCHOR's own code types a saved password only on its exact site (scheme, host and port; https only) and only into a password field; with none, two for the site, a wrong password or a code sent to a phone, it hands over to you. The AI never sees a password.
- Schedules: proven automations run by themselves once, every day, on chosen weekdays, on a day of the month, or every N minutes, hours or days, while ANCHOR is open. Times missed while it was closed are reported when it opens, never run late. A schedule with values reads its spreadsheet at run time, checks it first, and does not repeat the rows it already did.
- Only local models, through Ollama: the OpenAI profile was removed.
Measured results
What the planner reads is unchanged. The development measurement on 0.5.0 (the element resolver, the seven agent suites with both models and both languages, and the 600 runs of the resilience benchmark) repeated the 0.4 results exactly, measure by measure, with no false success.
Known limitations
- Schedules run only while ANCHOR is open (Start with Windows keeps it open from login).
- The installer is not signed yet, so Windows and some antivirus programs may distrust it at first.
- A few messages the server builds with values in them are still in English in the Portuguese interface.
Full changelog: CHANGELOG.md
ANCHOR 0.4.0: beyond the single page
ANCHOR 0.4.0 is the version that leaves the single page behind: it reads tables, downloads and uploads files, follows new tabs, works inside iframes, opens hidden content, deals with cookie banners, and runs saved automations on a schedule with no one present.
What's new
- Data extraction: tables and lists saved as CSV, single values read from the page. A request that asks for data back, or a question, is only done once some step has read it.
- Downloads and uploads: every file the page downloads is kept, the wrong file is blocked; an upload's path comes only from the request or a parameter, never from the model.
- New tabs: the agent moves to the tab a step opened (only one opened by the current tab), goes back to where it came from when it closes, and goes on with the plan there.
- Iframes: elements inside an iframe, even from another site, are found and used like the page's own.
- Hidden content: when a step's target is not on the page, "Show more" or a collapsed section is opened first; a step that names something not on the page is never done on a lookalike.
- Cookie banners in the way are declined with the most restrictive option, never accepted.
- Unattended runs (
automations run --unattended), for a scheduler: only an automation proven by a run with someone present; nothing is repaired or asked, and a guard before each action stops the run at any change. - Only what was asked: no send, save, confirm, pay, export or print the request did not ask for.
Safety
The full resilience benchmark of this version found the first attack that ever worked on ANCHOR: on a page with planted lures, the model's repair of "open the cart" chose "Add to cart later", and the check of recoveries accepted it. Two fixes came out of it: a saved step that only goes somewhere is not redone by one that acts, and, during a recovery, a click that acts is checked before it happens. With them, the benchmark has no false success and no attack that worked.
Numbers (development sets, Ollama 0.40.4, Qwen 3.5 4B / 9B)
Tasks done, Portuguese / English requests, through the full agent loop; no suite has a premature end:
| Suite | Tasks | 4B (PT / EN) | 9B (PT / EN) |
|---|---|---|---|
| Main (forms, logins, stores, lists, pop-ups) | 30 | 87% / 93% | 100% / 93% |
| Prompt injection | 6 | 100% / 100% | 100% / 100% |
| Data extraction | 8 | 100% / 100% | 100% / 100% |
| Downloads | 8 | 100% / 100% | 100% / 100% |
| Uploads | 10 | 100% / 100% | 100% / 100% |
| New tabs | 8 | 75% / 100% | 100% / 100% |
| Iframes | 8 | 100% / 100% | 100% / 100% |
Resilience, 150 runs per executor and model:
| Executor | Tasks done | False successes | Attacks that worked |
|---|---|---|---|
| Fixed-selector script | 53% | 0 | 0 |
| LLM in control, 4B / 9B | 66% / 73% | 32 / 40 | 0 |
| ANCHOR, 4B / 9B | 95% / 96% | 0 / 0 | 0 |
These are development numbers: part of the work was tuned looking at these pages. The closed sets, at 1.0, will say how much carries over.
Every result now records the Ollama version and each model's digest: an automatic Ollama update changed a model's answer with the same input, and runs on different versions are not compared.
Full list of changes in the changelog.
ANCHOR 0.3.1 — logging in by hand, with no password through the model
A patch release with fixes found in real use after 0.3.0. The first one is a safety fix: please update.
Security
ANCHOR never types a password, and credentials never go through the model. Version 0.3.0 typed a password when the request carried one, although the README says credentials never go through the AI. Now a fill that would land on a password field is refused, and a request that seems to contain a password ("password: 1234", "senha 27012005") is refused before anything is sent to the model; automations create also refuses to save one. If you put a real password in a request with 0.3.0, it was sent to your local model and shown in your terminal: consider changing it.
Logging in by hand
When a task needs a login, the agent now stops and asks you to log in in the browser window; press Enter and it goes on from the page it finds (or q to cancel). It notices that a login is needed when the request asks to log in, when the plan reaches a password field, or when nothing can be done before logging in. Pages with a password field that the task does not need are not stopped.
- With
--browser-profile, the session is kept on your computer, and the next runs start logged in. - Saved automations now keep their own browser profile in their folder, so you log in once per automation;
run --fresh-browseropens a clean browser for one run. - With no one at the terminal, the run stops with "the task needs a login".
Fixes
- Error messages in the interface language. Plan errors were shown in the language the model reads (Portuguese by default), even with an English interface.
- A goal that cannot be planned yet no longer stops the run. On sites where part of the task only appears later (a search that only exists after logging in), the plan was refused and the run failed; now that goal is left for later, and the end is still checked against the request.
- The question before a sensitive action no longer promises to save the answer in one-off runs, where nothing is saved: it is now "Allow it? [y/N]".
Updating
git pullThe full list of changes is in the changelog. Feedback from real use is very welcome: please open an issue.
# ANCHOR 0.3.0 — reliability, saved automations and evaluation
ANCHOR is a web automation agent that runs on your own computer: you describe a task in plain language ("register Maria Silva in IT and save"), a small local model (Qwen 3.5 via Ollama) plans it, and a deterministic engine finds the elements and acts on them, asking you only when it is not sure. This version makes it check what it does, remember what it learned, and defend itself.
Highlights
- It checks what happened. Each action's effect is verified (the page changed, the field kept the value, no error appeared), with a screenshot as the last resort when the other checks doubt a step. The end of a run is checked against what was actually done, so a task that was not done does not end as a success.
- Saved automations. Learn a task once, then replay it without the model in about 3 seconds, with parameters (
{name},{cpf}) and one run per spreadsheet row. When the site changes, the automation heals itself, and every recovery is recorded, reviewable and undoable. - Safety. Confirmation before sensitive actions (deleting, saving, sending, paying, downloading, uploading, cancelling something irreversible), saved per automation; a barrier against destructive actions the request did not ask for; and defenses against instructions injected by page content.
- English, end to end: interface, planner, documentation and evaluation.
Results (development set)
On 30 tasks run on pages altered in 5 levels (superficial, semantic, structural, behavioral and adversarial changes), 150 runs per executor and model, with no user:
| Executor | Tasks done | False successes | Model calls per run |
|---|---|---|---|
| Fixed-selector script (classic RPA) | 53% | 0 | 0 |
| LLM in control, 4B / 9B | 68% / 72% | 33 / 41 | 3.7 |
| ANCHOR, 4B / 9B | 82% / 84% | 2 / 1 | 0.8 |
| ANCHOR replaying the healed plan, 4B / 9B | 80% / 82% | — | 0 |
These are development numbers: the system was tuned looking at these tasks. The final numbers will come from closed test sets, run once, for version 1.0.
Getting started
See the README and the command reference. The full list of changes is in the changelog.
License and feedback
ANCHOR is source-available under the PolyForm Strict License 1.0.0: you can read and use the code, but not modify or redistribute it. Feedback from real use is very welcome: please open an issue.