Skip to content

Commit b1957cf

Browse files
Merge pull request #65 from lightpanda-io/katie-lpd-patch-1
Create use-hermes.mdx
2 parents a4cb12a + ffdaed8 commit b1957cf

1 file changed

Lines changed: 102 additions & 0 deletions

File tree

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
---
2+
title: Use Hermes Agent
3+
description: Run Hermes Agent with Lightpanda as the browser backend.
4+
---
5+
6+
# Use Hermes Agent
7+
8+
[Hermes Agent](https://hermes-agent.nousresearch.com) is an open source autonomous agent built by [Nous Research](https://nousresearch.com). It runs autonomously for long stretches, builds persistent memory, spawns subagents in parallel, and reaches you on Telegram, Discord, Slack, and other platforms while working on a remote VM. From version `v0.13.0`, Hermes has native support for Lightpanda as a browser backend.
9+
10+
When configured to use Lightpanda, Hermes will route browser actions through Lightpanda, with automatic Chrome fallback for actions Lightpanda doesn't yet support (such as screenshots).
11+
12+
## Prerequisites
13+
14+
- Hermes Agent `v0.13.0` or later
15+
- Lightpanda installed and on your `PATH`
16+
17+
If you don't yet have Lightpanda installed, follow the [installation guide](/docs/open-source/installation).
18+
19+
## Install Hermes
20+
21+
If you don't have Hermes Agent yet, install it with the official one-liner:
22+
23+
```bash
24+
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
25+
```
26+
27+
If you already have Hermes installed, update to `v0.13.0` or later:
28+
29+
```bash
30+
hermes update
31+
```
32+
33+
Confirm the version:
34+
35+
```bash
36+
hermes --version
37+
```
38+
39+
## Configure Lightpanda as the browser backend
40+
41+
Open Hermes' config file:
42+
43+
```bash
44+
open ~/.hermes/config.yaml
45+
```
46+
47+
Find the `browser:` block and add the `engine: lightpanda` line:
48+
49+
```yaml
50+
browser:
51+
engine: lightpanda
52+
```
53+
54+
Save and close the file.
55+
56+
## Verify the configuration
57+
58+
Start Hermes:
59+
60+
```bash
61+
hermes
62+
```
63+
64+
Run the `/browser` slash command:
65+
66+
```
67+
/browser
68+
```
69+
70+
You should see:
71+
72+
```
73+
🌐 Browser: local Lightpanda (agent-browser --engine lightpanda)
74+
⚡ Lightpanda: faster navigation, no screenshot support
75+
Automatic Chrome fallback for screenshots and failed commands
76+
```
77+
78+
Hermes will now route browser actions through Lightpanda.
79+
80+
## Run a quick test
81+
82+
Inside Hermes, try a prompt that involves browsing:
83+
84+
```
85+
Visit https://news.ycombinator.com and list the top 5 story titles.
86+
```
87+
88+
Hermes will spawn its browser tools and route them through Lightpanda. You'll see streaming tool calls (`browser_navigate`, `browser_snapshot`) executing against Lightpanda.
89+
90+
## Automatic Chrome fallback
91+
92+
Lightpanda doesn't yet support every browser action Hermes might call. When Hermes invokes an unsupported action (e.g. screenshots), or when a command errors out on Lightpanda, Hermes transparently retries on Chrome.
93+
94+
This means enabling `engine: lightpanda` is non-disruptive: Lightpanda handles the actions it supports, Chrome handles the rest, and your agent's behavior remains unchanged.
95+
96+
The current set of actions supported by Lightpanda inside Hermes covers the core agent workflow: navigate, snapshot, click, type, scroll, back, press, and eval. Actions that fall back to Chrome include screenshots, PDF generation, file uploads, and clipboard operations.
97+
98+
## Further reading
99+
100+
- [Hermes Agent documentation](https://hermes-agent.nousresearch.com/docs/)
101+
- [Pull request that added Lightpanda support to Hermes](https://github.com/NousResearch/hermes-agent/pull/7144)
102+
- [Lightpanda installation guide](/docs/open-source/installation)

0 commit comments

Comments
 (0)