pull down to refresh
@justin_shocknet love the discourse - we should chat live sometime. Hmu on nostr anytime or i reached out to you in a slack group i think we're both in https://primal.net/p/nprofile1qqsy2d24rfqzwxc9n2ujku084dlgwqqxrgkervxjpucna7p0q5htppgeluehw
Yea I think it ultimately comes down to the pattern of API keys isn't going away for the reasons you described, a macaroon is still like an API key but with extra steps in most cases. Sounds like your persistent of them follows that pattern, seems inescapable to do so.
If we're going that route, may as well use an nsec for the other benefits. I think it'd be cool to wrap your endpoints in a CLINK offer, would be an interesting experiment in UX to use them directly from Nostr clients... will hit you up on slack.
Hey Justin - I've been working in the agent space for a bit. I actually just published this if you're curious: https://www.pullthatupjamie.ai/for-agents.
I share your skepticism that L402 is "the thing". I adopted it out of desire to help bitcoin and to help us win the "arms race" of best rails for agents. A few shortcomings I've noticed as well. A lot of L402 assumes statelessness and "onesy twosy" atomic actions. That precipitates two problems:
a. Hit the endpoint knowing im getting a 402
b. Pay out of band
c. Hit the endpoint with my macaroon
I think you can get around that with caveats. I personally got around it with an optional credit system where they can prepay for X sats worth of usage and reuse the macaroon. Some people bitched about that because they felt like I was ripping them off by recommending the "batched" credit approach.
You are right about the identity point. But the problem/pain for users is not really identity, it's the inefficiencies we incur by not having optional persistence (identity is one solution).