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 }}
Repository navigation
Commit 7ce6bb7
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/examples/browser-agent.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,11 @@ description: A long-running agent that signs in to your web apps and works in a
4
4
icon: "globe"
5
5
---
6
6
7
-
It signs in to your web apps with credentials stored as Omnara [secrets](/organization/secrets), then works in a real browser: pulling data out of dashboards, filling in forms, or working through a queue overnight. It can run one set job on a schedule or take whatever tasks your team sends it in Slack, with screenshots in its updates. Passwords never pass through the model, and it enters authenticator app codes itself, so it can sign in unattended. It runs on a large machine that's kept, browser and sign-ins included, until you archive the agent, and it asks before anything you haven't allowed it to do on its own.
7
+
It signs in to your web apps with credentials stored as Omnara [secrets](/organization/secrets), then works in a real browser: pulling data out of dashboards, filling in forms, or working through a queue overnight. It can run one set job on a schedule or take whatever tasks your team sends it in Slack or Discord, with screenshots in its updates. Passwords never pass through the model, and it enters authenticator app codes itself, so it can sign in unattended. It runs on a large machine that's kept, browser and sign-ins included, until you archive the agent, and it asks before anything you haven't allowed it to do on its own.
8
8
9
9
## Build it
10
10
11
-
Give this prompt to Claude Code, Codex, Cursor, or any other coding agent. It asks about the work, which sites the agent signs in to and how, whether it runs on a schedule, and whether you want it in Slack. Then it builds the agent in your Omnara project and has it sign in to each site once.
11
+
Give this prompt to Claude Code, Codex, Cursor, or any other coding agent. It asks about the work, which sites the agent signs in to and how, whether it runs on a schedule, and whether you want it in Slack or Discord. Then it builds the agent in your Omnara project and has it sign in to each site once.
12
12
13
13
```text
14
14
Read https://raw.githubusercontent.com/omnara-ai/omnara/main/examples/browser-agent/SKILL.md and follow it to build my browser agent.
Copy file name to clipboardExpand all lines: docs/examples/slack-coding-agent.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Coding agent in Slack
3
-
description: Mention it in Slackand it fixes the issue in your repository and opens a pull request
3
+
description: Mention it in Slack, Discord, or on a GitHub pull request, and it fixes the issue and opens or updates a pull request
4
4
icon: "code-pull-request"
5
5
---
6
6
7
-
Describe a bug, paste an error, or link an issue in Slack, and it works on a fresh clone of your GitHub repository, makes a focused fix, and opens a pull request. Reply in the thread to ask for changes, and it splits larger tasks across copies of itself.
7
+
Describe a bug, paste an error, or link an issue in Slack or Discord, or mention it on a GitHub pull request, and it works on a fresh clone of your GitHub repository, makes a focused fix, and opens a pull request. Reply in the thread to ask for changes, and it splits larger tasks across copies of itself.
Your coding agent follows [SKILL.md](SKILL.md). It first asks about the work,
33
33
which sites the agent signs in to and how, when it runs, whether you want it
34
-
in Slack, and what it may do without asking. Then it writes the agent from
34
+
in Slack or Discord, and what it may do without asking. Then it writes the agent from
35
35
your answers, stores the sign-ins, and has the agent sign in to each one while
36
36
you watch. SKILL.md is plain steps with the exact `npx omnara` commands if
37
37
you'd rather run them yourself.
@@ -71,7 +71,7 @@ on the same site take turns.
71
71
| Setting | Default | In this agent |
72
72
| --- | --- | --- |
73
73
|`machine_memory_mb`| The pool's default size |`8192`, or the pool's maximum, for Chrome and Blaxel's in-memory file system |
74
-
|`delete_after_idle_minutes`| The pool's idle-deletion period, which would delete the machine and its sign-ins |`0`: kept until the agent is archived. In Slack every thread gets its own machine, so archive a thread's agent when its work is done, or set a period (at least `5` minutes) to remove idle machines automatically |
74
+
|`delete_after_idle_minutes`| The pool's idle-deletion period, which would delete the machine and its sign-ins |`0`: kept until the agent is archived. In Slack or Discord every thread gets its own machine, so archive a thread's agent when its work is done, or set a period (at least `5` minutes) to remove idle machines automatically |
75
75
|`sleep_after_ms`| A short idle period on the default pool |`7200000`: sleeps after two hours with no command running, and wakes in under a second with Chrome, memory, and files intact. `0` (never) when a site texts or emails codes |
76
76
|`AGENT_BROWSER_IDLE_TIMEOUT_MS`| One hour: agent-browser closes the browser after an hour without commands |`0`: the browser stays open |
description: Build and deploy a Browser Agent on Omnara, a long-running agent that signs in to web apps with stored credentials and works in a real browser, overnight if needed. Interviews the user about the job, sign-ins, schedule, and Slack first. Use when the user asks to build, deploy, set up, update, or remove a browser agent.
3
+
description: Build and deploy a Browser Agent on Omnara, a long-running agent that signs in to web apps with stored credentials and works in a real browser, overnight if needed. Interviews the user about the job, sign-ins, schedule, and Slack or Discord first. Use when the user asks to build, deploy, set up, update, or remove a browser agent.
4
4
---
5
5
6
6
# Build the Browser Agent
@@ -58,9 +58,10 @@ is fine. Don't ask for passwords here; step 4 collects them.
58
58
Microsoft).
59
59
3.**When it runs.** Whenever someone starts it, or on a schedule such as
60
60
every night at a set time? For a schedule, get the time and timezone.
61
-
4.**Where they follow it.** Suggest Slack: the team mentions the bot to start
62
-
a task, and updates, screenshots, questions, and results arrive in the
63
-
thread. The Omnara console always works too. Ask whether they want a
61
+
4.**Where they follow it.** Suggest Slack or Discord, whichever the team
62
+
uses: the team mentions the bot to start a task, and updates, screenshots,
63
+
questions, and results arrive in the thread. The Omnara console always
64
+
works too. Ask whether they want a
64
65
screenshot with every update (the default), only with questions, or only
65
66
with the result.
66
67
5.**What it may do on its own.** Overnight no one is around to approve
@@ -240,17 +241,20 @@ usual causes are a sign-in URL that redirects elsewhere (store the URL the
240
241
form actually lives on) or a site that blocks headless browsers from
241
242
datacenter IPs (see "If a site blocks the agent" in `README.md`).
242
243
243
-
Keep this agent if the user wants a schedule without Slack; step 9 uses it.
244
-
Otherwise archive it in the console once every sign-in works.
244
+
Keep this agent if the user wants a schedule without Slack or Discord; step 9
245
+
uses it. Otherwise archive it in the console once every sign-in works.
245
246
246
-
## 8. Connect Slack (if chosen)
247
+
## 8. Connect Slack or Discord (if chosen)
247
248
248
-
If `npx omnara integrations list` already shows an active `slack_thread`
249
-
integration for this agent, from an earlier run of this skill, reuse it: skip
250
-
to step 4, and if `npx omnara integrations get <integration-id>` doesn't list
251
-
the profile under `settings.launcher.profiles`, add it with
0 commit comments