brainy/docs/README.md
David Snelling e838327a22 feat: add frozen flag for complete immutability and simplify README examples
- Add frozen flag to separate data immutability from performance optimizations
  - readOnly: prevents data mutations but allows index optimizations (default behavior)
  - frozen: prevents ALL changes including statistics and index updates
  - Smart default: frozen=false when readOnly=true for optimal performance

- Add comprehensive documentation for read-only and frozen modes
  - Created docs/guides/readonly-frozen-modes.md with detailed guide
  - Added examples for compliance, forensics, and testing use cases
  - Updated all documentation indexes with new guide links

- Simplify README.md to emphasize unified API
  - Clearer demonstration that same code works everywhere
  - Simplified framework examples showing consistent API
  - Better noun/verb examples for entities and relationships
  - Collapsible sections for cloud platform examples
  - Environment auto-detection table

- Add tests for frozen flag behavior
  - Test readOnly without frozen (allows optimizations)
  - Test frozen mode (complete immutability)
  - Test dynamic mode switching

BREAKING CHANGE: readOnly behavior changed - now allows optimizations by default.
To get old behavior (complete immutability), use readOnly: true with frozen: true.
2025-08-06 09:52:45 -07:00

6.8 KiB

Brainy Documentation

Welcome to the comprehensive documentation for Brainy - the intelligent vector graph database with zero-configuration setup and production-scale performance.

📚 Documentation Structure

🚀 Getting Started

Quick setup guides and first steps with Brainy.

📖 User Guides

Comprehensive guides for using Brainy features.

Optimization Guides

Performance optimization and scaling strategies.

🔧 API Reference

Complete API documentation and examples.

🛠️ Development

Development, testing, and contribution guides.

🔬 Technical Reference

Deep technical documentation and implementation details.

💡 Examples

Code examples and tutorials.

🔍 Troubleshooting

Common issues and solutions.

🗺️ Quick Navigation

New to Brainy?

  1. Installation Guide - Install Brainy
  2. Quick Start Guide - Your first vector database
  3. Basic Usage Examples - Simple code examples

Need Performance?

  1. Large-Scale Optimizations - Enterprise features
  2. Auto-Configuration - Zero-config setup
  3. Performance Examples - Optimization patterns

Building Applications?

  1. API Reference - Complete API documentation
  2. User Guides - Feature documentation
  3. Integration Examples - Real-world usage

Contributing?

  1. Developer Guide - Development setup
  2. Documentation Standards - Writing docs
  3. Testing Guide - Testing practices

🔄 Recently Updated

📞 Getting Help


📝 Note: This documentation is automatically organized and regularly updated. All guides include practical examples and are tested with the latest version of Brainy.