

# Agent setup guide

AI coding agents can accelerate serverless development by providing intelligent assistance for application scaffolding, deployment configuration, debugging, and infrastructure-as-code generation. Configure your agent with the right combination of plugins and skills. This equips it with the expertise it needs to build and manage serverless applications.

**Work with your coding agent**  
For a quick-start reference, you can drop this link directly into your agent's context: `https://docs.amazonaws.cn/eventbridge/latest/userguide/samples/aws-eventbridge-agent-setup.md`

Choose the installation method that matches your development environment.

## Prerequisites
<a name="eb-agent-setup-prerequisites"></a>

Ensure the following prerequisites are in place for installing the aws-core plugin:
+ [uv](https://docs.astral.sh/uv/) installed on your system.
+ (Optional) An Amazon account with IAM credentials set up on your local machine. Credentials are required for tools that execute Amazon API calls and run scripts, but not for searching documentation or discovering skills. If you do not have credentials configured, see [Setting up the Amazon MCP Server](https://docs.amazonaws.cn/agent-toolkit/latest/userguide/getting-started-aws-mcp-server.html) for detailed instructions.

## Claude Code
<a name="eb-agent-setup-claude-code"></a>

Install the aws-core plugin, part of the [Agent Toolkit for Amazon](https://docs.amazonaws.cn/agent-toolkit/latest/userguide/what-is-agent-toolkit.html), that bundles the Amazon MCP Server configuration and a curated set of agent skills (including the Amazon serverless skill).

### Install aws-core plugin from Agent Toolkit for Amazon
<a name="eb-agent-setup-claude-code-plugin"></a>

Run the following command to install the plugin:

```bash
/plugin marketplace add aws/agent-toolkit-for-aws
/plugin install aws-core@agent-toolkit-for-aws
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

This installs agent skills including the Amazon serverless skill, agent hooks, and the Amazon MCP Server configuration in one step.

## Codex
<a name="eb-agent-setup-codex"></a>

Codex supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill to add serverless expertise to your agent.

### Install Amazon serverless skill
<a name="eb-agent-setup-codex-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

## Cursor
<a name="eb-agent-setup-cursor"></a>

Cursor supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill to add serverless expertise to your agent.

### Install Amazon serverless skill
<a name="eb-agent-setup-cursor-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

## Kiro
<a name="eb-agent-setup-kiro"></a>

Kiro supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill, then add Kiro powers for additional serverless tooling.

### Install Amazon serverless skill in Kiro CLI
<a name="eb-agent-setup-kiro-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

### Install Kiro powers (from Kiro IDE)
<a name="eb-agent-setup-kiro-powers"></a>

Install the following Kiro powers that provide specialized contexts and tools to the Kiro agents on-demand:
+ **Serverless Application Model (SAM)** — install via [Kiro powers link](https://kiro.dev/launch/powers/add/?name=aws-sam).

## GitHub Copilot
<a name="eb-agent-setup-github-copilot"></a>

GitHub Copilot supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill to add serverless expertise to your agent.

### Install Amazon serverless skill
<a name="eb-agent-setup-github-copilot-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

## Devin Desktop
<a name="eb-agent-setup-windsurf"></a>

Devin Desktop supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill to add serverless expertise to your agent.

### Install Amazon serverless skill
<a name="eb-agent-setup-windsurf-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

## OpenCode
<a name="eb-agent-setup-opencode"></a>

OpenCode supports the open-source agent skills format. Install the Amazon serverless skill and the Amazon EventBridge skill to add serverless expertise to your agent.

### Install Amazon serverless skill
<a name="eb-agent-setup-opencode-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```

## For all other agents compatible with agent skills
<a name="eb-agent-setup-other-agents"></a>

For any other agent that supports the open-source [agent skills](https://agentskills.io/specification) format, follow these steps:

### Install Amazon serverless skill
<a name="eb-agent-setup-other-agents-skill"></a>

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill aws-serverless --yes --global
```

Then install the Amazon EventBridge skill:

```bash
npx skills add https://github.com/aws/agent-toolkit-for-aws/tree/main/skills/specialized-skills/serverless-skills/amazon-eventbridge-event-bus --yes --global
```