View a markdown version of this page

Using AWS Continuum with coding agents - AWS Continuum

Using AWS Continuum with coding agents

The AWS Continuum plugin adds skills and commands to your coding agent. The plugin supports Claude Code and Codex. With the plugin, your coding agent can connect a repository to AWS Continuum, explain the scan results, and prepare fixes for confirmed vulnerabilities. You approve every AWS change and every pull request.

To get started, check the Prerequisites, and then install the plugin. You can then use the plugin to call the public AWS Continuum API through aws continuum commands in the AWS CLI, using your own credentials.

The plugin is open source. To review the source code, see the agent-toolkit-for-aws repository on GitHub.

Prerequisites

Before you install the plugin, make sure that you have the following:

Installing in Claude Code

To install the plugin in Claude Code
  1. In Claude Code, run the following slash command to install the plugin.

    /plugin install aws-continuum
  2. Run the following slash command to load the plugin.

    /reload-plugins
  3. To confirm the installation, run the following command in your terminal, and check that aws-continuum is listed as enabled.

    PROMPT> claude plugin list

Installing in Codex

To install the plugin in Codex
  1. In your terminal, run the following command to add the agent-toolkit-for-aws marketplace.

    PROMPT> codex plugin marketplace add aws/agent-toolkit-for-aws
  2. Start Codex and run /plugins.

  3. In the plugin list, choose aws-continuum from the agent-toolkit-for-aws marketplace, and install it.

    Alternatively, install the plugin from your terminal with the following command.

    PROMPT> codex plugin add aws-continuum@agent-toolkit-for-aws
  4. To confirm the installation, run the following command in your terminal, and check that aws-continuum@agent-toolkit-for-aws is listed as installed and enabled.

    PROMPT> codex plugin list

Using the AWS Continuum plugin

AWS Continuum reads your code through an integration, which connects AWS Continuum to a code source such as an Amazon S3 bucket or GitHub. It scans an environment, which is the group of repositories that it scans together. For more information, see Getting started with code vulnerabilities.

The plugin adds three commands. You can run a command, or ask your coding agent in your own words.

  • To connect a repository and start its first scan, run /aws-continuum:setup or enter Set up Continuum for this repo. For details, see Setting up a repository.

  • To see what the latest scan found, run /aws-continuum:status or enter Where do we stand?. For details, see Checking scan results.

  • To fix confirmed issues, run /aws-continuum:fix or enter Fix the issues. For details, see Fixing issues.

Setting up a repository

When you ask your coding agent to set up AWS Continuum, it does the following:

  1. Shows the AWS account, AWS Region, and AWS Identity and Access Management (IAM) identity that it will use, and asks you to confirm them.

  2. Looks for an existing integration and environment that already cover the repository. If it finds them, it uses them and skips steps 4 and 5.

  3. Learns how the application runs, such as its ports, proxies, and sign-in methods, and asks you to confirm each detail. With your consent, it saves these details in a local file that Git ignores.

  4. Proposes a plan for the resources to create, such as an Amazon S3 bucket, an IAM role, an integration, and an environment. The plan shows the exact commands, how each resource affects scanning, and how to roll back each change. You choose how often AWS Continuum scans.

  5. Waits for your approval, and then creates only the resources that you approved.

The plugin doesn't estimate costs, so review the proposed resources and scan frequency before you approve the plan.

By default, an environment can hold up to 10 repositories. Before it uploads code, the agent checks that adding this repository stays within that quota. For more information about this quota, see AWS Continuum quotas.

Creating an environment starts its first scan automatically. This initial scan typically takes 20 to 60 minutes, but it can take longer for a large repository. After setup, you can have the agent wait for the scan, or check it later with /aws-continuum:status. In Codex, a background agent that finishes waiting doesn't notify you in the conversation. Ask Did the scan finish? to get the result.

Checking scan results

When you ask where things stand, the agent reads the latest results from AWS Continuum. It summarizes in the conversation the attack paths, the assets that they put at risk, the proposed fixes, and the decisions that need your input. It also writes a full report to .continuum/reports/security-report.md in the repository. The report stays on your computer, and Git ignores it.

Checking results doesn't change any AWS resources. The agent compares each issue with your current code. If you've changed the code that an issue points to, the agent marks the issue as needing review rather than calling it fixed.

Fixing issues

When you ask your coding agent to fix issues, it groups related issues and discusses each fix with you before it edits any code. It makes each group's fix on its own local branch. It runs your repository's own tests for each issue, and then for all the fixes combined on one more branch.

The plugin runs these tests on your computer, with your network access and credentials. It doesn't isolate them, so review the test commands before you approve them.

By default, the agent writes a pull request description for each group to the .continuum/pr-drafts/ folder, which Git ignores. It creates a pull request on GitHub only when you ask and approve that exact pull request, and only as a draft. You review and merge each pull request yourself.

These fixes are separate from the patches that AWS Continuum generates. For information about those patches, see Viewing generated patches.

What the plugin can and can't change

The plugin instructs your coding agent to follow certain rules. No separate service enforces these rules, so review each command and change before you approve it. The rules are:

  • Show every AWS change and wait for your approval before making the change.

  • Never merge code or turn on automatic merging.

  • Create pull requests only when you ask, and only as drafts.

  • Use only public AWS APIs, with the credentials of the profile that you confirmed.

  • Don't start scans. AWS Continuum starts the first scan automatically when you create an environment.

  • Don't create a watcher, notification service, or other background process. If your coding agent supports background agents, the plugin can use one to wait for a scan.

For the complete rules, see the plugin safety documentation on GitHub.