Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update readme
Browse files Browse the repository at this point in the history
jolestar committed Jan 14, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 35dae8a commit d139eef
Showing 1 changed file with 60 additions and 1 deletion.
61 changes: 60 additions & 1 deletion examples/foc_eliza/README.md
Original file line number Diff line number Diff line change
@@ -373,4 +373,63 @@ Execution info:
tx hash: 0x848a79967410c0e74887d1e47f45f3e013e41d0ea37435251fed4df982dc035f
state root: 0xb9ba7a958eb1e63683daadb7cfe9f22fa731019b8fff7b6e76740e0b70d97174
event root: 0x6b25ec6fd717296603fb0818f24682d88bfdf9c55d995091865c582eed18dc71
```
```

### Why Store Characters and Memory On-Chain?

Currently, Eliza defines characters using static JSON files. By storing characters and memory on-chain, we unlock the following key advantages:

1. **Dynamic Evolution**

On-chain storage allows the character’s `bio`, interests (`topics`), and message templates to evolve dynamically during conversations.

This evolutionary process is fully transparent, enabling community participation and oversight of the character’s growth and changes.

2. **Governance and Auditing**

On-chain storage supports governance for defining character evolution rules. For example:

- The community can audit and manage the AI Agent’s memory through on-chain governance to prevent memory contamination caused by user interactions.
- Public AI Agents can have their behavior audited to ensure alignment with community expectations.

3. **Decentralized Trustworthiness**

Storing characters and memory on-chain enhances Eliza’s trustworthiness, making it suitable for open and fair AI ecosystems.

### Next Steps

1. **Dynamic Character Loader**

Enable Eliza to load character data from the blockchain dynamically and support real-time reloading of character definitions upon updates.

2. **On-Chain Memory Sync Plugin**

Develop a plugin to synchronize memory from the blockchain, allowing Eliza to update its state in real time during interactions.

3. **AI Oracle Integration**

Explore using an on-chain AI Oracle to provide decision-making capabilities for AI Agents, enhancing intelligent on-chain interactions.

4. **Standardized On-Chain Components**

Abstract the fundamental on-chain components of AI Agents and integrate them into the Move framework of Rooch to standardize on-chain AI Agent development.

### How to participate

1. **Push the Boundaries of Smart Contracts**

Collaborate to explore the possibilities of implementing on-chain AI Agents, such as:

- Supporting automatic state vectorization and vector retrieval directly in smart contracts(RGA on-chain).
- Developing more advanced on-chain AI inference mechanisms.

2. **Provide More On-Chain Services**

Build additional on-chain services tailored for AI Agents, such as:

- Twitter/Blog services for AI Agents.
- On-chain chatroom services to support multi-user interactions with Agents.

3. **Explore AI and DeFi/BTCFi Integration**

Combine the dynamic capabilities of on-chain AI Agents with innovative financial applications.

0 comments on commit d139eef

Please sign in to comment.