Case study · Generative AI on AWS
A retrieval-augmented chat agent built on Amazon Bedrock.
Coastal Properties is a leasing and resident-support chat agent for a property manager. It answers from the manager’s own documents, stays current as documents are added, and restricts what each person can retrieve according to their role.
- Industry
- Property management
- Use case
- Retrieval-augmented chat agent for leasing and resident support
- Core services
- Amazon Bedrock, Amazon S3 Vectors, AWS Lambda
AWS services used
Also used: Python, LangGraph, Terraform, GitHub Actions.
Challenge
Making property documents answerable.
A property manager’s knowledge lives in documents: leases, pet and parking policies and move-out forms, alongside staff-only material such as occupancy reports, work orders and vendor contracts. Residents and prospective tenants ask the same questions repeatedly, and the answers sit in files that are slow to search.
Three requirements shaped the design:
- Answers must be grounded in the manager’s own documents, and the agent must say so when the documents do not cover a question.
- New documents must become searchable without engineering work.
- Staff-only content must never be retrievable by a resident or a prospective tenant.
Solution
A serverless RAG pipeline on AWS.
The agent combines two paths: an ingestion pipeline that turns documents into labelled vectors, and a retrieval workflow that answers each question from the passages the caller is permitted to read.
Architecture
Request path and ingestion path.
Retrieval-augmented generation
RAG in action.
The screenshots below are taken from the deployed development environment, using sample documents for a fictional property. They show one question before and after documents are added, and a question that draws on several documents.
Initial state
Before documents are uploaded
The knowledge base holds no availability information. The agent does not speculate: it states that it could not find the answer and refers the visitor to the leasing office.

Ingestion
An administrator adds a document
An administrator uploads a Word document to a shared Google Drive folder, the document store for this environment. No further action is required.


Source document
available_rentals.docx
Ingestion workflow
- Read
- Embed
- Store
Search index
Any 2-bedrooms?
Unit 206 · $3,350 · available Nov 15
Retrieval
After documents are uploaded
New documents are picked up automatically. A synchronisation job copies each file from Google Drive to Amazon S3, and the object-created event is routed by Amazon EventBridge to an AWS Step Functions workflow that chunks, embeds and indexes the document. Shortly afterwards, the same question is answered from the new document. Further uploads extend what the agent knows: a narrower question retrieves passages from both documents, Unit 206 from the first and Unit 108 from the second.


Access control
Audience-aware retrieval.
Each chunk carries an audience label (public, tenant or admin) assigned from the location of its source document. The label is applied as a filter inside the vector query, so restricted passages are never retrieved for the wrong role. In the example below, both users ask for the March 2024 occupancy rate, which is held in a staff-only report.


Start a conversation
Contact me to discuss your projects, goals, or challenges.
Tell me what you are trying to accomplish and I’ll help identify the most practical next step.
A direct contact path
Submitting this form sends your message straight to our inbox and we'll reply from there. Prefer email directly? Use the address below instead.
info@crystal-edge-digital.com