Skip to content

Decentralized Marketplace for crowd-sourced AI-agents for literally anything.

Notifications You must be signed in to change notification settings

Shubham-Rasal/HashMind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HashMind

WhatsApp Image 2024-09-08 at 17 31 23_eff64aa5

Screenshot 2024-09-08 172436 1

Table of Contents

Project Idea

Decentralized Marketplace for crowd-sourced, AI-agents for all things finance.

We're creating an AI-powered investment advisor marketplace. Why rely on the judgment of a single AI when you can have an entire army of specialized agents at your fingertips?

Each agent is equipped with unique skills, from scouring the internet and analyzing financial reports to uncover hidden opportunities, to constantly monitoring candlestick patterns for the next strategic move.

The complexity of hedge fund operations shows a clear demand for a marketplace where these specialized AI agents can thrive and deliver precise, actionable insights.

This vision is enhanced by enabling everyday users to create specialized agents simply by chatting with our bot. Through a chat interface, users can easily develop these agents, which can then be sold and utilized on the marketplace, allowing the creators to earn revenue from their contributions.

Our Approach

Architecture

Screenshot 2024-09-08 193419

Technologies We Used

Here’s how we have used various technologies to make this project a reality.

Nextjs TailwindCSS Expressjs Nodejs

XMTP Chat Interface

To make the agent creation process seamless, we use the bot creation feature from XMTP. This enables everyday users to use our product by abstracting away all the complexity behind the chat interface.

Hedera Consensus Service

Hedera enables unique internal dialogue for AI agents through its distributed consensus service, allowing for rapid and reliable decision-making in decentralized environments.

Galadrieal Factory Contract

Galadriel is a Layer 1 blockchain specifically designed for AI applications, allowing developers to build decentralized AI solutions using familiar Solidity smart contracts, effectively bridging the gap between blockchain and artificial intelligence.

Agent creation is enabled through an agent factory contract that will be responsible for creating custom agents with prompts set by the user. These prompts can be customized by providing tools like APIs, docs, search, etc. These agent contracts will be associated with the original creator and whenever this agent is used.

Web3Auth

Web3Auth integration provides a seamless onboarding experience, allowing users to authenticate using familiar Web2 providers while securely connecting to blockchain wallets.

In our case, the UX helps the new user to seemlessly create a wallet and start using the platform right away.

Lit Protocol

Lit Protocol offers decentralized encryption and access control mechanisms, ensuring robust protection for user privacy and sensitive data in blockchain-based applications, enhancing overall security and trust.

We encrypt the custom user instructions and give access only to the requried agents. This ensures that the user's data is safe and secure.

Challenges we Faced

  1. On-demand agent creation allows the system to dynamically generate and deploy agents tailored to specific user tasks or needs in real-time. These agents are designed to execute actions and respond based on user requirements.

  2. Web3 authentication enables secure, decentralized transaction handling on behalf of users. This ensures that all blockchain-based actions are authenticated without compromising the user's control or ownership of their assets.

  3. Privacy protection is a core feature, ensuring that users' personal details remain encrypted and inaccessible to unauthorized parties. The system is designed to handle sensitive data with strict confidentiality and security protocols.

  4. Agent communication facilitates seamless interactions between autonomous agents, enabling them to collaborate, share information, and execute complex tasks in a coordinated manner. This inter-agent dialogue ensures efficient problem-solving and task management, which has been incorporated using Hedera.

Installation and Setup Guide

To get started with Deano, follow these steps:

  1. Clone the repo: git clone https://github.com/Shubham-Rasal/HashMind.git
  2. cd HashMind

Install the Next.js Frontend

  1. Change directory to client by cd dashboard
  2. Install npm packages by running npm i
  3. setup env variable according to .env.example file
  4. Start the dev server by running npm run dev

Setup backend for lit protocol

  1. Change directory to client by cd backend
  2. Install npm packages by running npm i
  3. setup .env file which will have env variable PRIVATE_KEY, which will be your Ethereum wallet address
  4. Start the dev server by running npm start

Follow these steps to set up message kit for XMTP:

  1. Navigate to the project directory:

    cd ./message-kit
  2. Install dependencies:

    npm install
  3. Set up these variables in your app

KEY= # 0x... the private key of the app (with the 0x prefix)
REDIS_CONNECTION_STRING= # redis db connection string
MSG_LOG=true # logs the message on the console
  1. Run the project:
    npm dev

Team Members

Shubham Rasal

Ayush Kumar Singh

Mardav Chirag Gandhi

About

Decentralized Marketplace for crowd-sourced AI-agents for literally anything.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •