AWS Releases Blocks in Preview, an Open-Source TypeScript Framework That Bundles Application Code and Cloud Infrastructure for AI Agents
AWS launched Blocks, an open-source Apache 2.0 TypeScript framework in preview that lets developers define application code and AWS infrastructure together and run a full local backend with no AWS account.
Overview
On June 16, 2026, Amazon Web Services announced AWS Blocks, an open-source framework for composing application backends on AWS, and released it in public preview, according to AWS. AWS describes Blocks as a TypeScript framework aimed at application developers who want backend capabilities on AWS without having to learn separate infrastructure tools, according to AWS.
The project’s GitHub repository, published under the Apache-2.0 license, characterizes Blocks as composable building blocks for full-stack AWS apps that define infrastructure and runtime code together with end-to-end type safety in TypeScript, according to GitHub.
What We Know
- Blocks runs a fully functional local environment with Postgres, authentication, and real-time messaging that requires no AWS account, according to AWS.
- When a project is ready to ship, the same application code runs on production AWS services with no changes, and developers can drop into AWS CDK at any point to configure resources directly, according to AWS.
- At preview, approximately 20 Blocks are available, according to InfoQ. Those Blocks span databases (Postgres via Aurora and DynamoDB), authentication (Cognito), AI agents and knowledge bases (Bedrock), file storage (S3), real-time messaging, background jobs, scheduled tasks, and email (SES), according to InfoQ.
- The framework is built on the premise that AI agents write code, and it ships with built-in steering files intended to guide coding agents toward correct architecture without custom configuration, according to InfoQ. AWS similarly says built-in guidance for AI coding tools enables correct architecture without custom configuration, and that end-to-end type safety flows from the data schema to the frontend without a code-generation step, according to AWS.
- InfoQ reported that a single line such as
new KVStore(scope, 'todos')becomes an in-memory store during local development, a DynamoDB table at deployment time, and an SDK call in the Lambda runtime, according to InfoQ. - On the client side, Blocks supports frontend frameworks including Next.js, Nuxt, Astro, React, Vue, Svelte, and Angular, and can generate native clients for Swift, Kotlin, and Dart/Flutter, according to InfoQ.
- Blocks carries no additional charge, with customers paying only for the underlying AWS services their application uses, and it deploys to all commercial AWS regions, according to AWS. Developers can scaffold a project with the
npx @aws-blocks/create-blocks-appcommand, according to AWS.
What We Don’t Know
Blocks is in public preview, and neither AWS’s announcement nor InfoQ’s report specified a general-availability date, according to AWS and InfoQ. The available reporting also did not detail production performance benchmarks or a long-term roadmap for the framework.
Analysis
Blocks enters an AWS developer-tooling lineup that already includes Amplify. InfoQ framed the distinction as Amplify providing hosting, CI/CD, and a managed backend experience, while Blocks focuses on type-safe infrastructure-from-code with local-first development, according to InfoQ. The framework’s stated design goal is telling of the moment: InfoQ published its coverage under the headline that Blocks is designed for AI agents to build backends, reflecting a broader industry effort to make cloud backends easier for coding agents to target correctly on the first attempt, according to InfoQ.