Machu Picchu is like the Inca citadel of same name, that is made of huge stone blocks tightly fit together. Machu Picchu is composed of tools in DeFi, IPFS, AI, Earth Observation, low cost Raspberry Pi-style SBCs with AI HATs.
In this hackathon we will address a subset of Machu Picchu functions.
The following resources explain Machu Picchu and its technologies:
Our scenario:
• the actors are the person in need who posts a free text profile : age, gender, location, occupation, needs
- an international helper organization, represented by an agent that creates an embedding of the profile (a vector of 512 parametres) and stores the profiles + embeddings on IPFS and their CID hashes on blockchain
• an agent that would create in free text a Helper Program (objectives, target region, target group, duration, KPI, scale, budget), make an embedding of the Helper Program
- an agent that would match the vector of the persons in need and match with the vector of the Helper Program, finding the person who are the most entitled for help
Tech Stack
- Frontend: Next.js 14, ethers.js, TailwindCSS,Framer Motion, etc.
- Authentication: Privy for wallet connection and social login
- Blockchain: Remix IDE, Deployed on Sepolia testnet, etc
- Storage: IPFS via Pinata for decentralized storage of profiles and program data
- AI/ML:
- Autonome (Eliza) AI Agent integrated with Telegram and Twitter to assist users with undestanding of application and answer queries related to it.
- Vector similarity matching for program-profile compatibility
- Smart Contracts: Solidity for storing CIDs and managing program data
Key Features & Implementation
-
Profile Management:
- User profiles are converted to embeddings using AI API
- Both original profile and embeddings are stored on IPFS
- IPFS CIDs are stored on-chain for verification
-
Helper Program Matching:
- Program requirements are converted to embeddings
- Vector similarity comparison with stored profiles
- Automatic matching of suitable candidates
-
Decentralized Architecture:
- No central database - all data stored on IPFS and blockchain
- Smart contracts manage data integrity and access control
- Fully decentralized authentication via Privy
Notable Technical Implementations
- Custom vector similarity algorithm for profile matching
- Hybrid storage approach combining IPFS and blockchain
- Responsive UI with server-side rendering for better performance
- Real-time updates using blockchain events
- Integrated with Telegram an Twitter
- In-App Chatbot to assit users throughout the application.