You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2025. It is now read-only.
Index is the SOTA open-source browser agent for autonomously executing complex tasks on the web.
9
+
Index is a state-of-the-art open-source browser agent that autonomously executes complex web tasks. It turns any website into an accessible API and can be seamlessly integrated with just a few lines of code.
8
10
9
11
-[x] Powered by reasoning LLMs with vision capabilities.
10
12
-[x] Gemini 2.5 Pro (really fast and accurate)
@@ -13,9 +15,10 @@ Index is the SOTA open-source browser agent for autonomously executing complex t
13
15
-[x] Gemini 2.5 Flash (really fast, cheap, and good for less complex tasks)
14
16
-[x]`pip install lmnr-index` and use it in your project
15
17
-[x]`index run` to run the agent in the interactive CLI
16
-
-[x] Index is also available as a [serverless API.](https://docs.lmnr.ai/laminar-index/introduction)
18
+
-[x] Supports structured output via Pydantic schemas for reliable data extraction.
19
+
-[x] Index is also available as a [serverless API.](https://docs.lmnr.ai/index-agent/api/getting-started)
17
20
-[x] You can also try out Index via [Chat UI](https://lmnr.ai/chat).
Check out full documentation [here](https://docs.lmnr.ai/index-agent/getting-started)
27
30
28
-
## Index API
29
-
30
-
The easiest way to use Index in production is via the [serverless API](https://docs.lmnr.ai/laminar-index/introduction). Index API manages remote browser sessions, agent infrastructure and [browser observability](https://docs.lmnr.ai/laminar-index/tracing). To get started, [sign up](https://lmnr.ai/sign-in) and create project API key. Read the [docs](https://docs.lmnr.ai/laminar-index/introduction) to learn more.
31
-
32
-
### Install Laminar
33
-
```bash
34
-
pip install lmnr
35
-
```
36
-
37
-
### Use Index via API
38
-
```python
39
-
from lmnr import Laminar, LaminarClient
40
-
# you can also set LMNR_PROJECT_API_KEY environment variable
- Follow-up messages with support for "give human control" action
82
92
- Real-time streaming updates
83
93
- Beautiful terminal UI using Textual
84
94
85
-
You can run the agent with the following command. Remember to set API key for the selected model in the `.env` file.
95
+
You can run Index CLI with the following command.
86
96
```bash
87
97
index run
88
98
```
@@ -115,176 +125,62 @@ Step 4: Scrolling back up to view pricing tiers
115
125
Step 5: Provided concise summary of the three pricing tiers
116
126
```
117
127
118
-
### Running with a personal Chrome instance
128
+
### Running CLI with a personal Chrome instance
119
129
120
-
You can use Index with personal Chrome browser instance instead of launching a new browser. Main advantage is that all existing loggedin sessions will be available.
130
+
You can use Index with personal Chrome browser instance instead of launching a new browser. Main advantage is that all your existing logged-in sessions will be available.
121
131
122
132
```bash
123
133
# Basic usage with default Chrome path
124
134
index run --local-chrome
125
-
126
-
# With custom Chrome path and debugging port
127
-
index run --local-chrome --chrome-path="/path/to/chrome" --port=9223
128
135
```
129
136
130
-
This will launch Chrome with remote debugging enabled and connect Index to it.
131
-
132
-
#### OS-specific Chrome paths
137
+
## Use Index via API
133
138
134
-
Default Chrome executable paths on different operating systems:
139
+
The easiest way to use Index in production is with [serverless API](https://docs.lmnr.ai/index-agent/api/getting-started). Index API manages remote browser sessions, agent infrastructure and [browser observability](https://docs.lmnr.ai/index-agent/api/tracing). To get started, create a project API key in [Laminar](https://lmnr.ai).
135
140
136
-
**macOS**:
137
-
```bash
138
-
index run --local-chrome --chrome-path="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
139
-
```
140
-
141
-
**Windows**:
141
+
### Install Laminar
142
142
```bash
143
-
index run --local-chrome --chrome-path="C:\Program Files\Google\Chrome\Application\chrome.exe"
143
+
pip install lmnr
144
144
```
145
145
146
-
#### Connecting to an already running Chrome instance
147
-
148
-
If you already have Chrome running with remote debugging enabled, you can connect to it:
prompt="Navigate to news.ycombinator.com, find a post about AI, and summarize it"
193
162
):
194
163
print(chunk)
195
-
```
164
+
165
+
```
166
+
196
167
197
-
### Enable browser agent observability
168
+
##Browser agent observability
198
169
199
-
To trace Index agent's actions and record browser session you simply need to initialize Laminar tracing before running the agent.
170
+
Both code run and API run provide advanced browser observability. To trace Index agent's actions and record browser session you simply need to initialize Laminar tracing before running the agent.
Then you will get full observability on the agent's actions synced with the browser session in the Laminar platform.
178
+
Then you will get full observability on the agent's actions synced with the browser session in the Laminar platform. Learn more about browser agent observability in the [documentation](https://docs.lmnr.ai/index-agent/tracing).
0 commit comments