diff --git a/README.md b/README.md index 2f58298..427a467 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,20 @@ We're back for the second session of the AIRE Framework series! Last time, we bu In this stream, we'll create an IaC agent that combines the Terraform AI Agent and a GitHub MCP server. This will allow us to take the generated Terraform config and create a PR on GitHub. Watch the recording here: https://www.youtube.com/watch?v=UUFuL-XRINU + + +## Part 3: Building an AWS Validation Agent + +Time to build the last agent in the AIRE series! + +During the past two streams we've built: +Terraform agent that uses AWS Terraform MCP and generates a Terraform configuration +Git PR agent that uses Git PR MCP server and can clone repositories, create branches, commits, and PRs. + +We also have an overarching AWS IaC agent that delegates work to Terraform and Git PR agents. + +In this last stream of the series, we'll build an AWS Validation Agent. Once a GitHub PR is created and approved, the GitHub Action runs the plan and apply commands to deploy the resources. + +The AWS Validation Agent will check that PR and use an AWS MCP server to check whether the resources were deployed, and give us an overview. + +Watch the recording here: https://www.youtube.com/watch?v=iSXqlVc684s \ No newline at end of file diff --git a/agents/README.md b/agents/README.md index 5b48284..5ab8d98 100644 --- a/agents/README.md +++ b/agents/README.md @@ -1 +1,3 @@ -The Git PR MCP server assumes you're running the server locally on localhost:9999/sse. You can get the MCP server here: https://github.com/peterj/git-pr-mcp \ No newline at end of file +The Git PR MCP server assumes you're running the server locally on localhost:9999/sse. You can get the MCP server here: https://github.com/peterj/git-pr-mcp + +The AWS MCP server assumes you're running the server locally on localhost:8000/sse. You can get the MCP server here: https://github.com/peterj/simple-aws-mcp \ No newline at end of file diff --git a/agents/aws-mcp.yaml b/agents/aws-mcp.yaml new file mode 100644 index 0000000..53e197f --- /dev/null +++ b/agents/aws-mcp.yaml @@ -0,0 +1,11 @@ +apiVersion: kagent.dev/v1alpha1 +kind: ToolServer +metadata: + name: aws-mcp + namespace: kagent +spec: + config: + sse: + timeout: 5s + url: http://localhost:8000/sse + description: "" \ No newline at end of file diff --git a/agents/validate-aws-agent.yaml b/agents/validate-aws-agent.yaml new file mode 100644 index 0000000..9b96534 --- /dev/null +++ b/agents/validate-aws-agent.yaml @@ -0,0 +1,19 @@ +apiVersion: kagent.dev/v1alpha1 +kind: Agent +metadata: + name: validate-aws + namespace: kagent +spec: + description: This agent has access to AWS CLI and knows how to list and retrieve + AWS resource information. + modelConfig: default-model-config + systemMessage: "Use the available tools to check the status for resources in AWS. + Respond with all available information and metadata and give user the summary + of health and state of resources." + tools: + - mcpServer: + toolNames: + - list_ec2_instances + - list_vpcs + toolServer: aws-mcp + type: McpServer