A browser agent has to do more than turn a sentence into a click. It needs to understand the current page, choose an action, observe what changed, and decide whether the task is actually finished.
Startrails Agent explores that loop as a Chrome Manifest V3 extension. A user describes a task in a side panel, and an LLM can work through browser tools to navigate, inspect pages, and interact with them. The project is part of a 2025–2026 research effort documented in the repository.
One extension, three execution contexts
The application is divided into a React side panel, a background service worker, and content scripts.
The side panel holds the conversation, task list, model selection, and settings. The background layer owns the agent loop and tool registry. Content scripts handle the page-facing work, including element detection, highlighting, and iframe communication.
Those boundaries follow the browser’s execution model. The UI cannot simply assume it shares a process or direct access with every page operation. Typed messages connect the contexts, making the communication itself part of the architecture rather than an implementation detail hidden behind the chat interface.
The stack includes TypeScript, React 19, Chakra UI, Zustand, Zod, and Vite with the Chrome-extension build plugin. Zod supports the structured inputs that need to cross both application and model-tool boundaries.
Giving the agent more than a screenshot
A page can be understood in several ways. DOM inspection provides structure; the accessibility tree exposes roles and names; a screenshot shows the rendered result. None is a complete substitute for the others.
Startrails combines these approaches through tools for reading pages, finding elements, taking snapshots, and visual interaction. Navigation and input tools handle the actions that follow: opening a page, entering text, selecting an option, or dragging an element.
The resulting loop follows a ReAct-style pattern. The model receives the task and conversation context, requests a tool, sees its result, and continues until it can respond. An action is one step in that loop, not evidence that the whole task succeeded.
Tools as a maintainable boundary
Tool modules are discovered with import.meta.glob. That keeps the registry from becoming a long manual list each time another browser operation is added.
Each tool still needs a clear purpose, validated arguments, and a useful result. Automatic discovery helps organize the code; it does not make arbitrary browser actions safe or reliable. The quality of the observation returned after a tool call matters as much as the action it performs.
The planning tool and task-list UI add another visible layer: a user can inspect a proposed plan before execution. That is a useful interaction boundary, particularly when a request could affect an authenticated website.
Running in the browser does not mean keeping every byte local
The extension does not require its own application backend, but it does connect to configured model providers. Requests to an external LLM can include the conversation and page information needed for the task.
That distinction matters more than the phrase “client-side.” Browser content, screenshots, and authenticated sessions can contain sensitive information. Users need to understand the extension’s permissions, the provider they select, and the information a task may send to that provider.
The project includes safety instructions and plan-approval mechanisms, but these should not be described as proof against prompt injection or unintended actions. A web page is untrusted input, and a model can misunderstand it. Human review remains important for consequential tasks.
The research question behind the interface
Startrails brings together perception, tool use, and a user-facing workflow in the same extension. Its most interesting question is how to make that loop inspectable: what can the agent see, what does it intend to do, and what observation supports its next step?
It is a browser-automation research project, not a guarantee that any website can be operated unattended. That leaves room to discuss the actual system—the communication boundaries, tool definitions, and observations—without hiding those limits behind a chat box.
Read the Startrails Agent repository. The README explains the architecture and development setup, and the repository includes a research report.
