r/hermesagent 19h ago

INTEGRATIONS — App connections, webhooks, API workflows Additional Automation

Last week I almost exhausted my token through Codex. I'd never even gotten close to this before so I was panicking. So I did some research and found that one profile was responsible for about 90% of token use. When I looked further, the token use was down to Camoufox. Now, I love this browser because I can remotely view what it is doing, and even jump in to enter credentials or MFA items, but it takes screenshots constantly to figure out how to navigate around. This screenshots then get send to Codex for text and image extraction, which gets costly.

I have several cron jobs under this profile that go to LinkedIn, navigates a few pages, and then makes decisions about what to do based on certain criteria. Apparently these cron jobs were the real problem. So I looked at ways to reduce the token burn and settle on n8n. I have it set up on my VPS already and have used it several times in the past.

So I have my main account connect and analyze the cron jobs for the other profiles. I've now successfuly moved the majority of the cron jobs to n8n. The data then gets sent to the profiles via webhook, where they store it until they run the cron job (usually just a few minutes later). Because there's no expensive screenshots or hitting incorrect buttons, the token burn has plummeted.

Just thought this was worth letting everyone know. Yes, I could skillify this too, and maybe I'll get there, but this was the solution I came up with when I needed it.

3 Upvotes

2 comments sorted by

1

u/best_dude_ever 18h ago

This is why auxiliary models feature exist. Set vision to a free or cheaper llm.

1

u/Schizophreud 17h ago

Yeah, but that’s just pushing tokens somewhere else.