Skip to content

AkashMundari/ChatCha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

37 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ChatCha: Decentralized AI Agent Platform

Overview

ChatCha is a decentralized AI agent platform where users can get their queries answered with data storage and verifiability provided by Filecoin/IPFS using Storacha. This project is built for the Hot AI Integrations, Hotter Storage & Spicy AI Collaboration with Storacha Data Storage Bounty, demonstrating decentralized data storage, real-time data sharing, and analysis.

What ChatCha Does

This project uses multiple specialized AI agents to answer user queries based on whether the user is asking for real-time latest data or information from various research papers. The multi-agent architecture ensures comprehensive and accurate responses.

πŸ€– Agents Used

1. Web Search Agent 🌐

  • Searches the web in real-time
  • Provides up-to-date information on current events and topics
  • Stores search results and processing data in dedicated Storacha space

2. Scholar Agent πŸŽ“

  • Searches various articles and research papers
  • Provides academic and research-backed information
  • Maintains its own Storacha space for scholarly data storage

3. Analyzer Agent

  • Takes output/data from both Web Search & Scholar Agents (i.e. from their spaces)
  • Summarizes and synthesizes information from multiple sources
  • Delivers concise, coherent final responses to users
  • Stores analysis data in a separate Storacha space

ChatCha Workflow

HCW

Storacha Integrations πŸ”₯

1. Unique Storacha Spaces

ChatCha creates 4 distinct Storacha Spaces:

  • Web Agent Space: Where web agent stores its data
  • Scholar Agent Space: Where scholar agent stores its data
  • Main Space: Where combined data from both web & scholar agents is stored
  • Analyzer Agent Space: Where analyzer agent stores its data

2. Storage & Retrieval of Artifacts

For each query, ChatCha stores four key artifacts:

  • input – Original prompt provided to the agent
  • output – Final result data
  • conversation – Conversation between the user and agent
  • metadata – Timestamp, model info, etc.

Have a reference from this URL: https://bafkreiaqhxxuum2vsayxdxskxj7adocwwgrscqgbp6ajjj26jzcx6gir2m.ipfs.w3s.link/

Code

Initializing Storacha Client

WhatsApp Image 2025-04-13 at 15 42 24_64e7c35d

Creating Spaces

Screenshot_2025-04-13_153834 1

Uploading to spaces

Screenshot_2025-04-13_153919 1

Technologies Used

Feature Stack
AI agent framework Langchain (Groq)
AI Model qwen-2.5-32b
Storage Storacha
Frontend Tailwind CSS + ReactJS

Demo Video

Reference Links from Demo Video

Links

Project Structure

└── akashmundari-chatcha/
    β”œβ”€β”€ README.md
    β”œβ”€β”€ eslint.config.js
    β”œβ”€β”€ index.html
    β”œβ”€β”€ package.json
    β”œβ”€β”€ postcss.config.js
    β”œβ”€β”€ tailwind.config.js
    β”œβ”€β”€ vite.config.js
    β”œβ”€β”€ public/
    └── src/
        β”œβ”€β”€ App.jsx
        β”œβ”€β”€ index.css
        β”œβ”€β”€ main.jsx
        β”œβ”€β”€ assets/
        β”œβ”€β”€ chatcha/
        β”‚   β”œβ”€β”€ mul.jsx
        β”‚   └── sec.jsx
        └── components/
            └── test.jsx

Bounties Targeted

1. Hot AI Integrations, Hotter Storage

Requirements Satisfied or Not Notes
Create an account and signup for a plan βœ… Created an account on Storacha
Use an open-source AI agent framework βœ… Used Langchain along with open-source LLM
Create a space βœ… Space Created for storing data for various Agents
Upload Data 3+ items βœ… Data such as input, output, conversation and metadata are uploaded to Storacha
Download Data 3+ items βœ… User can be able to download input, output, conversation and metadata from Storacha
Documentation βœ… Provided as README.md
Project added to github discussions βœ… Yes
Video submission βœ… Yes
Frontend βœ… Tailwind CSS + React
Launch in 3 minutes or less βœ… Yes

2. Spicy AI Collaboration with Storacha Data Storage

Requirements Satisfied or Not Notes
Create an account and signup for a plan βœ… Created an account on Storacha
Use an open-source AI agent framework βœ… Used Langchain along with open-source LLM
Create a space βœ… Space Created for storing data for various Agents
Upload Data βœ… Data such as input, output, conversation and metadata are uploaded to Storacha
Download Data βœ… User can be able to download input, output, conversation and metadata from Storacha
Documentation βœ… Provided as README.md
Project added to github discussions βœ… Yes
Video submission βœ… Yes
Frontend βœ… Tailwind CSS + React
Launch in 3 minutes or less βœ… Yes

About

Project for Filecoin AI Blueprint Hackathon

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages