Video thumbnail

aevia

Aevia is the first AI agent securing your digital legacy. She checks in to ensure you're okay, and if something happens, she fulfills your final wishes—sending messages, transferring crypto, or gifting NFTs. Simple, safe, and functional—set it up in just few minutes!

aevia

Created At

Agentic Ethereum

Project Description

Aevia is the first AI agent dedicated to securing your digital legacy. She will periodically check in to ensure you're okay. If something happens to you, she will know and take action to fulfill your final wishes—whether it's sending a message to a friend, transferring crypto to a loved one, or gifting your favorite NFTs to a digital friend you've never met in person.

We want to make securing your digital legacy incredibly easy, safe, and functional—so that anyone can set it up in just 5 minutes.

How does it work? We connect with Aevia and choose what we want our legacy to be. Then, Aevia will periodically contact us via Telegram to check on us. If we stop responding for a certain period, Aevia will reach out to our emergency contacts and try to find out what happened. If they confirm that something bad has happened and we have passed away, Aevia will contact our beneficiary, inform them of what happened, and execute our wishes—for example, by triggering the smart contract for fund transfer.

Fund Transfer: The fund transfer process is secure. The user does not need to send their funds to any contract. They only need to do two things:

Approve the Aevia contract to withdraw the amount of funds they wish to leave as a legacy. Sign a message requested by the system. This message uses ERC-712, allowing the user to see the data they are signing. The signature is stored off-chain and will be used to withdraw the funds if necessary. The specified funds can only be sent to the wallet that the user signed.

Future Roadmap: We want to add more features, such as NFT transfers, key transfers from different platforms through NFT association, and a final social media post. Aevia could compose a farewell message on behalf of the user. We believe that many opportunities arise from AI-managed digital legacies.

How it's Made

This project was born from the idea of having a life safeguard in case something happened to you. Initially, Aevia was supposed to search newspapers and news sources to check if something had happened, but we opted for a simpler approach a periodic keepalive check with the user. If they stop responding, Aevia can reach out to one or two emergency contacts to verify if something happened.

The initial frontend was built using V0, with AI-assisted design. Later, we integrated it with Tailwind UI to have more control over the interface.

Regarding the blockchain component, we wanted to provide a solution where users don’t have to trust us but rather rely on the smart contract to allow future fund transfers. The advantage of this approach is that we can only move the exact amount of funds from A to B that the user authorized. To achieve this, we developed a smart contract utilizing the ERC-712 standard. The user signs a message containing the transaction details, and the contract verifies that the submitted transaction data matches the user’s signature. If any value differs, the transaction is rejected. The execution of the legacy is restricted to wallets with the operator role.

As for the agent, its iterations follow a well-defined structure, similar to a standard bot. However, its interactions with the user leverage the capabilities of the LLM agent, particularly in how it investigates emergency contacts to determine what happened to the user. In the future, we aim to enhance this aspect and introduce new interaction dynamics.

One particular challenge was that the agent needed to initiate conversations via Telegram with users it had never contacted before, which a traditional bot cannot do. To solve this, we adapted the Telethon API in Python to better handle messaging, and the results were very effective. Additionally, we had to use a dedicated phone line for Aevia.

background image mobile

Join the mailing list

Get the latest news and updates