Build your personal wisdom library while contributing to ethical AI development.
YSenseAI is an open-source platform that enables individuals to share their cultural wisdom, personal reflections, and lived experiences in a way that respects their sovereignty, provides fair compensation, and protects cultural heritage. Built on the Z-Protocol v2.0 framework, it ensures transparent attribution, granular consent management, and ethical AI training data practices.
- Overview
- Key Features
- Architecture
- Z-Protocol v2.0
- Installation
- Quick Start
- Documentation
- Use Cases
- Roadmap
- Contributing
- Citation
- License
- Acknowledgments
AI models are trained on vast amounts of data scraped from the internet, often without:
- Consent from content creators
- Attribution to original sources
- Compensation for contributors
- Cultural sensitivity for traditional knowledge
- Quality metrics for training optimization
This creates ethical, legal, and technical challenges for AI development.
YSenseAI provides a consent-first, attribution-native platform where:
- Users control their data through granular consent management (Z-Protocol v2.0)
- Creators are compensated with 15-30% revenue sharing based on content tier
- Cultural heritage is protected with community attribution and benefit sharing
- Quality is optimized with 6 training metrics for AI model performance
- Attribution is cryptographic with SHA-256 fingerprinting and DID assignment
Story-First AI-Native UX: Users write freely, AI extracts structured wisdom layers, then collaborates with users to distill essence through dialogue. This creates:
- Rich training data (5 perception layers + 3-word distillation)
- User self-discovery (reflective conversation with AI)
- Personal knowledge library (exportable in JSON/MD/CSV)
- Training-optimized format (Alpaca, ShareGPT, JSONL)
- π Story Canvas: Write freely about meaningful moments
- π§ AI Analysis: Automatic extraction of 5 perception layers (Narrative, Somatic, Attention, Synesthetic, Temporal)
- π¬ Collaborative Distillation: Chat with AI to refine 3-word essence
- π‘οΈ Z-Protocol Consent: Choose content tier and AI training consent
- π Personal Library: Search, view, and manage all submissions
- π Quality Metrics: See training optimization scores
- π° Revenue Tracking: Estimate earnings from AI training
- π₯ Export Features: Download in JSON (for personal LLM), Markdown, CSV
- π Attribution Engine: Cryptographic signing with SHA-256 + DID
- π Quality Metrics: 6 training optimization signals
- Context efficiency (300-800 token sweet spot)
- Reasoning depth (5-layer CoT)
- Cultural specificity (>70% unique markers)
- Emotional richness (>15 descriptors/100 words)
- Attention density (3+ details/layer)
- Compression quality (>80% essence preserved)
- π€ Consent Management: 8 consent types with audit trail
- πΎ Database Schema: SQLite with GDPR-compliant deletion (72 hours)
- π AI Integration: Claude (Anthropic) + Qwen (Alibaba Cloud)
- π¦ Export Pipeline: JSONL, Alpaca, ShareGPT, CSV, Dataset Card
- β Legally-safe data: All content has explicit AI training consent
- β Attributed data: Cryptographic provenance for every submission
- β High-quality data: Training-optimized with 6 quality metrics
- β Culturally-rich data: 5-layer perception analysis
- β Ethically-sourced data: Z-Protocol v2.0 compliant
- β Training-ready format: Alpaca, ShareGPT, JSONL
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β YSenseAI Platform β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Frontend β β Backend β β Database β β
β β (Streamlit) βββββΆβ (Python) βββββΆβ (SQLite) β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β β β β
β β β β β
β βΌ βΌ βΌ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Story Canvas β β AI Agents β β Consent Mgmt β β
β β 5-Layer UI β β Claude+Qwen β β Z-Protocol β β
β β Collab Chat β β Distillation β β 8 Types β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β β β β
β β β β β
β βΌ βΌ βΌ β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β Personal Lib β β Attribution β β Quality β β
β β Search+Exportβ β SHA-256+DID β β 6 Metrics β β
β β JSON/MD/CSV β β Crypto Sign β β Training Opt β β
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ
ββββββββββββββββββββ
β Export Pipeline β
β JSONL, Alpaca, β
β ShareGPT, CSV β
ββββββββββββββββββββ
Frontend:
- Streamlit 1.28+ (Python web framework)
- Custom CSS for sanctuary aesthetic
- Responsive design (mobile-friendly)
Backend:
- Python 3.11+
- SQLite (production-ready with WAL mode)
- Anthropic Claude API (AI analysis)
- Alibaba Cloud Qwen API (quality metrics)
Attribution:
- SHA-256 cryptographic hashing
- DID (Decentralized Identifier) system
- JSON-LD for metadata
- Blockchain-ready architecture
Consent:
- Z-Protocol v2.0 framework
- 5-tier classification system
- 8 consent types
- GDPR-compliant (72-hour deletion)
YSenseAI is built on the Z-Protocol v2.0, a comprehensive ethical framework for AI attribution and cultural protection.
| Tier | Description | Revenue Share | Protection Level |
|---|---|---|---|
| PUBLIC | General reflections, non-sensitive | 15% | Standard |
| PERSONAL | Individual experiences, family | 20% | Enhanced |
| CULTURAL | Traditional knowledge, practices | 25% + fund | Community attribution |
| SACRED | Religious, spiritual content | 30% + fund | Restricted access |
| THERAPEUTIC | Mental health, trauma | 25% + fund | Medical ethics |
- Account Creation (Required)
- Wisdom Storage (Required for submissions)
- AI Training Contribution (Optional, Compensated 15-30%)
- Community Sharing (Optional)
- Cultural Knowledge Sharing (Optional, for Cultural/Sacred tiers)
- Revenue Sharing (Automatic with AI training consent)
- Research Participation (Optional, Anonymized)
- Anonymized Analytics (Optional)
- Consent-First: No data use without explicit consent
- Transparent Attribution: Cryptographic provenance for all content
- Fair Compensation: 15-30% revenue sharing based on tier
- Cultural Protection: Community approval for Cultural/Sacred content
- User Sovereignty: Full control over data (export, edit, delete)
- GDPR Compliant: All user rights implemented
Learn More: Z-Protocol v2.0 Complete Framework
- Python 3.11 or higher
- pip (Python package manager)
- Git
- (Optional) Virtual environment tool (venv, conda)
# Clone the repository
git clone https://github.com/creator35lwb-web/YSense-AI-Attribution-Infrastructure.git
cd YSense-AI-Attribution-Infrastructure
# Create virtual environment
python3.11 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements_production.txt
# Set up environment variables
cp .env.example .env
# Edit .env with your API keys (see Configuration section)
# Initialize database
python -c "from v45_beta.database.schema import Database; Database()"
# Run the application
streamlit run v45_beta/app_legal_protected.py# Build Docker image
docker build -t ysenseai:v4.5-beta .
# Run container
docker run -p 8501:8501 \
-e ANTHROPIC_API_KEY=your_key \
-e QWEN_API_KEY=your_key \
ysenseai:v4.5-betaCreate a .env file with your API keys:
# Anthropic Claude API (required)
ANTHROPIC_API_KEY=sk-ant-api03-...
# Alibaba Cloud Qwen API (required)
QWEN_API_KEY=sk-...
QWEN_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1
# Database (optional, defaults to SQLite)
DATABASE_PATH=./ysense_production.db
# Security (optional, auto-generated if not set)
JWT_SECRET=your_secret_key_hereGet API Keys:
- Claude: https://console.anthropic.com/
- Qwen: https://www.alibabacloud.com/help/en/model-studio/get-api-key
# Start the application
streamlit run v45_beta/app_legal_protected.pyNavigate to http://localhost:8501 and:
- Click "Register" tab
- Read and accept Privacy Policy and Terms of Service
- Acknowledge beta status
- Create your account
- Click "β¨ Submit Wisdom" in sidebar
- Write a story about a meaningful moment
- Click "Analyze Story" - AI extracts 5 perception layers
- Chat with AI to refine the 3-word distillation
- Choose Z-Protocol tier (Public/Personal/Cultural/Sacred/Therapeutic)
- Opt-in to AI training (optional, 15-30% revenue share)
- Click "πΎ Save Wisdom"
- Click "π My Library" in sidebar
- Search your submissions
- View quality scores
- Export individual wisdom (JSON/MD)
- Go to "βοΈ Settings"
- Click "Export All Data"
- Choose format (JSON for personal LLM, Markdown for notes, CSV for analysis)
- Download your complete wisdom library
- User Guide - Complete walkthrough
- Privacy Policy - GDPR-compliant privacy notice
- Terms of Service - Beta program terms
- FAQ - Frequently asked questions
- Architecture - System design and components
- API Reference - Internal API documentation
- Database Schema - SQLite schema and relationships
- Contributing Guide - How to contribute
- Code of Conduct - Community guidelines
- Z-Protocol v2.0 Specification - Complete framework
- Quality Metrics - Training optimization signals
- Attribution Engine - Cryptographic provenance
- Export Formats - JSONL, Alpaca, ShareGPT
Build your own wisdom library and export for personal LLM training:
# Export your wisdom for personal LLM
import json
with open('my_wisdom.json', 'r') as f:
wisdom = json.load(f)
# Use with Llama, Mistral, or any open-source model
# Fine-tune on your personal reflectionsShare traditional knowledge with community attribution:
- Submit cultural stories with CULTURAL tier
- Community approval required before AI training
- Benefit sharing with cultural communities (25% + fund)
- Anti-appropriation protections
Contribute anonymized therapeutic content:
- Submit mental health journeys with THERAPEUTIC tier
- Medical ethics oversight
- Research fund contribution (25% + fund)
- Professional validation required
Export training-ready datasets for AI labs:
# Export all training-ready submissions
python v45_beta/exports/export_pipeline.py \
--format alpaca \
--min-quality 0.7 \
--output datasets/ysense_training_data.jsonlStudy ethical AI data practices:
- Analyze consent patterns
- Study quality metrics
- Research attribution systems
- Investigate revenue sharing models
- Story-first AI-native UX
- Collaborative 3-word distillation
- Z-Protocol v2.0 integration
- GDPR-compliant privacy
- Attribution engine (SHA-256 + DID)
- Quality metrics (6 signals)
- Export pipeline (JSONL, Alpaca, ShareGPT)
- HuggingFace Wisdom Canvas demo deployed
The validation backbone for YSenseAI β VerifiMind PEAS reached its Foundation milestone:
- SessionContext tracing for per-run debugging
- Error handling v2 with structured responses
- Health endpoint v2 with richer diagnostics
- BYOK hardening (retry logic, graceful degradation)
- 205 automated tests, 55.1% coverage
- Z-Protocol Approved (9.2/10)
- Fully self-hosted on GCP Cloud Run
- Landing page live at verifimind.io
- Blockchain integration (Ethereum/Polygon)
- Smart contracts for revenue distribution
- IPFS/Arweave storage
- Mobile app (iOS/Android)
- Multi-language support (10+ languages)
- Community features (sharing, comments)
- VerifiMind-PEAS API (attribution as a service)
- Platform partnerships (integrate with other platforms)
- AI lab marketplace (sell datasets directly)
- Advanced analytics dashboard
- Automated quality validation
- Cultural community governance
- Industry Standard: Z-Protocol adopted by 100+ platforms
- Ecosystem: 10,000+ users contributing ethical AI training data
- Revenue: $1M+ distributed to content creators
- Impact: Change how AI models are trained globally
We welcome contributions from developers, researchers, and community members!
- Code: Fix bugs, add features, improve performance
- Documentation: Write guides, tutorials, translations
- Research: Study ethical AI practices, publish findings
- Community: Help users, answer questions, organize events
- Feedback: Report bugs, suggest features, share use cases
- Read CONTRIBUTING.md
- Check open issues3. Join our Discord (coming soon)
- Fork the repository and submit a pull request
# Clone your fork
git clone https://github.com/creator35lwb-web/YSense-AI-Attribution-Infrastructure.git
cd YSense-AI-Attribution-Infrastructure
# Create feature branch
git checkout -b feature/your-feature-name
# Install dev dependencies
pip install -r requirements_dev.txt
# Run tests
pytest tests/
# Submit pull request
git push origin feature/your-feature-nameIf you use YSenseAI in your research, please cite:
@software{ysenseai_v45_beta,
author = {Alton (creator35lwb)},
title = {YSenseAI: Ethical AI Training Data Platform},
version = {4.5-beta},
year = {2025},
month = {11},
url = {https://github.com/creator35lwb-web/YSense-AI-Attribution-Infrastructure},
doi = {10.5281/zenodo.17737995}
}
@misc{zprotocol_v2,
author = {Alton (creator35lwb)},
title = {Z-Protocol v2.0: Ethical Framework for AI Attribution and Cultural Protection},
year = {2025},
month = {11},
url = {https://doi.org/10.5281/zenodo.17072168},
doi = {10.5281/zenodo.17072168}
}See CITATION.cff for machine-readable citation metadata.
YSenseAI platform code is licensed under the MIT License.
MIT License
Copyright (c) 2025 Alton (creator35lwb)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
[Full license text in LICENSE file]
Z-Protocol v2.0 framework is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0).
This means:
- β You can use Z-Protocol in your projects
- β You can modify and adapt it
- β You must give appropriate credit
- β You must share adaptations under the same license
See LICENSE-ZPROTOCOL for details.
- Streamlit: Apache 2.0
- Anthropic Claude: Commercial API (requires key)
- Alibaba Cloud Qwen: Commercial API (requires key)
See THIRD_PARTY_LICENSES.md for complete list.
- Founder & Human Orchestrator: Alton (creator35lwb)
- Z-Protocol Design: Community-driven ethical framework
- Platform Development: Open-source contributors
- CSO R (Manus AI): Strategy, public materials, landing page
- CTO RNA (Claude Code): Implementation, testing, deployment
- COO AY (Antigravity): Metrics validation, operational reports
- L (Human Orchestrator): Direction, synthesis, final decisions
- Anthropic: Claude API for AI analysis and distillation
- Alibaba Cloud: Qwen API for quality metrics
- Beta testers who provided invaluable feedback
- Open-source contributors who improved the platform
- Cultural communities who shaped the Z-Protocol
- Creative Commons: For showing how open licensing can change the world
- GDPR: For setting the standard for user privacy rights
- Indigenous Data Sovereignty: For teaching us about cultural protection
- Website: https://ysenseai.org
- VerifiMind PEAS: https://verifimind.io
- HuggingFace: https://huggingface.co/spaces/YSenseAI/wisdom-canvas
- Email: alton@ysenseai.org or creator35lwb@gmail.com
- Privacy: alton@ysenseai.org or creator35lwb@gmail.com
- Legal: alton@ysenseai.org or creator35lwb@gmail.com
- GitHub: https://github.com/creator35lwb-web/YSense-AI-Attribution-Infrastructure
- Discord: Not yet available (planned for v5.0)
- Twitter: https://x.com/creator35lwb
If you find YSenseAI useful, please star the repository to show your support!
Built with β€οΈ for ethical AI development
Β© 2025-2026 Alton (creator35lwb) | MIT License | Z-Protocol v2.0 | VerifiMind PEAS