aws-sam-cli
AWS SAM CLI is a CLI tool for local development and testing of Serverless applications
Decision gist · record as of 2026-08-14
Yes. AWS SAM CLI is production-stable, actively maintained, has no known vulnerabilities, and low install friction. It is the standard tool for local serverless development on AWS and essential for teams building Lambda-based applications. The Apache-2.0 license poses no restrictions. Install it if you develop serverless applications on AWS.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Docker to run Lambda functions locally; AWS credentials configured for cloud deployment.
- Low install friction with a pure-Python wheel.
- Actively maintained with a release 14 days ago and 6728 repository stars.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary serverless projects.
last release 2026-07-31 (14 days) · last repo commit 2026-08-14 · 6,728 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,349,967 downloads/mo, #3,113 on PyPI
Alternatives
Verify before relying
pip install aws-sam-cli
sam init
sam build
sam local start-api- Whether all 24 runtime dependencies are required for basic use or if some are optional for specific features.
- Performance characteristics when testing large or complex serverless applications locally.
What it is and what it does
AWS SAM CLI is the command-line interface for the AWS Serverless Application Model, a framework that simplifies building and deploying serverless applications on AWS. It provides local development and testing environments where you can build Lambda functions, test API Gateway endpoints, and emulate AWS services in Docker containers before deploying to the cloud. The tool handles initialization of new projects from templates, compilation and packaging of functions, local execution with CloudWatch log tailing, and deployment via CloudFormation.
The package integrates with 24 runtime dependencies including boto3 for AWS API access, Docker for local Lambda emulation, Flask for local API testing, and various utilities for YAML parsing, templating, and schema validation. It targets developers building serverless applications and supports modern Python versions from 3.10 onward. The tool is actively maintained by AWS with frequent releases and a large community presence.
Use it for
- Initialize and scaffold new serverless projects with predefined AWS templates using sam init.
- Build and locally test Lambda functions and API Gateway endpoints in a Docker container before cloud deployment.
- Deploy SAM and CloudFormation templates to AWS with sam deploy for rapid iteration.
- Sync and test incremental changes in cloud developer environments with sam sync.
- Tail CloudWatch logs and X-Ray traces from deployed serverless applications using sam logs and sam traces.
- Generate CI/CD pipeline templates for popular systems with sam pipeline init.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
AWS SAM CLI is production-stable, actively maintained, has no known vulnerabilities, and low install friction. It is the standard tool for local serverless development on AWS and essential for teams building Lambda-based applications. The Apache-2.0 license poses no restrictions. Install it if you develop serverless applications on AWS.
Install
aws-sam-cli on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with a release 14 days ago and 6728 repository stars. Supports current Python versions (3.10–3.14) and has no known vulnerabilities.
Requires Docker to run Lambda functions locally; AWS credentials configured for cloud deployment.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for both open-source and proprietary serverless projects.
Quickstart
pip install aws-sam-cli
sam init
sam build
sam local start-api
Verify before relying
- Whether all 24 runtime dependencies are required for basic use or if some are optional for specific features.
- Performance characteristics when testing large or complex serverless applications locally.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 24 packageschevronclickFlaskboto3jmespathruamel_yamlPyYAMLcookiecutteraws-sam-translatordockerdateparserrequestsaws_lambda_builderstomlkitwatchdogrichpyopenssljsonschematyping_extensionsregextzlocalcfn-lintboto3-stubspython-dotenv |
| Maintenance | Actively maintained 14 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,349,967 / month, #3,113 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: Other EnvironmentIntended Audience :: DevelopersIntended Audience :: Information TechnologyOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: Build ToolsTopic :: Utilities |
Evidence: aws_sam_cli-1.165.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “serverless application development”
- aws-sam-cliAWS SAM CLI is a command-line tool for building, testing, and…
- functions-frameworkA lightweight FaaS framework that lets you write portable Python…
- shuffle-sdkShuffle SDK provides a framework for building, testing, and deploying…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also aws-lambda-builders · aws-sam-translator · aws-cdk.aws-sam · mangum · chalice · awscli · shuffle-sdk · fastapi-cloud-cli · awslogs · stepfunctions