CheatCoders publishes in-depth, tested guides for engineers building AI coding agents and production systems on AWS. Every guide is checked against the official documentation, and the code is run before it is published. Start with a topic below, or follow the AI Architecture Bootcamp from the beginning.
AI coding agents on AWS
Run coding agents on AWS with versioned prompts, safe tools and isolated execution.
- Amazon Bedrock Prompt Management: Version and A/B Test Coding-Agent System Prompts
Version coding-agent system prompts in Bedrock Prompt Management: publish from CI, pin versions per environment, render safely, and A/B test. - Amazon Bedrock Agents (Classic) in Production: Safe Tools, Memory, Guardrails and the Move to AgentCore
Amazon Bedrock Agents Classic in production: action group Lambda validation, requireConfirmation, sessionAttributes, SESSION_SUMMARY memory, guardrail configuration, and migration mapping to Bedrock AgentCore. - AWS Lambda Coding Agent Sandbox: Safe Tool Isolation for LLM Agents
Build an AWS Lambda coding agent sandbox: ephemeral tool Lambdas, tiny IAM, deny-by-default networking, and structured results — so agents can run tests without owning the account.
Security for agents
Keep model calls private, credentials short-lived, and agent activity auditable.
- AWS PrivateLink for Bedrock: Keep Coding-Agent Model Calls Off the Public Internet
Create interface VPC endpoints for Amazon Bedrock, restrict them with endpoint policies and aws:SourceVpce, and prove agent model calls skip the NAT. - AWS Secrets Manager Rotation for Coding-Agent Tool Credentials: Short-Lived Tokens That Can’t Leak Forever
Secrets Manager rotation for coding-agent tools: four-step rotation Lambda tested with moto, GitHub App installation tokens, tag-based access, and keeping secrets out of model context. - Hunting Coding-Agent IAM Abuse in CloudTrail: Athena and CloudWatch, Plus CloudTrail Lake for Existing Customers
Find denied calls, IAM writes and passed roles from coding-agent IAM roles with Athena over CloudTrail logs, CloudWatch alerts and EventBridge, and CloudTrail Lake for existing customers.
RAG and data
Retrieval over code and docs that finds the right file and proves it.
- Amazon Bedrock Knowledge Bases: RAG Over Your Monorepo for Coding Agents
Build a Bedrock knowledge base over a monorepo: export code as Markdown, add metadata, sync from CI, and retrieve with filters in a Converse tool loop. - OpenSearch vs pgvector vs S3 Vectors for Codebase RAG on AWS
OpenSearch vs pgvector vs S3 Vectors for code RAG on AWS: filtered ANN, pgvector iterative scans, OpenSearch hybrid search with RRF, S3 Vectors metadata pre-filtering, freshness and recall evaluation. - Module 3: Production RAG for Code
Hybrid search, reranking, tenant isolation, checked citations and fresh indexes on Bedrock.
Performance, cost and architecture
Make AI and serverless workloads fast, cheap and safe to retry.
- Amazon Bedrock Prompt Caching and Batch Inference: Cut Coding-Agent Latency and Cost Without Stale Rules
Bedrock prompt caching vs batch inference for coding agents: cachePoint placement, TTL, usage fields, JSONL batch jobs and stale-rule pitfalls. - AWS Lambda Cold Starts on Node.js and Python: Measure, Cut, and Keep Cutting
Measure and cut AWS Lambda cold starts on Node.js and Python: Init Duration, bundling, lean imports, memory, SnapStart and provisioned concurrency. - Serverless API on AWS: API Gateway, Lambda, DynamoDB and SQS, From First Endpoint to Production
Serverless API architecture on AWS: REST vs HTTP API, throttling and Lambda scaling limits, idempotent DynamoDB writes, SQS workers, WAF, and a tested SAM template.
Learning path
A free bootcamp in modules, from LLM basics to production systems.
- Module 1: LLM Foundations for Coding Systems
Tokens, embeddings, a first debuggable RAG pipeline, prompt contracts and an eval harness. - Module 2: Agents, Tools and Production Guardrails
Tool contracts, planning budgets, memory, Bedrock Guardrails, approvals and a PR review bot. - Module 3: Production RAG for Code
Hybrid search, reranking, tenant isolation, checked citations and fresh indexes on Bedrock.
All articles
Looking for something else? Browse all articles, newest first.
Watch: 100 Days of AI on YouTube
Short videos from CheatCoders, one AI engineering topic per day.