Prerequisites
- Python 3.9 or higher
- API keys for OpenRouter (or Anthropic) and Linq
- A phone number for testing
Quick Setup
Test the SMS handler pipeline
Dry-run a message to verify everything works:You should see the full pipeline output including context loading, AI response, and enforcement checks.
Create your first family
Set up a test family directory:Create Create
fork/workspace/families/test-family/routing.json:fork/workspace/families/test-family/family.md:Send your first message
Process a real message (without —dry-run to actually send):The agent will:
- Resolve your phone number to the test family
- Load the family context
- Generate a personalized response
- Return the response (or send via Linq if configured)
Verify It’s Working
You’ve successfully set up CareSupport if:✅ Dry-run succeeds
sms_handler.py —dry-run completes without errors
✅ Context loads
You see family.md content in the pipeline output
✅ AI responds
The agent generates a contextual response
✅ Enforcement runs
PHI audit logs and role filtering execute
Common Issues
Phone number not found
Phone number not found
Make sure the phone number in routing.json matches exactly (E.164 format with country code):
- ✅ Correct:
"+16515551234" - ❌ Wrong:
"651-555-1234"or"6515551234"
API key errors
API key errors
Check that your .env file is in the project root and contains valid keys:
CARESUPPORT_ROOT not found
CARESUPPORT_ROOT not found
Set the absolute path in your .env file:Or let runtime/config.py auto-detect it (works if .env is in project root).
Import errors
Import errors
Make sure you’re running commands from the project root and Python can find runtime modules:
Next Steps
Configure your setup
Customize paths, AI backend, and Linq integration
Add your family
Set up a real family with members and care context
Explore protocols
Learn about the 16 care coordination protocols
Run tests
Verify system integrity with the test suite