Skip to content
DigitalNeuron
Tools & products

AWS Shows How to Use Crawl4AI to Prepare Web Content for Bedrock Knowledge Bases

AWS published a technical guide showing how to use the open source Crawl4AI crawler to prepare web content for ingestion into Amazon Bedrock Knowledge Bases.

By DigitalNeuron Desk3 min read

Quick answer

What did AWS announce about using Crawl4AI with Amazon Bedrock Knowledge Bases?

AWS published a blog post describing a method for preparing web content for Amazon Bedrock Knowledge Bases using Crawl4AI, an open source Python crawler. The approach converts pages to Markdown with metadata, stores them in Amazon S3, and feeds them into a knowledge base for retrieval augmented generation, offering more control than the built-in Web Crawler connector.

Key takeaways

  • AWS published a blog post on 2026-11-02 describing how to prepare web content for Amazon Bedrock Knowledge Bases using Crawl4AI, an open source Python crawler.
  • AWS says the method is intended for cases where the built-in Amazon Bedrock Web Crawler connector does not provide enough control, such as needing to index only the main content region of a page, strip boilerplate, or attach custom metadata.
  • According to AWS, the Crawl4AI preparation step writes Markdown files and a metadata sidecar for each page to Amazon S3, which the knowledge base then ingests through its S3 data source connector.
  • AWS describes the sample workflow as running an AWS Fargate task, triggered by Amazon EventBridge on a schedule, that crawls configured public websites, uploads prepared files to S3, and starts a Bedrock Knowledge Bases ingestion job.
  • AWS states this is a batch ingestion method for known web properties and is not real-time web access at inference time, and that the workflow processes public pages only without authenticated sessions.

Amazon Web Services published a technical blog post on November 2, 2026, describing a method for preparing web content before it is ingested into Amazon Bedrock Knowledge Bases, a managed retrieval augmented generation (RAG) capability within Amazon Bedrock.

The post, written by AWS employees Daxeshkumar Patel, Abhishek Shukla, and Bhavesh Rathod, presents a preparation step built on Crawl4AI, an open source Python crawler, as a complement to the existing Amazon Bedrock Web Crawler data source connector.

What AWS says the Web Crawler connector does

According to AWS, the Amazon Bedrock Web Crawler connector is the starting point for most public website content. Users supply seed URLs or sitemaps they are authorized to crawl, and the connector operates within scope and rate limits the user sets. AWS says the connector respects robots.txt, can wait for JavaScript-loaded content, and performs scheduled syncs that capture only added, updated, and deleted content after the first full crawl.

Why AWS introduces the Crawl4AI path

AWS says some sources need more control than the built-in connector provides. The company lists three cases where it recommends the Crawl4AI preparation step instead:

  • Structured Markdown preparation using a tool called DefaultMarkdownGenerator with a pruning content filter, intended to reduce navigation and boilerplate while preserving headings, lists, and tables. AWS notes pruning is heuristic and recommends reviewing representative output.
  • Bounded, targeted extraction of only the page region matched by an optional CSS selector, with traversal constrained by seed origin, scope, depth, page caps, and URL patterns.
  • Custom metadata, including source URLs, crawl timestamps, content type, and other attributes attached to each document for filtering retrieval results.

AWS states that because both managed and customer-managed knowledge bases support Amazon S3 data sources, the Crawl4AI path works with either type. The blog post uses a managed knowledge base as its example.

How the workflow operates

AWS describes a sample workflow, provided in a companion aws-samples repository, in which:

  1. Amazon EventBridge starts an Amazon Elastic Container Service task on AWS Fargate on a configured schedule.
  2. The task crawls configured public websites and prepares Markdown with a metadata sidecar for each page.
  3. The task uploads the prepared files to the Amazon S3 bucket backing the knowledge base data source.
  4. The task starts an Amazon Bedrock Knowledge Bases ingestion job.
  5. Amazon Bedrock Knowledge Bases parses the new and changed objects and applies the selected chunking strategy.
  6. The service creates embeddings and indexes them in the knowledge base's vector store, which AWS manages for a managed knowledge base.
  7. The generative AI application then queries the knowledge base for relevant chunks or a generated response with citations.

AWS says the task reads its non-secret pipeline configuration from AWS Systems Manager Parameter Store at startup, and that by default the sample runs the Fargate task in a public subnet reaching configured websites through an internet gateway.

Stated limitations

AWS specifies that this is batch ingestion of known web properties, not real-time web access at inference time, distinguishing it from Web Grounding with Amazon Nova. The company also states that the workflow processes public pages only and does not implement authenticated sessions. For sites requiring sign-in, AWS directs users to first evaluate the Amazon Bedrock Web Crawler's authentication options, which it says include basic, form-based, and SAML authentication, and notes that adding authentication to the sample would require session handling, credentials stored in AWS Secrets Manager, and a security review.

Source: AWS blog post, "Prepare web content for Amazon Bedrock Knowledge Bases with Crawl4AI," published November 2, 2026.

Frequently asked questions

What is Crawl4AI in this context?
According to AWS, Crawl4AI is an open source Python crawler used in a preparation step that converts web pages into Markdown with metadata before they are uploaded to Amazon S3 for ingestion into Amazon Bedrock Knowledge Bases.
How is this different from the Amazon Bedrock Web Crawler?
AWS says the built-in Web Crawler connector is the starting point for most public website content, while the Crawl4AI path is for cases needing more control, such as extracting only a specific page region, removing boilerplate, or attaching custom metadata attributes.
Does this support real-time web access?
No. AWS states this is batch ingestion of known web properties, not real-time web access at inference time, distinguishing it from capabilities like Web Grounding with Amazon Nova.
Does the workflow support password-protected sites?
AWS says the sample workflow processes public pages only and does not implement authenticated sessions, and that sites requiring sign-in should first be evaluated against the Amazon Bedrock Web Crawler's authentication options.

Sources

  1. Prepare web content for Amazon Bedrock Knowledge Bases with Crawl4AI | Artificial Intelligence — Amazon Web Services (AWS)
Tagsawsamazon-bedrockragknowledge-basescrawl4ais3

Related reading

AWS details IskayPet's corporate knowledge assistant built on Amazon Bedrock Managed Knowledge Bases

AWS published a case study describing how IskayPet, a pet care retailer operating in Spain, Portugal and France, built a corporate knowledge assistant on Amazon Bedrock Managed Knowledge Bases. The assistant answers employee questions in four languages by retrieving and citing passages from IskayPet's existing SharePoint documents, using hybrid search, reranking, and document-level permissions.

2 min read

AWS Makes Web Search API for Bedrock AgentCore Available

AWS says the Web Search API for Amazon Bedrock AgentCore is now available, letting agents retrieve current, cited web results through a single AWS-signed API call. AWS states it serves queries from its own web index rather than a third-party search engine, and that the tool now works with LangChain, LangGraph, and Deep Agents.

3 min read

AWS Adds Kimi K3.1 Pro Highspeed to Amazon Bedrock

AWS announced that Moonshot AI's Kimi K3.1 Pro Highspeed model is now available on Amazon Bedrock. AWS says the model keeps Kimi K3's 3T-class architecture and 1-million-token context window but adds more post-training compute, improving agentic, coding, and professional tasks, and generates output 2-3 times faster than Kimi K3.1 Pro, according to Moonshot AI.

2 min read