"Run agents in the cloud" w/ easy AWS EC2 configured with strong security controls defined by a sandbox.yaml
Klanker Maker (km)
Hi! 👋 I'm KPH and this project has been useful for me building defcon.run.34, klanker-voice and just learning a tonne about "The Future of Software". I've been interested in this topic a long time as an extension of 'home virtual labs' but for Claude + friends. Take it, and run. Free software. 🙇
What you get?
Slack/Github/Webook Lambda+SQS, no ingress to sandboxes (only SSM)
What AWS Services are used?
Easily run a bunch of AWS EC2s instances you can interact with over Slack / Github / Hackerone / email use herdr / vscode / browser+ubuntu / eBPF / Wiz Sensor
Create an AWS EC2 that you can shell/vscode/web-linux into.
Example 1 - creating a klanker and connect to xfce ubuntu desktop:
## One-time setup steps for your AWS Account
./km configure #Creates the local `km-config.yaml` file with AWS details
./km bootstrap --dry-run=false #Installs SCP, KMS, S3s, and support infrastructure
./km init --dry-run=false #Deploy binary sidecars and artifacts to AWS
## Create many klankers and interact with them
./km create profiles/desk.yaml desk1 #Create sandbox from profile - new EC2
./km desktop start desk1 # Connect to a remote linux desktop over SSM
./km vscode start desk1 # Connect to a remote vscode server over SSM
./km herdr desk1 # Connect to a remote herdr over SSM
./km hermes start desk1 # Run Hermes Agent + WebUI in the background, then: ./km hermes desk1
./km shell desk2 # Open a remote shell over SSM
FYI - I've made a bunch of decisions/conventions and put a tonne of thought / experience into building klanker-maker the way it is. This is approach is called 'opinionated software' and is what makes klanker-maker easy to use.🤞 Doesn't mean my opinions won't change, just that I've baked a bunch in, and they are often Security First.
For example - you may not like the fact ZERO inbound network traffic is allowed by the AWS Security Group, blocking all inbound. Everything is over AWS SSM - even 'public network klankers'. 🤷 Maybe you don't use herdr / vscode / Github / Slack / Hackerone / Wiz or even want remote dev envs. 🤷 Maybe you just want to keep everything localhost?! Maybe you hate AWS EC2 even more than I do?!?! 🤡
[!WARNING]
klanker-maker currently a protoype pre-v1.0.0 which means it has a lot of "vibes" and "abandonded paths." But! I've been writing software for +30-years and and working w/ Claude+friends has been amazing. 🤗
Why?
This project is not about solving 'Agents at Scale'🙅 - it is about #2 above - isolated YAML defined virutal machines (AWS EC2) for my development and hacking purposes 🔐. To "safely-enable " my new "AI centric workflows/tasks" running Claude/Codex/vLLM sessions, in the cloud, on my AWS infrastructure (detached from my localhost.)
🔥Hot take??🧑🚒 AWS EC2 is really only appropriate for 1) making k8s/ECS nodes or 2) disposable cloud developer environment. 🧨
Manage/interact with AWS EC2 klankers over Slack/Github/email/herdr securely inside your own AWS account using AWS security primitives like SCP,IAM,KMS,SG,VPC,Lambda+SQS, etc.
Details
- A CLI for easily running AWS EC2 instances (
km create, km ls, km desktop start, km vscode start ...)
- Out-of-the-box support for the Slack / Github / Hackerone / herdr / vscode / KASM browser liunx / Wiz Sensor; extensible EC2
UserData interface
- Secure AWS Architecture balancing privilege with containment/isolation (SSO+Organizations+Accounts, SCP, KMS, SSM, IAM, SG, VPC+NATGW+IGW, Lambda+SQS+SES+S3, Cloudtrail, Budgets)
- Run SKILLS/plugins/prompts with Claude/Codex/Bedrock over Slack/Github/webhooks/email (AWS SES)
Overview of AWS Services Used
