focEliza Revealed: The TEE Eliza Verifiable Log Plugin

By: blockbeats|2024/12/24 15:00:01
0
Share
copy
Original Author: CP, Artela Founder

0) TL;DR Version

The first step in achieving full on-chain Eliza: Don't trust, verify! Run Eliza in a TEE, freeing it from human manipulation to execute based on Eliza's own code.

So, how does the outside world know what Eliza specifically did? Further development is needed: the outside world can read Eliza's execution log, and these logs can be verified to come from Eliza within the TEE. Eliza must sign these logs using a key pair derived from the TEE, allowing the logs to be verifiable as originating from Eliza inside the TEE.

focEliza's plugin plugin-tee-verifiable-log achieves this: it derives a key pair from the TEE specifically for signing logs. Logs generated using this key pair (including received and responded AI messages, as well as executed operations) are signed to create verifiable logs and stored in a database. It also provides an RPC interface, allowing external entities to:

· Obtain the AI agent's verifiable log public key through remote attestation.

· Query these verifiable logs, and verify the signatures using the public key to confirm that the AI agent executed the corresponding operations.

Verifiability is the cornerstone of achieving a fully on-chain AI agent, making magic a reality!

focEliza Revealed: The TEE Eliza Verifiable Log Plugin

1) Starting From One Question!

A developer has deployed an Eliza AI agent on their server and launched a webpage for users to interact with.

Now, how do you distinguish if the entity you are interacting with is indeed responding from the AI agent (referring to Eliza + LLMs) and not artificially from the developer behind the scenes?

2) Is This Question Important?

This question is sometimes important and sometimes not.

· Sometimes not important: For example, a chatbot helping with article writing. As long as you get the desired content, it might not matter whether the response comes from an LLM or a human.

· Sometimes Somewhat Important: For example, when a trading bot manages your transactions. You need to transfer funds to a wallet controlled by an AI agent, and at this point, you will be concerned whether the decision was made by the running program rules of the LLM or by a human operator who may have malicious intent.

· Sometimes Very Important: When fairness is involved, this issue becomes extremely critical. For instance, an AI agent managing a community and distributing rewards to contributors. As the community grows and the value of rewards increases, the risk of human corruption or manipulation leading to unfair outcomes significantly escalates.

3) Eliza can now prove through verifiable logs what operations it executed!

Eliza running in a TEE operates independently of human control and performs tasks according to its own code.

However, to let external parties know exactly what Eliza accomplished, further functionality is required: external parties need access to Eliza's operation logs, and these logs must be verifiable to indeed originate from Eliza within the TEE.

The plugin-tee-verifiable-log achieves these functionalities and accomplishes the following tasks:

· Key Pair Derivation: Derives a key pair within the TEE dedicated to signing logs.

· Remote Attestation: Embeds the public key in a remote attestation report, allowing external parties to retrieve and verify that it indeed comes from Eliza within the TEE.

· Log Signing: Signs the logs generated during Eliza's operation (including messages sent and received, as well as actions taken) using the key and stores them in a database.

· Verifiability: External parties can use the public key from remote attestation to verify these logs, ensuring that certain operations were indeed performed by TEE Eliza.

· Queryability: External parties can subscribe to the latest verifiable logs or query specific logs based on message content.

What are the implications of the verification results?

· Passed: The operation was indeed carried out by Eliza.

· Failed: The operation may not have been carried out by Eliza. For example, logs could have been intercepted (e.g., deleted) during transmission to the client, preventing the external party from confirming whether Eliza performed a specific operation.

4) Enable the plugin-tee-verifiable-log for your Eliza!

focEliza is a set of plugins designed for a fully on-chain AI agent based on Eliza. It is fully compatible with Eliza, which means that any AI agent running on Eliza can achieve full on-chain functionality through the integration of focEliza!

If you are interested in a verifiable, fully on-chain autonomous AI agent, feel free to give it a try!

5) Closing

We are thrilled to build a fully on-chain autonomous AI agent based on Eliza and TEE. This is the first TEE plugin released by focEliza, and we have submitted a PR to the @ai16zdao and @shawmakesmagic teams. Looking forward to having more developers join us!

Feel free to check out our code.

6) focEliza's Next Feature: On-chain State! Achieving Autonomous Operation!

The Eliza running in TEE holds private keys and sensitive data. However, it relies on a physical machine that supports TEE to operate. If the administrator shuts down the machine, the "life" of the AI agent may be permanently terminated, and the managed assets and data may be lost forever.

To address this issue, we need to encrypt the key "life" data of the AI agent in the TEE, such as role definitions, short-term/long-term memory, and key storage. Then, upload this data to the blockchain or a DA network.

If the TEE hosting the AI agent is shut down, another TEE machine should be able to download the encrypted data, decrypt it, and restore the "life" of the AI agent to seamlessly continue its operation.

"Original Article Link"

You may also like

Why can this institution still grow by 150% when the scale of leading crypto VCs has shrunk significantly?

The merger of the two major payment companies, Bridge and BVNK, establishes their industry position and revenue scale.

Anthropic's $1 trillion, compared to DeepSeek's $100 billion

The capital market has no faith, it only believes in the profit and loss statement.

Geopolitical Risk Persists, Is Bitcoin Becoming a Key Barometer?

Liquidity Still Unleashed, Which Force Will Dictate Pricing

Annualized 11.5%, Wall Street Buzzing: Is MicroStrategy's STRC Bitcoin's Savior or Destroyer?

25M Transaction Volume, 17,204 BTC

An Obscure Open Source AI Tool Alerted on Kelp DAO's $292 million Bug 12 Days Ago

AI Agent could potentially become an additional security layer for DeFi investors.

Mixin has launched USTD-margined perpetual contracts, bringing derivative trading into the chat scene.

The privacy-focused crypto wallet Mixin announced today the launch of its U-based perpetual contract (a derivative priced in USDT). Unlike traditional exchanges, Mixin has taken a new approach by "liberating" derivative trading from isolated matching engines and embedding it into the instant messaging environment.


Users can directly open positions within the app with leverage of up to 200x, while sharing positions, discussing strategies, and copy trading within private communities. Trading, social interaction, and asset management are integrated into the same interface.


Simplified Trading Experience: No KYC Required, Opening a Position in Five Steps


Based on its non-custodial architecture, Mixin has eliminated friction from the traditional onboarding process, allowing users to participate in perpetual contract trading without identity verification.


The trading process has been streamlined into five steps:

· Choose the trading asset

· Select long or short

· Input position size and leverage

· Confirm order details

· Confirm and open the position


The interface provides real-time visualization of price, position, and profit and loss (PnL), allowing users to complete trades without switching between multiple modules.


Social-Native Trading: Strategy and Execution Completed in the Same Context


Mixin has directly integrated social features into the derivative trading environment. Users can create private trading communities and interact around real-time positions:

· End-to-end encrypted private groups supporting up to 1024 members

· End-to-end encrypted voice communication

· One-click position sharing

· One-click trade copying


On the execution side, Mixin aggregates liquidity from multiple sources and accesses decentralized protocol and external market liquidity through a unified trading interface.


By combining social interaction with trade execution, Mixin enables users to collaborate, share, and execute trading strategies instantly within the same environment.


Referral Mechanism: Non-institutional users can receive up to 60% fee split


Mixin has also introduced a referral incentive system based on trading behavior:

· Users can join with an invite code

· Up to 60% of trading fees as referral rewards

· Incentive mechanism designed for long-term, sustainable earnings


This model aims to drive user-driven network expansion and organic growth.


Self-Custody Architecture and Built-in Privacy Mechanism


Mixin's derivative transactions are built on top of its existing self-custody wallet infrastructure, with core features including:


· Separation of transaction account and asset storage

· User full control over assets

· Platform does not custody user funds

· Built-in privacy mechanisms to reduce data exposure


The system aims to strike a balance between transaction efficiency, asset security, and privacy protection.


A New Path for On-Chain Derivatives


Against the background of perpetual contracts becoming a mainstream trading tool, Mixin is exploring a different development direction by lowering barriers, enhancing social and privacy attributes.


The platform does not only view transactions as execution actions but positions them as a networked activity: transactions have social attributes, strategies can be shared, and relationships between individuals also become part of the financial system.


Regulatory Background


Mixin's design is based on a user-initiated, user-controlled model. The platform neither custodies assets nor executes transactions on behalf of users.


This model aligns with a statement issued by the U.S. Securities and Exchange Commission (SEC) on April 13, 2026, titled "Staff Statement on Whether Partial User Interface Used in Preparing Cryptocurrency Securities Transactions May Require Broker-Dealer Registration."


The statement indicates that, under the premise where transactions are entirely initiated and controlled by users, non-custodial service providers that offer neutral interfaces may not need to register as broker-dealers or exchanges.


About Mixin


Mixin is a decentralized, self-custodial privacy wallet designed to provide secure and efficient digital asset management services.


Its core capabilities include:

· Aggregation: integrating multi-chain assets and routing between different transaction paths to simplify user operations

· High liquidity access: connecting to various liquidity sources, including decentralized protocols and external markets

· Decentralization: achieving full user control over assets without relying on custodial intermediaries

· Privacy protection: safeguarding assets and data through MPC, CryptoNote, and end-to-end encrypted communication


Mixin has been in operation for over 8 years, supporting over 40 blockchains and more than 10,000 assets, with a global user base exceeding 10 million and an on-chain self-custodied asset scale of over $1 billion.


Popular coins

Latest Crypto News

Read more