AI-powered style profile generation for healthcare providers. Capture your unique communication voice and documentation style to enable AI systems that sound authentically like you.
ProviderTone helps healthcare providers create detailed style profiles through two methods:
- Web Application - Interactive interrogation wizard that guides providers through examples and questions to extract their communication patterns
- Local CLI Tool - Extract profiles from existing clinical notes and portal messages (PHI stays on your infrastructure)
providertone/
├── app/ # Next.js web application
├── components/ # React components
├── lib/ # Shared utilities
├── providertone-local/ # Python CLI for local profile extraction
└── docs/ # Specifications and plans
The Next.js web application provides an interactive wizard for providers to create their style profiles.
# Install dependencies
npm install
# Run development server
npm run dev
# Open http://localhost:3000- Interactive messaging style interrogation
- Documentation style capture
- Real-time profile preview
- JSON export compatible with AI systems
- Demo playground for testing generated profiles
For organizations that need to extract profiles from existing clinical data without uploading PHI.
cd providertone-local
# Create virtual environment
python -m venv .venv
source .venv/bin/activate
# Install
pip install -r requirements.txt
pip install -e .
# Configure API key
cp .env.example .env
# Edit .env with your ANTHROPIC_API_KEY
# Run extraction
providertone extract \
--messages exports/messages.csv \
--notes exports/notes/ \
--provider-id dr-smith \
--output profiles/dr-smith.json- Runs 100% locally - PHI never leaves your infrastructure
- Supports CSV, JSON, and text file exports from any EHR
- Uses Claude API (with BAA) or local LLMs for air-gapped environments
- Outputs website-compatible JSON style profiles
- Built-in PHI detection and automatic redaction
See providertone-local/README.md for full documentation.
Both tools generate profiles in the same JSON format:
{
"exportedAt": "2026-01-11T12:00:00.000Z",
"providerId": "dr-smith",
"messaging": {
"generatedProfile": {
"surfacePatterns": { ... },
"toneDimensions": { ... },
"negativeConstraints": { ... },
"judgmentPatterns": { ... },
"signatureMoves": [ ... ],
"voiceSummary": "..."
}
},
"documentation": {
"generatedProfile": {
"structuralPatterns": { ... },
"voiceDimensions": { ... },
"standardPhrasings": { ... },
"visitTypeVariations": { ... }
}
}
}- AI Draft Generation - Enable AI to write portal messages in the provider's voice
- Documentation Assistance - Generate clinical notes matching provider style
- Quality Consistency - Maintain voice across AI-assisted communications
- Training Data - Create examples for fine-tuning models
- Next.js 14+ (App Router)
- React 18+
- TypeScript
- Tailwind CSS
- Vercel deployment
- Python 3.9+
- Click (CLI framework)
- Anthropic SDK (Claude API)
- Rich (terminal UI)
- Pandas (data processing)
npm run dev # Development server
npm run build # Production build
npm run lint # Run lintercd providertone-local
source .venv/bin/activate
pip install -e ".[dev]" # Install with dev dependencies
pytest # Run tests
black src/ # Format code
ruff src/ # LintMIT License