<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5" -->

---
title: AWS Launches Blocks, an Open-Source TypeScript Framework...
description: AWS released Blocks in public preview, an open-source TypeScript framework that bundles application code, local mocks, and AWS infrastructure into composable...
canonical: https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends | daily.dev
og:description: AWS released Blocks in public preview, an open-source TypeScript framework that bundles application code, local mocks, and AWS infrastructure into composable...
og:url: https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5
og:image: https://api.daily.dev/og/posts/uwsDDfto5.png
og:image:alt: AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends

**[InfoQ](https://daily.dev/sources/infoq)** · 4 min read · 1 upvotes · 1 comments

## Summary

AWS released Blocks in public preview, an open-source TypeScript framework that bundles application code, local mocks, and AWS infrastructure into composable npm packages called Blocks. Designed with AI agents in mind, it ships with built-in steering files that guide coding agents toward correct architecture. Developers can run a full backend locally without an AWS account using npm run dev, then deploy the same code unchanged to Lambda, DynamoDB, Aurora, API Gateway, and Bedrock. Around 20 Blocks are available covering databases, authentication, AI agents, file storage, real-time messaging, and more. Type safety flows end-to-end from schema to frontend across major web frameworks and native clients. Blocks applications are CDK applications, allowing escape hatches to raw CDK when needed. The framework is free; users pay only for underlying AWS services consumed.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/06/aws-blocks-framework-preview>

## Questions this post answers

### What is AWS Blocks and how does it work with AI coding agents?

AWS Blocks is an open-source TypeScript framework, released in public preview, where each Block bundles application code, a local mock implementation, and the AWS infrastructure needed to run it in production. It ships built-in steering files that guide AI coding agents toward correct architecture, so a prompt like 'add authentication and a database' produces code that runs locally and deploys unchanged to AWS.

_daily.dev surfaces frameworks like this for developers wiring AI agents into real backend infrastructure._

### Can I run AWS Blocks locally without an AWS account and later deploy to Lambda and DynamoDB?

Yes, running npm run dev gives a working application with Postgres, authentication, real-time messaging, and file storage on the local machine with no AWS account required. The same code then deploys to Lambda, DynamoDB, Aurora, API Gateway, and Bedrock with zero changes, using Node.js conditional exports to swap implementations per environment.

_Developers evaluating local-first AWS tooling can track releases like Blocks on daily.dev._

### How does AWS Blocks differ from AWS Amplify Gen 2?

Both define backends code-first in TypeScript on top of CDK, so they overlap in philosophy, but AWS positions them as complementary: Amplify Gen 2 provides hosting, CI/CD, and a managed backend experience, while Blocks focuses on type-safe infrastructure-from-code with local-first development and mocks designed for AI agents to write correct code from the start.

_Teams weighing Amplify against Blocks can follow comparisons like this on daily.dev before committing._

## Community discussion

Top comments from developers on daily.dev.

**@saatwikmehta** · 1 upvotes

> Something exciting to try this week

## Similar posts on daily.dev

- [Announcing TypeScript support in Strands Agents \(preview\) and more](https://daily.dev/posts/announcing-typescript-support-in-strands-agents-preview-and-more-e7gtxkj65) · AWS · 0 upvotes · 0 comments

---

Tags: [#aws](https://daily.dev/tags/aws), [#ai-agents](https://daily.dev/tags/ai-agents), [#typescript](https://daily.dev/tags/typescript), [#serverless](https://daily.dev/tags/serverless), [#iac](https://daily.dev/tags/iac)

[View this post on daily.dev](https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends","url":"https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5"},"datePublished":"2026-06-23T09:29:23.154Z","dateModified":"2026-09-13T20:01:21.456Z","description":"AWS released Blocks in public preview, an open-source TypeScript framework that bundles application code, local mocks, and AWS infrastructure into composable...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae2275ca65fc193ca8be7415bb088f97?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae2275ca65fc193ca8be7415bb088f97?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":1,"discussionUrl":"https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":1}],"keywords":"aws,ai-agents,typescript,serverless,iac","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"AWS Launches Blocks, an Open-Source TypeScript Framework Designed for AI Agents to Build Backends"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5","comment":[{"@type":"Comment","text":"Something exciting to try this week","datePublished":"2026-06-24T03:35:23.200Z","url":"https://daily.dev/posts/uwsDDfto5#c-WnrmrgAAT","author":{"@type":"Person","name":"Saatwik Mehta","url":"https://daily.dev/saatwikmehta","image":"https://avatars.githubusercontent.com/u/80687021?v=4"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/aws-launches-blocks-an-open-source-typescript-framework-designed-for-ai-agents-to-build-backends-uwsddfto5#faq","mainEntity":[{"@type":"Question","name":"What is AWS Blocks and how does it work with AI coding agents?","acceptedAnswer":{"@type":"Answer","text":"AWS Blocks is an open-source TypeScript framework, released in public preview, where each Block bundles application code, a local mock implementation, and the AWS infrastructure needed to run it in production. It ships built-in steering files that guide AI coding agents toward correct architecture, so a prompt like 'add authentication and a database' produces code that runs locally and deploys unchanged to AWS. daily.dev surfaces frameworks like this for developers wiring AI agents into real backend infrastructure."}},{"@type":"Question","name":"Can I run AWS Blocks locally without an AWS account and later deploy to Lambda and DynamoDB?","acceptedAnswer":{"@type":"Answer","text":"Yes, running npm run dev gives a working application with Postgres, authentication, real-time messaging, and file storage on the local machine with no AWS account required. The same code then deploys to Lambda, DynamoDB, Aurora, API Gateway, and Bedrock with zero changes, using Node.js conditional exports to swap implementations per environment. Developers evaluating local-first AWS tooling can track releases like Blocks on daily.dev."}},{"@type":"Question","name":"How does AWS Blocks differ from AWS Amplify Gen 2?","acceptedAnswer":{"@type":"Answer","text":"Both define backends code-first in TypeScript on top of CDK, so they overlap in philosophy, but AWS positions them as complementary: Amplify Gen 2 provides hosting, CI/CD, and a managed backend experience, while Blocks focuses on type-safe infrastructure-from-code with local-first development and mocks designed for AI agents to write correct code from the start. Teams weighing Amplify against Blocks can follow comparisons like this on daily.dev before committing."}}]}
```

