forked from ArkNill/browsegrab
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathllms.txt
More file actions
13 lines (13 loc) · 810 Bytes
/
llms.txt
File metadata and controls
13 lines (13 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# browsegrab
> Token-efficient browser agent for local LLMs — Playwright + AX tree + MarkGrab, MCP native.
`pip install browsegrab[all]` (extras: cli, mcp, content)
- AX tree snapshots (~500-1.3K tokens/step) with short ref IDs (e1, e2, ...)
- Click/type/scroll/wait via ref IDs; agentic multi-step browse with loop detection
- 3 LLM providers (vLLM, Ollama, OpenAI-compat); MCP server (8 tools, stdio)
Exports: `BrowseGrabConfig`, `BrowseSession`, `BrowseResult`, `SnapshotResult`
```python
from browsegrab import BrowseGrabConfig, BrowseSession
async with BrowseSession(BrowseGrabConfig.from_env()) as s:
result = await s.browse("https://example.com", "find pricing")
```
- [Full API](/llms-full.txt) | [Source](https://github.com/QuartzUnit/browsegrab) | [PyPI](https://pypi.org/project/browsegrab/)