Hey Muchael, we had similar thoughts at Retriever AI of moving from runtime agentic inference to writing scripts combining webpage interactions and reverse engineered site APIs.

Compared to your our approach, we are doing this entirely within a browser extension so meeting users where they already doing their existing work.

Within the extension just record doing a task, we reverse engineer the APIs and write a script. Then execute the script from within the webpage so that auth/headers/tokens get automatically added.

You can just prompt to supply parameters and reuse the script at zero token cost.

Use cases we were targetting is like Instagram DMs or LinkedIn connection requests but it should also work for your healthcare use case!

Deeper dive: https://www.rtrvr.ai/blog/ai-subroutines-zero-token-determin...