- Added drag-to-chat: drag any node into chat input to insert [NODE🆔"title"] - Added application/x-rah-node MIME type to all drag sources - New views folder: GridView, KanbanView, ListView, ViewFilters, ViewPanel - UI improvements: green pill node IDs, grid card fixes, dimension folder redesign - Drop handler in TerminalInput with visual feedback 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
RA-H Open Source
A local-first research workspace with the complete RA-H three-panel interface, vector search, content ingestion, workflows, and conversation agents. This edition removes the Mac packaging, hosted authentication, and subscription backend so you can run everything locally with your own API keys.
Features
- 3-Panel interface – Explore nodes, focus, and chat with the orchestrator in one view.
- Bring-your-own keys – Works with your Anthropic/OpenAI keys only; nothing is sent to RA-H.
- Local SQLite + sqlite-vec – Semantic search, workflows, and memories run on your machine.
- Content extraction – YouTube, PDF, and web extraction pipelines included.
- Extensible workflows – Integrate workflow + tool registry ship intact for further hacking.
Getting Started
Prerequisites
- Node.js 20+
- npm 10+
- SQLite with
sqlite-vecextension (prebuilt macOS binary is undervendor/sqlite-extensions/vec0.dylib; seedocs/2_schema.mdfor build instructions on Linux/Windows)
Install & Bootstrap
git clone https://github.com/bradwmorris/ra-h_os.git
cd ra-h_os
npm install
scripts/dev/bootstrap-local.sh # seeds SQLite schema + local env template
npm run dev # http://localhost:3000
When the UI loads, open Settings → API Keys and paste your OpenAI/Anthropic keys. They are stored locally via src/services/storage/apiKeys.ts.
Environment
.env.exampledocuments every supported variable and defaults toNEXT_PUBLIC_DEPLOYMENT_MODE=local.- Custom database paths: set
SQLITE_DB_PATHandSQLITE_VEC_EXTENSION_PATH. - No
.env.localships with the repo—run the bootstrap script to create yours.
Project Layout
app/ Next.js App Router entrypoints
components/ UI building blocks (auth/tauri removed)
docs/ Architecture + schema docs (updated for local mode)
scripts/ Local dev helpers (bootstrap, sqlite backup/restore, audits)
src/services/ Agents, embeddings, ingestion, storage, workflows
vendor/sqlite-extensions/vec0.dylib macOS sqlite-vec build
Development Scripts
npm run dev– Local Next.js dev server (local mode forced)npm run build/npm start– Production build/start in local-only modenpm run lint,npm run type-check– Quality gatesnpm run sqlite:backup/npm run sqlite:restore– Database snapshots
Documentation
docs/0_overview.md– Product backgrounddocs/1_architecture.md– Agents, tools, and workflow internalsdocs/2_schema.md– SQLite schema + sqlite-vec setupdocs/4_tools-and-workflows.md– Tool registry + workflow guidedocs/9_open-source.md– Local BYO-key process tracking
Private runbooks, Supabase CRM docs, and Mac packaging instructions were removed from this tree. See docs/os_docs/2025-02-09-open-source-porting-notes.md for details on what was changed from the private repo.
Contributing
Issues and PRs are welcome! Please open a draft PR with context on the feature/fix, list any new environment requirements, and include manual test notes. See CONTRIBUTING.md for the lightweight guidelines.
License
Released under the MIT License. By contributing you agree that your code is provided under the same license.