Your AI-powered, agentic deployment solution for seamless, risk-managed updates
🏡 MultiTool website | 🗪 Contact us
MultiTool Canary is an agentic deployment tool that quickly detects and rolls back defective deployments. Use the CLI to create and monitor canary deployments, control the amount of traffic they receive, and automatically yank deployments that produce an anomolous number of bad responses. MultiTool Canary improves release confidence by giving you a robust measure of stability, and acting quickly and autonomously when bugs sneak into production.
This section explains how to deploy an AWS Lambda function to AWS API Gateway using MultiTool Canary. Just point MultiTool Canary to a pre-built Lambda zip, tell it which API Gateway, Stage, and Lambda to deploy to, and it will take care of the rest.
-
First, make sure your AWS credentials are configured:
$ aws sts get-caller-identity
If your credentials aren't set, either login with
aws sso login --profile my-profile
or set your Access Key Id and Secret Access Key:$ export AWS_ACCESS_KEY_ID="${MY_ACCESS_KEY}" $ export AWS_SECRET_ACCESS_KEY="${MY_SECRET_ACCESS_KEY}" $ export AWS_REGION="us-east-2"
-
Next, tell MultiTool Canary which API Gateway, Stage, and Lambda it should deploy it.
$ export MULTI_GATEWAY_NAME="${MY_API_GATEWAY_NAME}" $ export MULTI_GATEWAY_STAGE="${MY_STAGE}" $ export MUTLI_LAMBDA_NAME="${MY_LAMBDA}"
-
Build your Lambda function. This should be a zipfile with your Lambda's source code. For instance, if you're using
cargo-lambda
:$ cargo lambda build -o zip --release $ mv ./target/lambda/my-app/bootstrap.zip ./my-release.zip
-
Finally, run MultiTool Canary, pointing to a pre-built zip:
$ canary deploy ./my-release.zip
MultiTool Canary will upload the function to AWS, cut a canary release, and monitor it, progresssingly ramping up traffic as it gains confidence in the deployment. MultiTool Canary scans your CloudWatch metrics to see how your canary application is performing relative to the baseline, and models release confidence based on how they differ.
- What is MultiTool Canary?
- Getting Started
- Table of Contents
- Installation
- Architecture support
- Mission
- Contributing
Install MultiTool Canary with Homebrew, NPM, Powershell, or via curl
.
Installing with Homebrew:
brew install wack/tap/canary
Installing with NPM:
npm install @multitool/[email protected]
Installing with curl:
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/wack/canary/releases/download/v0.1.0-alpha.1/canary-installer.sh | sh
Installing with Powershell:
powershell -ExecutionPolicy ByPass -c "irm https://github.com/wack/canary/releases/download/v0.1.0-alpha.1/canary-installer.ps1 | iex"
See Releases for pre-built binaries, checksums, and guides to install on additional platforms.
To build MultiTool Canary from source, refer to instructions in CONTRIBUTING.md.
- Automatic application deployment
- Automated rollback
- Cautious Mode (coming soon) and Optimistic Mode: Choose between preventing false positives and false negatives
- Measure release confidence
- Backward and forward traffic ramping
Currently, MultiTool Canary only supports deploying canaries for AWS Lambda functions running in AWS API Gateway. However, we are currently working on adding support for additional platforms. Our platform roadmap is presented in the table below.
Platform | Support |
---|---|
AWS Lambda + API Gateway | ✨ Available! |
Vercel | 👀 Up next |
CloudFlare | 👀 Up next |
AWS Function Aliases | ⌚ Soon |
Kubernetes | ⏳ Later |
Google Cloud Run Functions | ⏳ Later |
MultiTool Canary has official builts for 64-bit Windows, macOS (Apple Silicon and x86), and Linux. No official support is provided for 32-bit architectures, but the CLI is expected to work on 32-bit platforms.
Apple Silicon macOS | Intel macOS | x64 Windows | x64 Linux | |
---|---|---|---|---|
Homebrew | ✓ | ✓ | ✓ | ✓ |
NPM | ✓ | ✓ | ✓ | ✓ |
Curl | ✓ | ✓ | ✓ | ✓ |
Powershell | ✓ | ✓ | ✓ | ✓ |
We're building tools to take agentic deployments mainstream. Right now, operators must synchronously watch deployments go live, or rely on passive metric alerting to identify service disruptions. We want to empower operators to proactively identify and rollback disruptive deployments before they reach 100% of users with the help of an AI agent. MultiTool Canary is our foundational strategy to introduce agentic deployments to everyone. To learn more about us, visit our company website.
🚀 We accept pull requests! 🎸
See CONTRIBUTING.md for more information.