Hi, I just played with some language models in python. Language models are able to do stuff for you. Like looking for a website, searching for stuff. You create agents that run in python and they can do stuff for you.
Now I got an idea. If an agent could own a lightning wallet in python, then it could spend sats on behalf of its owner.
The use case would be like this:
- Every afternoon the agent would wake up at 14:00 and go to a website and order some ingredients
- The agent would pay for the ingredients with a lightning wallet and would also give the address where the ingredients need to be dropped.
- You could ask the agent what you want to eat every day like "scrambled eggs". And the agent would hold an inventory of your ingredients in your refrigirator.
- If the agent picks scrambled eggs as what you would eat tomorrow, and there are no eggs or no ham, the agent would order these ingredients online.
The wallet
I need to have the wallet in python. Is there an open source library where you can own a wallet in python and spend sats from within the code?
Can that maybe be a part of Nostr? In Nostr we have a wallet right, so is it possible to access that wallet from within Python?
How this use case can help others.
Imagine elderly people that needs to eat. They now can just talk to a gpt (a language model) and they get their food ordered. They would definitely use a wallet. The children can fund that wallet for them. And they get their food.
Other people like blind people or people not mobile. Who cannot leave home. Now they can chat with a language model and their stuff gets brought to them.
This is a use case that can help many people become more independent.