Skip to content

Commit 1662d9e

Browse files
authored
Revise README for better overview and organization
Updated the README to improve clarity and structure.
1 parent 58b92ee commit 1662d9e

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,17 @@
1616
<img src="https://img.shields.io/github/license/lightfeed/browser-agent" alt="License" /></a>
1717
</div>
1818

19-
## Why
20-
21-
`@lightfeed/browser-agent` is a TypeScript library for building browser agents whose main value prop is **cutting LLM tokens on every rerun**.
19+
## Overview
20+
`@lightfeed/browser-agent` is a TypeScript browser agent library built for cutting LLM token use on every rerun.
2221

2322
Most browser-agent work has two parts:
2423

2524
- **Navigation** — many clicks / types / scrolls to reach a target page. Most of the steps, most of the tokens, usually the same every run if the page structure is stable. Today's agents pay for these tokens *every single time*.
2625
- **Extraction** — pull typed data out of whatever is on screen. Must re-run AI each time because the content is live.
2726

28-
This library lets you run navigation once with AI, save it as a plan, and **replay it with zero LLM calls** — no screenshots, no DOM map, no tokens. Then run a cheap `.extract()` on the result page for the dynamic tail. If the DOM drifts, optional `aiFallback` re-plans **only the broken step**, so you still pay tokens for a fraction of the flow instead of all of it.
27+
**This library lets you run navigation once with AI, save it as a plan, and replay it with zero LLM calls** — no screenshots, no DOM map, no tokens. Then run a cheap `.extract()` on the result page for the dynamic tail. If the DOM drifts, optional `aiFallback` re-plans **only the broken step**, so you still pay tokens for a fraction of the flow instead of all of it.
2928

30-
Runs anywhere your browser lives — the same `BrowserAgent` API drives a **local** Chromium for dev, a **serverless** Chromium (AWS Lambda via `@sparticuz/chromium`) for scheduled jobs, or a **remote** CDP endpoint (Brightdata Scraping Browser, any browser farm, or your own). Swap backends by changing one config field; prompts, plans, and `.extract()` calls stay identical.
29+
**Runs anywhere your browser lives** — the same `BrowserAgent` API drives a **local** Chromium for dev, a **serverless** Chromium (AWS Lambda via `@sparticuz/chromium`) for scheduled jobs, or a **remote** CDP endpoint (Brightdata Scraping Browser, any browser farm, or your own). Swap backends by changing one config field; prompts, plans, and `.extract()` calls stay identical.
3130

3231
## Install
3332

0 commit comments

Comments
 (0)