RAGStack-Lambda
About
Serverless document and media processing with AI chat.
Details
- Author
- hatmanstack
- Categories
- File Management, Cloud Service, AI, Knowledge Base, Other
Jump to
Option 1: One-Click Deploy (AWS Marketplace)
REPO IS IN ACTIVE DEVELOPMENT AND WILL CHANGE OFTEN
Deploy directly from the AWS Console - no local setup required:
- Check your email for the temporary password (from Cognito)
- Go to CloudFormation → your stack →Outputstab to find the Dashboard URL (UIUrl)
- AWS Account with admin access
- Python 3.13+, Node.js 24+
- uv(Python package manager)
- AWS CLI, SAM CLI (configured)
- Docker (for Lambda layer builds)
git clone https://github.com/HatmanStack/RAGStack-Lambda.git cd RAGStack-Lambda # Install dependencies uv sync # Deploy (defaults to us-east-1 for Nova Multimodal Embeddings) python publish.py \ --stack-name my-docs \ --admin-email admin@example.com
Deploy RAGStack as part of a larger CloudFormation stack. SeeNested Stack Deployment Guidefor details.
Resources: RAGStack: Type: AWS::CloudFormation::Stack Properties: TemplateURL: https://ragstack-quicklaunch-public.s3.us-east-1.amazonaws.com/ragstack-template.yaml Parameters: StackPrefix: 'my-app-ragstack' # Required: lowercase prefix AdminEmail: admin@example.com
SeeRAGSTACK_CHAT.mdfor web component integration guide.
Server-side integrationsuse API key authentication. Get your key from Dashboard → Settings.
curl -X POST 'YOUR_GRAPHQL_ENDPOINT' \ -H 'x-api-key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"query": "query { searchKnowledgeBase(query: \"...\") { results { content } } }"}'
Web componentuses IAM auth (no API key needed - handled automatically).
Each UI tab shows server-side API examples in an expandable section.
Use your knowledge base directly in Claude Desktop, Cursor, VS Code, Amazon Q CLI, and other MCP-compatible tools.
# Install (or use uvx for zero-install) pip install ragstack-mcp
Add to your AI assistant's MCP config:
{ "ragstack-kb": { "command": "uvx", "args": ["ragstack-mcp"], "env": { "RAGSTACK_GRAPHQL_ENDPOINT": "YOUR_ENDPOINT", "RAGSTACK_API_KEY": "YOUR_API_KEY" } } }
Then ask naturally:"Search my knowledge base for authentication docs"
SeeMCP Server docsfor full setup instructions.
Upload → OCR → Embeddings → Bedrock KB ↓ Web UI (Dashboard + Chat) ←→ GraphQL API ↓ Web Component ←→ AI Chat with Sources
Upload documents in various formats. Auto-detection routes to optimal processor:
Processing time: UPLOADED → PROCESSING → INDEXED (typically 1-5 min for text, 2-15 min for OCR, 5-20 min for media)
Upload JPG, PNG, GIF, WebP with captions. Both visual content and caption text are searchable.
Scrape websites into the knowledge base. SeeWeb Scraping.
Upload MP4, WebM, MP3, WAV, M4A, OGG, or FLAC files. Speech is transcribed using AWS Transcribe and segmented into 30-second chunks for search. Sources include timestamps (e.g., "1:30-2:00") with clickable links that play at the exact position.
- Speaker diarization (identify who said what)
- Configurable language (30+ languages supported)
- Timestamp-linked sources in chat responses
SeeConfigurationfor language and speaker settings.
Ask questions about your content. Sources show where answers came from.
- Configuration- Settings, quotas, API keys & document management
- Nested Stack Deployment- Deploy as part of larger CloudFormation stack
- Image Upload- Image upload and captioning
- Web Scraping- Scrape websites
- Metadata Filtering- Auto-discover metadata and filter results
- Chat Component- Embed chat anywhere
- API Reference- GraphQL API documentation
- Architecture- System design & API reference
- Development- Local dev
- Migration- Version migration guide
- Troubleshooting- Common issues
- [Library Reference- Public API for lib/ragstack_common
npm run check # Lint + test all (backend + frontend)
# Full deployment (defaults to us-east-1) python publish.py --stack-name myapp --admin-email admin@example.com # Skip dashboard build (still builds web component) python publish.py --stack-name myapp --admin-email admin@example.com --skip-ui # Skip ALL UI builds (dashboard and web component) python publish.py --stack-name myapp --admin-email admin@example.com --skip-ui-all # Enable demo mode (rate limits: 5 uploads/day, 30 chats/day; disables reindex/reprocess/delete) python publish.py --stack-name myapp --admin-email admin@example.com --demo-mode
Serverless document and media processing with AI chat.
Serverless document and media processing with AI chat. Scale-to-zero architecture — no vector database fees, no idle costs. Upload documents, images, video, and audio — extract text with OCR or transcription — query using Amazon Bedrock or your AI assistant via MCP.
- ☁️ Fully serverless architecture (Lambda, Step Functions, S3, DynamoDB)
- 🧠NEWAmazon Nova multimodal embeddings for text and image vectorization
- 📄 Document processing & vectorization (PDF, images, Office docs, HTML, CSV, JSON, XML, EML, EPUB) → stored in managed knowledge base
- 🎬NEWVideo/audio processing - transcribe speech with AWS Transcribe, searchable by timestamp
- 💬 AI chat with retrieval-augmented context and source attribution
- 📎 Collapsible source citations with optional document downloads
- ⏱️NEWMedia sources with timestamp links - click to play at exact position
- 🔍 Metadata filtering - auto-discover document metadata and filter search results
- 🎯 Relevancy boost for filtered results - prioritize matches from metadata filters
- 🔄 Knowledge Base reindex - regenerate metadata for existing documents with updated settings
- 🗑️ Document management - reprocess, reindex, or delete documents from the dashboard
- 🌐 Web component for any framework (React, Vue, Angular, Svelte)
- 🚀 One-click deploy
- 💰 $7-10/month (1000 docs, Textract + Haiku)
Base Pipeline: The core document processing tool - upload, OCR, and query documents.
Project Showcase: See RAGStack powering a real application.
Option 1: One-Click Deploy (AWS Marketplace)
REPO IS IN ACTIVE DEVELOPMENT AND WILL CHANGE OFTEN
Deploy directly from the AWS Console - no local setup required:
- Check your email for the temporary password (from Cognito)
- Go to CloudFormation → your stack →Outputstab to find the Dashboard URL (UIUrl)
- AWS Account with admin access
- Python 3.13+, Node.js 24+
- uv(Python package manager)
- AWS CLI, SAM CLI (configured)
- Docker (for Lambda layer builds)
git clone https://github.com/HatmanStack/RAGStack-Lambda.git cd RAGStack-Lambda # Install dependencies uv sync # Deploy (defaults to us-east-1 for Nova Multimodal Embeddings) python publish.py \ --stack-name my-docs \ --admin-email admin@example.com
Deploy RAGStack as part of a larger CloudFormation stack. SeeNested Stack Deployment Guidefor details.
Resources: RAGStack: Type: AWS::CloudFormation::Stack Properties: TemplateURL: https://ragstack-quicklaunch-public.s3.us-east-1.amazonaws.com/ragstack-template.yaml Parameters: StackPrefix: 'my-app-ragstack' # Required: lowercase prefix AdminEmail: admin@example.com
SeeRAGSTACK_CHAT.mdfor web component integration guide.
Server-side integrationsuse API key authentication. Get your key from Dashboard → Settings.
curl -X POST 'YOUR_GRAPHQL_ENDPOINT' \ -H 'x-api-key: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"query": "query { searchKnowledgeBase(query: \"...\") { results { content } } }"}'
Web componentuses IAM auth (no API key needed - handled automatically).
Each UI tab shows server-side API examples in an expandable section.
Use your knowledge base directly in Claude Desktop, Cursor, VS Code, Amazon Q CLI, and other MCP-compatible tools.
# Install (or use uvx for zero-install) pip install ragstack-mcp
Add to your AI assistant's MCP config:
{ "ragstack-kb": { "command": "uvx", "args": ["ragstack-mcp"], "env": { "RAGSTACK_GRAPHQL_ENDPOINT": "YOUR_ENDPOINT", "RAGSTACK_API_KEY": "YOUR_API_KEY" } } }
Then ask naturally:"Search my knowledge base for authentication docs"
SeeMCP Server docsfor full setup instructions.
Upload → OCR → Embeddings → Bedrock KB ↓ Web UI (Dashboard + Chat) ←→ GraphQL API ↓ Web Component ←→ AI Chat with Sources
Upload documents in various formats. Auto-detection routes to optimal processor:
Processing time: UPLOADED → PROCESSING → INDEXED (typically 1-5 min for text, 2-15 min for OCR, 5-20 min for media)
Upload JPG, PNG, GIF, WebP with captions. Both visual content and caption text are searchable.
Scrape websites into the knowledge base. SeeWeb Scraping.
Upload MP4, WebM, MP3, WAV, M4A, OGG, or FLAC files. Speech is transcribed using AWS Transcribe and segmented into 30-second chunks for search. Sources include timestamps (e.g., "1:30-2:00") with clickable links that play at the exact position.
- Speaker diarization (identify who said what)
- Configurable language (30+ languages supported)
- Timestamp-linked sources in chat responses
SeeConfigurationfor language and speaker settings.
Ask questions about your content. Sources show where answers came from.
- Configuration- Settings, quotas, API keys & document management
- Nested Stack Deployment- Deploy as part of larger CloudFormation stack
- Image Upload- Image upload and captioning
- Web Scraping- Scrape websites
- Metadata Filtering- Auto-discover metadata and filter results
- Chat Component- Embed chat anywhere
- API Reference- GraphQL API documentation
- Architecture- System design & API reference
- Development- Local dev
- Migration- Version migration guide
- Troubleshooting- Common issues
- Library Reference- Public API for lib/ragstack_common
npm run check # Lint + test all (backend + frontend)
# Full deployment (defaults to us-east-1) python publish.py --stack-name myapp --admin-email admin@example.com # Skip dashboard build (still builds web component) python publish.py --stack-name myapp --admin-email admin@example.com --skip-ui # Skip ALL UI builds (dashboard and web component) python publish.py --stack-name myapp --admin-email admin@example.com --skip-ui-all # Enable demo mode (rate limits: 5 uploads/day, 30 chats/day; disables reindex/reprocess/delete) python publish.py --stack-name myapp --admin-email admin@example.com --demo-mode
Publish to AWS Marketplace (Maintainers)
To update the one-click deploy template:
This packages the application and uploads to S3 for one-click deployment.
Note:Currently requires us-east-1 (Nova Multimodal Embeddings). When available in other regions, use--region <region>.
- Accelerated Intelligent Document Processing on AWS- AWS Solutions Library reference architecture
- docs-mcp-server- MCP server for documentation search
Interact with The Drive AI files directly from AI assistants like ChatGPT or Claude using the Model Context Protocol (MCP).
Production-ready RAG out of the box to search and retrieve data from your own documents.
A document question-and-answer server powered by Langflow.
Persistent memory for AI agents. Store and retrieve files via 14 MCP tools with OAuth 2.0 auth. Free 10GB tier.
Persistent cloud memory for AI agents via MCP Streamable HTTP. Store, retrieve, and search key-value memories across sessions and devices. Trial account auto-created on first use.
Retrieve files like PDFs from an AWS S3 bucket. Requires AWS credentials for access.
Publish HTML, Markdown, KV, JSON, files to brewpage.app from AI assistants.
An MCP server for interacting with Dropbox files and services.
A read-only MCP server by CData that allows LLMs to query live Dropbox data. Requires the CData JDBC Driver for Dropbox.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.

