Plan: Transitioning to Forward Deployed Engineer / AI Engineer
백엔드 엔지니어가 FDE·AI 엔지니어로 전환하기 위한 단계별 로드맵
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗A source-aware Jewish guidance companion for exploring thought, practice, law, ethics, and spirituality across levels of knowledge and observance.
rebbe.dev is a conversational companion for questions of Jewish thought, practice, law, ethics, and spirituality. Each answer holds four commitments: pastoral context (how to respond), the halachic landscape (the range of views), moral seriousness (dignity, no harm), and an honest rabbinic voice. Since pipeline v2, these live in one carefully written constitution answered by a single cached, streamed Claude Sonnet 5.5 call (served through Vercel AI Gateway), wrapped in layered guardrails:
See docs/REWRITE_PLAN.md, docs/SAFETY.md, and docs/BUSINESS_PLAN.md. The original four-agent pipeline is kept as a fallback (PIPELINE_VERSION=v1, or GATEWAY=openrouter).
Important: This is guidance, not binding psak (legal ruling). A rabbi who knows you personally may counsel differently.
/privacy and Terms of Service at /terms (ages 13+)Clone the repository
git clone https://github.com/cheesejaguar/rabbi.git
cd rabbi
Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
Install dependencies
uv sync
Configure environment variables
cp .env.example .env
Edit .env and add your API keys:
GATEWAY=vercel
AI_GATEWAY_API_KEY=your-ai-gateway-key
# Optional: WorkOS for authentication
WORKOS_API_KEY=your-workos-api-key
WORKOS_CLIENT_ID=your-workos-client-id
Run the application
./run.sh
Or manually:
uv run uvicorn backend.app.main:app --host 0.0.0.0 --port 8000 --reload
Open in browser
Navigate to http://localhost:8000
# Build and run
docker compose up -d
# View logs
docker compose logs -f
# Stop
docker compose down
# Build
docker build -t rebbe .
# Run
docker run -p 8000:8000 --env-file .env rebbe
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov=backend/app --cov-report=term-missing
# Run specific test file
uv run pytest backend/tests/test_agents.py -v
rabbi/
├── backend/
│ ├── app/
│ │ ├── agents/ # Multi-agent system
│ │ │ ├── base.py # Base agent class and data models
│ │ │ ├── pastoral.py # Pastoral context analysis
│ │ │ ├── halachic.py # Halachic reasoning
│ │ │ ├── moral.py # Ethical assessment
│ │ │ ├── voice.py # Response generation
│ │ │ └── orchestrator.py
│ │ ├── auth.py # WorkOS SSO authentication
│ │ ├── config.py # Settings and configuration
│ │ ├── database.py # PostgreSQL database operations
│ │ ├── payments.py # Stripe payment processing
│ │ ├── main.py # FastAPI application
│ │ └── models.py # Pydantic models
│ └── tests/ # Test suite
├── frontend/
│ ├── landing.html # Public Source Loom landing page
│ ├── index.html # Signed-in conversation workspace
│ ├── admin.html # Role-protected operations workspace
│ ├── brand.css # Shared Braided Light design tokens
│ ├── theme.js # System/light/dark preference behavior
│ ├── app.js # Conversation application behavior
│ └── assets/ # Local fonts, icons, identity, and imagery
├── pyproject.toml # Project dependencies
├── uv.lock # Locked dependencies
└── Dockerfile
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/health | Health check |
| GET | /api/greeting | Get welcome message |
| POST | /api/chat | Send message (non-streaming) |
| POST | /api/chat/stream | Send message (streaming SSE) |
| GET | /auth/login | Initiate SSO login |
| GET | /auth/logout | Log out |
| GET | /auth/check | Check authentication status |
| GET | /api/payments/packages | Get available credit packages |
| POST | /api/payments/create-intent | Create Stripe PaymentIntent |
| POST | /api/payments/webhook | Stripe webhook handler |
| Variable | Required | Description |
|---|---|---|
OPENROUTER_API_KEY | Yes | OpenRouter API key for LLM access |
OPENROUTER_BASE_URL | No | OpenRouter API base URL (default: https://openrouter.ai/api/v1) |
LLM_MODEL | No | Model to use (default: anthropic/claude-sonnet-5) |
WORKOS_API_KEY | No | WorkOS API key for SSO |
WORKOS_CLIENT_ID | No | WorkOS client ID |
WORKOS_REDIRECT_URI | No | OAuth callback URL |
SESSION_SECRET_KEY | No | Secret for session tokens |
STRIPE_SECRET_KEY | No | Stripe secret key for payments |
STRIPE_PUBLISHABLE_KEY | No | Stripe publishable key for frontend |
STRIPE_WEBHOOK_SECRET | No | Stripe webhook signing secret |
DATABASE_URL | No | PostgreSQL connection URL |
The system uses a pipeline architecture where each agent processes the user's message in sequence:
User Message
│
▼
┌─────────────────────┐
│ Pastoral Context │ Determines HOW to respond
│ Agent │ (tone, authority level)
└─────────────────────┘
│
▼
┌─────────────────────┐
│ Halachic Reasoning │ Provides legal landscape
│ Agent │ (majority/minority views)
└─────────────────────┘
│
▼
┌─────────────────────┐
│ Moral-Ethical │ Ensures dignity preserved
│ Agent │ (may trigger reconsideration)
└─────────────────────┘
│
▼
┌─────────────────────┐
│ Meta-Rabbinic │ Crafts final response
│ Voice Agent │ (warm, humble tone)
└─────────────────────┘
│
▼
Final Response
This project operates on several key principles:
We welcome contributions! Please see CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.