Elyra
Elyra The coding agent eTerm The terminal that knows where each command ends Huskarl AI colleagues on your own Mac Starf An activity monitor for Apple silicon that never invents a number etrans An SSH and SFTP client for macOS Elyra VM Virtual machines for macOS, Linux and Windows on your Mac Litr A small, native web browser for macOS Notr A notebook for macOS e The native code editor Elyra Grove Native local development environment Askr The real server for Laravel & PHP Elyra Framework Rust + Svelte 5 framework for desktop apps Elyra Conductor Local project conductor Refr Local-first PDF workspace for macOS Elyra Workspace A desktop workspace for coding agents eDock A container runtime for the Mac Elyra SQL Server MySQL-compatible SQL server in Rust Elyra Félagi Agents as teammates on one board Elyra SQL Client Native desktop SQL workbench Elyra SQL Anywhere Replication-ready SQL engine Elyra Sjá SEO & GEO workspace for macOS Elyra DataGrid Server-driven data grid for Laravel
Elyra

Browser

Each thread has its own web browser in the Browser tab of the tools panel (⇧⌘B). Use it to look at the app you and the agent are building, next to the conversation, without switching windows.

Opening a page

  • Type an address in the address field and press Enter. localhost:3000, myapp.test and other local addresses open over http; other addresses with a dot open over https; anything else searches DuckDuckGo.
  • Before a page is open, the tab lists the development servers running from the thread's folder. Click one to open it.
  • Clicking a server address under Local servers in the Context tab also opens it here.

The toolbar has back, forward, reload (stop while loading) and Open in your browser, which hands the page to your default browser. Links that open a new window open in the same tab. Downloads, mailto: links and other things the browser can't show go to the app that handles them on your Mac.

Copy, paste, cut, select all and undo (⌘C, ⌘V, ⌘X, ⌘A, ⌘Z, ⇧⌘Z) work in the page while it has focus. Click the conversation or press a shortcut to go back to the rest of the app.

The browser uses Safari's engine (WebKit). Pages share cookies and storage across threads, as in one Safari window with several tabs. Closing a thread's tab closes its browser.

Pointing at an element

To show the agent exactly what you mean, press the target button in the toolbar and click the thing on the page: a button that sits too low, a heading in the wrong colour. While picking, the element under the pointer is outlined and the page doesn't react to clicks; Esc or the button again stops.

The element is attached to your message as a picture of it with a little of its surroundings, and its details: a selector that matches only it, its position and size, its text, its computed styles (layout, spacing, colours, fonts) and its HTML. Write what's wrong, this button sits too low, and send.

It works on any page, since it only adds to the message you send. Password field values are left out.

Errors on the page

While a local page is open, Elyra watches it for errors: anything written with console.error, exceptions nothing caught, and requests that fail or return an error status. When new ones appear, a chip above the message box says so: 3 new errors in the browser.

  • Add to message attaches them to your next message, with the page address, so you don't have to copy them from the console.
  • × dismisses them. Either way they aren't offered again.

When Elyra Grove runs the project as an app, the chip also counts server errors: requests Grove recorded with a 5xx status since the thread was opened, from any browser. Add to message attaches Grove's explanation of each (up to three): the request and its body, the SQL it ran and the mail it sent, and the error log with its stack trace. With Félagi connected, File in Félagi opens an issue for the newest instead. The page in the Browser tab doesn't have to be open for these.

When the turn after such a message ends, Elyra sends those requests again (grove replay --same-data, so a request that writes starts from the same data each time) and says in the conversation whether the fix worked: Replayed POST /checkout: was 500, now 200 ✓, or still 500. A turn that fails keeps them for the next one.

Pictures before and after a turn

When the Browser tab shows a local page while you send a message, Elyra keeps a picture of the page from before the turn. When the turn ends it reloads the page, waits a moment for the dev server, and takes another. Both appear under the turn in the conversation, so you see what the change did to the page. Click a picture to open it full size.

This only happens while the Browser tab is on screen, since the page can only be pictured then. The pictures are kept in ~/.elyra/snapshots and deleted with the thread.

Letting the agent look at and use the page

With the agent gateway on, agents get tools to open a page in their thread's browser and look at it: its structure, elements and their styles, the console, network calls and a screenshot. They can also use it like you would: click (by selector or visible text), fill in fields (by selector, label or placeholder; selects and checkboxes too), press keys, and wait for something to appear. You can ask things like:

Open localhost:5173, check why the cart total is wrong, fix it, then add two items, apply the code SUMMER and check the total.

The first time an agent wants to click or type in its thread's browser, Elyra asks: Don't allow, Allow once or Allow for this thread. While it is allowed, a bar above the page says so; Take over there withdraws it. Threads in Full access aren't asked. An agent using another thread's browser is asked about like any change to another thread.

Journeys

A journey is a flow through your app that an agent walked through in the browser and saved: open a page, click, fill in, press keys, wait, and what must be on the page when it works. Ask for one, for example "try the checkout with the code SUMMER and save it as a journey". The agent saves the steps it just took in .elyra/journeys/<name>.json in the project, a small JSON file you can read, edit and commit with the code.

  • Replay: the Context tab lists the project's journeys; ▶ replays one in the thread's browser and Run all every one. Agents replay them too, to confirm a change didn't break a flow. Journey passed or Journey failed (with the step and why) appears in the conversation.
  • Replay after each turn: switch it on in the Context tab, and after every turn that changed files (and after the checks passed) the journeys run. A broken flow goes back to the agent like a failing check, with the same number of automatic fixes. It needs the dev server running and the window open.
  • Addresses are replayed on the site the thread's browser shows, so a journey saved on shop.test also runs on a worktree's own site.

The layout guard

A journey checks that a flow works, not that it still looks right. So after every step, the replay also measures the page's layout, without a model, at a desktop's width (1280 px) however wide the Browser tab is, and whether it is on screen or not (a replay after a turn usually runs out of sight):

  • the page wider than the window (a horizontal scrollbar),
  • buttons, links and fields partly outside the window,
  • buttons, links and fields covering each other, and
  • text cut off in buttons, links, labels, headings and table cells.

The first replay saves how the journey's pages look, in .elyra/journeys/layout/<name>.json (problems already there included), and the card says so. Later replays report only problems the pages didn't have: Journey layout changed, with each one (after "click Checkout", overlapping: button.pay "Pay" (covers button.back "Back")). After a turn, that goes back to the agent like a broken step, to fix in the CSS or markup. When the change is intended, Accept this layout stops reporting those. Commit the layout file with the journey, so everyone compares with the same.

At a phone's width. After each step the page is also measured 390 px wide, as on an iPhone: the page is resized for a moment, lays itself out at that width (its media queries and resize handlers run), and is measured and put back. The steps aren't done twice, so a journey that places an order still places one. A problem found there says so (after "open …" at 390 px wide, the page is too wide: table.orders). The first replay that measures a phone's width saves how it looks there, also for a journey whose layout was saved before. A journey with "phone": false in its file is measured at the desktop width only. A layout file saved before 1.19.2 (measured at whatever width the Browser tab had) is measured again, once, as it is now.

The query guard

A journey can pass while each page runs a hundred times the database queries it used to: an N+1 query, a loop that loads a relation per row, usually doesn't fail a test. In an app Elyra Grove runs, the replay also counts the queries of the requests each step makes (from Grove's request log), without a model:

  • The first replay saves each step's count with the layout.
  • A step whose queries at least doubled, and by at least 20 (5 became 120), fails the journey: Journey queries jumped, with the counts and the query repeated most (select * from customers where id = ? limit ?, 115×). After a turn it goes back to the agent, which is told what an N+1 query is and to load the relation up front.
  • Fewer queries become the new count; a few more aren't news.
  • When the new count is intended, Accept these query counts (or Accept as it is now, with a layout change too) makes it the count to compare with.

Replaying clicks and types on the page, like the agent's own actions: an agent asks first unless the thread is in Full access.

For safety, agents can only open, read and use pages served from this Mac: localhost, 127.0.0.1, [::1], and names ending in .localhost, .test or .local. If the thread's browser shows any other site, the tools refuse it. Agents never read password fields, and can't run their own scripts in the page.

The console and network calls are recorded from when a local page loads. A screenshot needs the Browser tab to be on screen.