Skip to content

TheraSol revolutionizes mental health support by combining the power of AI therapy with blockchain technology, making professional-grade mental health assistance accessible 24/7 at micro-transaction costs. Deck at https://docs.google.com/presentation/d/1r2z1x3qvW0uKyct4N9D8s1s6TWSTpyWyaoZrMpcLOXo/edit?usp=sharing Demo https://youtu.be/1mwsObcAF9c

Notifications You must be signed in to change notification settings

iamashwin99/TheraSol

Repository files navigation

TheraSol - AI Therapy on Solana Blockchain 🧠💫

TheraSol revolutionizes mental health support by combining the power of AI therapy with blockchain technology, making professional-grade mental health assistance accessible 24/7 at micro-transaction costs.

🌟 Vision

Imagine having access to a private therapist available 24/7, charging you by the minute, and as accessible as sending a text message. TheraSol makes this vision a reality by leveraging advanced AI technology and Solana blockchain's ultra-low-cost transactions.

🔑 Key Features

  • 24/7 Availability: Access therapeutic support anytime, anywhere
  • Pay-Per-Minute Model: Ultra-low-cost microtransactions powered by Solana
  • Secure Blockchain Integration: Smart contracts ensure transparent and secure payments
  • Conversation Continuity: Maintains session history for more meaningful interactions

💡 Why TheraSol?

The Mental Health Crisis

  • 20% of people struggle with mental health annually
  • Traditional therapy often has months-long waiting lists
  • Standard therapy sessions cost $100+, making it inaccessible for many

Our Solution - Autonomus AI Agent based therapy

TheraSol bridges this gap by providing:

  • Immediate access to mental health support
  • Affordable pay-per-minute pricing
  • Professional-grade AI therapy
  • Blockchain-based trust and transparency

Why is it an AI agent?

  • Autonomous AI agent designed for independent operation
  • Manages operational costs through innovative means
    • Future goal: autonomously pay for its own LLM and other costs using blockchain technology
    • Current implementation: uses Assisterr for LLM access
  • Utilizes smart contracts and DeFi protocols for transparent and secure financial transactions
  • Funds essential services such as hosting and speech models
  • Ensures seamless operations, continuous improvement, and adaptation without external funding

🔧 Technical Implementation

LLM access

  • Assisterr is used for decentralised LLM access

Speech to Text

  • Utilizes Web Speech API for real-time speech recognition
  • Features:
    • Browser-native implementation using SpeechRecognition or webkitSpeechRecognition
    • Data is processed locally and doesnt leave users device.

Blockchain Architecture

  1. User Initialization

    • Wallet creation upon sign-up using Solana address
    • Metadata storage including balance and session history
  2. Session Management

    • Session initiation recorded on-chain
    • Real-time balance tracking
    • Automatic session management based on available funds
  3. Smart Contract Features

    • Secure fund deposits
    • Automated session timing
    • Balance management
    • Secure fund withdrawal system

Security Features

  • Secure wallet integration
  • Smart contract-based payment processing
  • Protected user data and conversation history
  • Transparent transaction records

🔮 Future Roadmap

Planned Features

  1. Advanced State Machine Implementation

    • Structured therapy sessions based on CBT principles
    • Multi-stage conversation flow
    • Dynamic session adaptation
  2. Enhanced Data Security

    • End-to-end encryption
    • Decentralized data storage
    • Privacy-preserving analytics
  3. Conversation Insights

    • Automated session summarization
    • Progress tracking
    • Therapeutic pattern recognition
    • Goal achievement monitoring
  4. Emergency Detection System

    • Real-time risk assessment
    • Automatic redirection to crisis resources
    • Professional intervention protocols
  5. Interactive Therapeutic Tools

    • CBT worksheets
    • Mood tracking
    • Goal-setting frameworks
  6. Professional AI Model

    • Fine-tuned language model informed by professional therapists

🤝 Contributing

We welcome contributions! Please read our contributing guidelines [link to be added] before submitting pull requests.

📜 License

[License information to be added]

⚠️ Disclaimer

While TheraSol provides valuable mental health support, it is not a replacement for professional medical treatment. Please seek professional help for serious mental health concerns.


For questions or support, please open an issue or contact us at [contact information to be added].

About

TheraSol revolutionizes mental health support by combining the power of AI therapy with blockchain technology, making professional-grade mental health assistance accessible 24/7 at micro-transaction costs. Deck at https://docs.google.com/presentation/d/1r2z1x3qvW0uKyct4N9D8s1s6TWSTpyWyaoZrMpcLOXo/edit?usp=sharing Demo https://youtu.be/1mwsObcAF9c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published