This is a demo of a trustless AI agent built on ElisaOS. It extends functionality with privacy features powered by Oasis ROFL such as key derivation and submission of ROFL-authenticated transactions to Sapphire.
This will spin up an agent locally without TEE:
elizaos startTo check whether the source code in front of you is the one currently registered on-chain and running on the nodes, run:
oasis rofl build --verifyTo build your own instance of a trustless agent, run:
oasis rofl init --resetThen create a new ROFL, set secrets and deploy it.
oasis rofl create --network testnet
oasis rofl build
echo -n "<your-openai-key-here>" | oasis rofl secret set OPENAI_API_KEY -
echo -n "https://sepolia.infura.io/v3/<YOUR_KEY>" | oasis rofl secret set RPC_URL -
echo -n "<your-pinata-key-here>" | oasis rofl secret set PINATA_JWT -
oasis rofl update
oasis rofl deployObtain the URL of your agent by invoking
oasis rofl machine showLook for the Proxy: section, for example:
Proxy:
Domain: m1058.opf-testnet-rofl-25.rofl.app
Ports from compose file:
3000 (rofl-eliza): https://p3000.m1058.opf-testnet-rofl-25.rofl.app
In the setup above the agent is available on https://p3000.m1058.opf-testnet-rofl-25.rofl.app