NorthBuilt RAG System Documentation

Production-ready serverless RAG system on AWS with S3 Vectors.

Quick Start by Role

New Engineers

  1. Project Overview - Understand the system
  2. Initial Setup - Configure your environment
  3. Testing Guide - Test components and APIs
  4. Contributing - Development workflow

DevOps / Infrastructure

  1. Pre-Deployment Checklist - Verify prerequisites
  2. Bootstrap Guide - Set up AWS foundation
  3. Deployment Guide - Deploy infrastructure
  4. Monitoring - CloudWatch dashboards and alarms

Operations

  1. Operations Runbook - Day-to-day procedures
  2. Data Ingestion - Add documents to the system
  3. Troubleshooting - Common issues and solutions

Documentation Categories

Setup

Get started with the system.

Architecture

Understand how the system works.

Operations Guides

Deploy and maintain the system.

Development

Contribute to the project.

Infrastructure

Deep dive into Terraform and AWS.

Reference

API and configuration reference.

System Stats

Metric Value
Monthly Cost $137-147/month (1K queries)
Query Latency <2s p95 (end-to-end)
Vector Search <25ms p95 (S3 Vectors)
Architecture 100% serverless (Lambda, API Gateway)
LLM Claude Sonnet 4.5 via Bedrock
Vector DB S3 Vectors (1024-dim, cosine)
Auth Cognito + Google OAuth
Deployment GitHub Actions with OIDC

Quick Reference

Common Commands

# Deploy infrastructure
cd terraform && terraform apply

# View logs
aws logs tail /aws/lambda/nb-rag-sys-chat --follow

# Test API endpoint
curl -X POST https://[api-url]/chat \
  -H "Authorization: Bearer [jwt]" \
  -d '{"query": "test"}'

# Check system health
./scripts/morning-health-check.sh

# Check S3 Vectors status
aws s3api head-bucket --bucket nb-rag-sys-vectors
  • GitHub Repository: https://github.com/craftcodery/compass
  • GitHub Pages Docs: https://craftcodery.github.io/compass
  • CHANGELOG: View on GitHub
  • AWS Console: https://console.aws.amazon.com

Getting Help

  • Documentation: Browse this site
  • Issues: https://github.com/craftcodery/compass/issues
  • Discussions: https://github.com/craftcodery/compass/discussions
  • Support: security@yourcompany.com (for security issues)

Documentation last updated: 2025-12-30