| ▲ | ludamad 6 hours ago | |||||||||||||||||||||||||
I imagine this is something like Anthropic's dynamic workflows where a JS file is created to make a little AI harness on the spot | ||||||||||||||||||||||||||
| ▲ | andai 4 hours ago | parent [-] | |||||||||||||||||||||||||
Wow, I hadn't heard of this!
I asked Claude in the browser if it could do anything like that. It wrote a little frontend app that calls the Anthropic API (with fetch()), without including a key. I expected that to fail, but it worked!Apparently in the web chat (and also in Claude Code?[0] Though I haven't tried yet) they can call the Anthropic API and your subscription key gets auto-magicked into the requests somehow. Those are two separate things of course (aside from the key-injection) but I guess there's no reason it couldn't run completely in the front-end... hmm... | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||