Plan: Transitioning to Forward Deployed Engineer / AI Engineer
A phase-based roadmap for backend engineers moving into FDE and AI Engineer roles — decoding the title chaos, the applied LLM stack, and the interview loop.
A Jewish guidance companion for exploring sources, perspectives, and meaningful next steps.
EducationPython · JavaScriptGitHub @cheesejaguarLatest connection check failedOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full 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.