Local-first knowledge management system with BYO API keys. Features: - 3-panel UI (Nodes | Focus | Helpers) - SQLite + sqlite-vec for vector search - Agent system (Easy/Hard mode orchestrators) - Content extraction (YouTube, PDF, web) - Integrate workflow for connection discovery - Dimension system with auto-assignment Tech stack: - Next.js 15 + TypeScript + Tailwind CSS - Anthropic (Claude) + OpenAI (GPT) via Vercel AI SDK Setup: npm install && npm rebuild better-sqlite3 scripts/dev/bootstrap-local.sh npm run dev MIT License
25 lines
843 B
Bash
25 lines
843 B
Bash
# Database Configuration - SQLite (production ready)
|
|
# Paths are auto-detected if not specified
|
|
SQLITE_DB_PATH=/Users/<username>/Library/Application Support/RA-H/db/rah.sqlite
|
|
SQLITE_VEC_EXTENSION_PATH=./vendor/sqlite-extensions/vec0.dylib
|
|
|
|
# AI API Keys (main orchestrator + mini agents)
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
OPENAI_API_KEY=your-openai-api-key-here
|
|
|
|
# Optional overrides specifically for ra-h orchestration/delegation
|
|
RAH_ORCHESTRATOR_ANTHROPIC_API_KEY=
|
|
RAH_DELEGATE_OPENAI_API_KEY=
|
|
RAH_WISE_RAH_OPENAI_API_KEY= # Optional: GPT-5 for wise ra-h (falls back to OPENAI_API_KEY)
|
|
|
|
# Voice TTS defaults
|
|
RAH_TTS_MODEL=gpt-4o-mini-tts
|
|
RAH_TTS_VOICE=ash
|
|
RAH_TTS_COST_PER_1K_CHAR_USD=0.015
|
|
|
|
# Application Configuration
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
NEXT_PUBLIC_DEPLOYMENT_MODE=local
|