bgent Internet Computer example
Closed this issue · 1 comments
lalalune commented
We want to demonstrate bgent running on-chain. We have a cloudflare worker version, which has a similar state pattern. However, our agent is currently tied to supabase.
This kind of relies on these:
#53
#4
- Create new project example using Azle on the IC and add bgent to the project
- Create new IC database provider and MemoryManager class that is IC compatible
- Abstract all function calls that rely on supabase so they can be overridden
- Look into sqlite and sqlite-vss with Azle
-> https://github.com/demergent-labs/azle/tree/main/examples/sqlite/src and https://github.com/asg017/sqlite-vss - Create a database provider abstraction for Internet Computer
-> Similar to these #53 and #4 - Get agent running on the internet computer with conversational input
-> Example of agent running in Cloudflare: https://github.com/ClioDynamics/cojourney/blob/main/packages/agent/src/index.ts - Make sure vector search works
-> Elna makes a vector db for IC: https://github.com/elna-ai/elna-vector-db
-> Vector db for sqlite https://github.com/asg017/sqlite-vss
-> https://github.com/arcmindai/arcmindai Arcmind makes a vector db canister which would be used / modified
The final output is an agent running in a canister on the Internet Computer using Azle and bgent. We should be able to converse with the agent, and the agent should be able to perform search / RAG on documents.