summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAdam <[email protected]>2026-01-20 15:32:26 -0600
committerAdam <[email protected]>2026-01-20 15:59:23 -0600
commit8137e4dd9ca85ccca18a68414d1fdd1c7e014714 (patch)
tree0f983bd8939895c0e83cf5a45bdcdc74642cf9ab
parent7be6671e6ea797a38aae1a6673faf74768199d07 (diff)
downloadopencode-8137e4dd9ca85ccca18a68414d1fdd1c7e014714.tar.gz
opencode-8137e4dd9ca85ccca18a68414d1fdd1c7e014714.zip
chore: agents.md
-rw-r--r--packages/app/AGENTS.md13
1 files changed, 11 insertions, 2 deletions
diff --git a/packages/app/AGENTS.md b/packages/app/AGENTS.md
index 98b681bca..85e6a8466 100644
--- a/packages/app/AGENTS.md
+++ b/packages/app/AGENTS.md
@@ -1,7 +1,5 @@
## Debugging
-- To test the opencode app, use the playwright MCP server, the app is already
- running at http://localhost:3000
- NEVER try to restart the app, or the server process, EVER.
## SolidJS
@@ -11,3 +9,14 @@
## Tool Calling
- ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE.
+
+## Browser Automation
+
+Use `agent-browser` for web automation. Run `agent-browser --help` for all commands.
+
+Core workflow:
+
+1. `agent-browser open <url>` - Navigate to page
+2. `agent-browser snapshot -i` - Get interactive elements with refs (@e1, @e2)
+3. `agent-browser click @e1` / `fill @e2 "text"` - Interact using refs
+4. Re-snapshot after page changes