6 ms·
I haven't been following the claws but I built something like this recently. Self hosted, runs through signal, supports group chat (with whitelisted accounts).
by post_below 7mo ago
I haven't been following the claws but I built something like this recently. Self hosted, runs through signal, supports group chat (with whitelisted accounts).
I just finished setting up grocery automation to run on it: agent provides a starter list based on past orders (locally stored or grabbed from store site), all group members can weigh in, add or remove items, agent uses bespoke browser tool to login to store, create the cart using the finalized list (and optionally search for additional request items), validates the cart and (maybe later) places the order for delivery. I haven't implemented the full checkout process yet, not sure if I want the agent to have spending power. As is I just login and finish the last 2 clicks of checkout manually.
Crazy times. It was easy enough to build that if someone hasn't already open sourced something like it, they will shortly.
- 6ak74rfy 7mo agoCan you share the code? Specifically, curious how you did the browser integration. Did you use agent-browser? Something else?
- post_below 7mo agoThe browser is very straightforward, about 300 lines implementing all of the various actions you'd want an agent to have access to in puppeteer: const puppeteer = require('puppeteer'); const browser = await puppeteer.launch(); const page = await browser.newPage(); await page.goto('https://example.com https://example.com'); Session persistence is accomplished by storing the WebSocket endpoint between calls. More: https://pptr.dev/guides/browser-management https://pptr.dev/guides/browser-management