My Kiro Crew goes where I go

2026-11-30来源 dev.toEnglish

My laptop turned out to be a pretty poor home for an AI team. It nods off the moment I close the lid, and on a busy day it was short of memory. So I gave the team a place of its own: a small AWS server. Now the crew is always awake, and I can check on a story from my phone on the train.

The good news is that Crew comes with a launcher that does the heavy lifting. By the end of this article, you'll be able to:

  • Launch Crew on its own small AWS server with one command
  • Run your crew on Claude through Amazon Bedrock, and avoid the daily quota surprise I hit
  • Check on your crew from your phone, privately, wherever you are

Disclosure: I'm a Kiro Ambassador, and the program includes a Kiro subscription. Our AWS costs were covered by AWS credits.

What you need

  • An AWS account and the AWS CLI signed in on your computer (aws sts get-caller-identity should answer).
  • The Session Manager plugin for the AWS CLI.
  • Crew installed on your computer (article 1).

Not sure? Run kirocrew cloud doctor and it checks all of it for you.

Launch

Here's the whole launch, in one command:

kirocrew cloud launch --size light \ --extra-packages "alsa-lib,at-spi2-atk,at-spi2-core,atk,cairo,cups-libs,libX11,libXcomposite,libXdamage,libXext,libXfixes,libXrandr,libxcb,libxkbcommon,mesa-libgbm,pango,libatomic" 

Then I went and made a coffee. The launcher creates a private server with its own role, installs Crew and Kiro, carries over your Kiro sign-in, and opens the dashboard in your browser. Nothing on the server is open to the internet; the dashboard reaches you through an AWS Session Manager tunnel.

A few notes on the choices I made:

  • --size light is a Graviton t4g.xlarge: 4 vCPUs and 16 GB of memory, about $0.13 an hour while it runs. That's the same memory as my laptop, except here the team has it all to itself. It comfortably runs a conductor and the agents it brings in, with room for a few Bots.
  • --extra-packages adds the system libraries Crew's built-in browser needs on Amazon Linux. Agents use that browser to read web pages and take screenshots, for example to check a page they've just built.
  • Already have one crew? Add --new for a second, separate server. Without it, the launcher resumes the one you have.

To open the dashboard again later:

kirocrew cloud connect 

And when I'm done for the week, kirocrew cloud stop puts the server to sleep and pauses its hourly charge, and kirocrew cloud start wakes it up again.

Two quick checks after launch

Open a shell on the server with aws ssm start-session --target <instance-id>, then run kirocrew doctor. On my launch it suggested refreshing the background service, which takes two commands:

kirocrew service install sudo loginctl enable-linger ec2-user 

The second one keeps Crew running after you log out of the shell, which is rather the point. After that, kirocrew token prints a fresh sign-in link for the dashboard.

Choose the model

The launcher signs the server in with your Kiro account, so it works straight away.

I had AWS credits burning a hole in my pocket, so I also connected Claude through Amazon Bedrock. Crew drives Claude through the Claude Code ACP adapter:

sudo npm install -g @anthropic-ai/claude-code @agentclientprotocol/claude-agent-acp 

Tell Claude Code to use Bedrock in ~/.claude/settings.json:

{ "env": { "CLAUDE_CODE_USE_BEDROCK": "1", "AWS_REGION": "us-east-1", "ANTHROPIC_MODEL": "us.anthropic.claude-sonnet-4-6" } } 

Give the server's role permission to call the model: an IAM policy allowing bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream on the Claude inference profiles you use. Then switch Crew's sessions and Bots over to Claude:

kirocrew config set agent.acp_backend claude kirocrew config set agent.member_acp_backend claude kirocrew restart 

Tip: have a look at your Bedrock quotas in the Service Quotas console before your first big run. New accounts can start below AWS's published defaults for the newest models, and a conductor that checks on its team every few minutes uses more tokens than you'd guess. Mine hit the daily token limit halfway through a campaign and had to wait for the next day. A short support case raises it, and the Basic plan includes it.

Your team in your pocket

This is my favorite part, by a mile. Crew can publish its dashboard privately to your own devices with Tailscale, a free private network between the machines you sign in.

  1. Install Tailscale on your phone and sign in.
  2. On the server, install Tailscale and run sudo tailscale up. Open the link it prints and approve the server.
  3. In Crew, open Settings → Overview → Phone access and turn it on.

Crew gives you an address like https://kiro-crew.your-tailnet.ts.net. Open it on your phone and the whole crew is right there: your sessions, a conductor waiting for an answer, and the Epic Board with every story and its state. It works on mobile data, and only devices on your own Tailscale network can reach it.

Now when a conductor needs me, I answer from wherever I am, and the story keeps moving.

Tip: keep the server from reaching your other devices. A tailnet lets every machine on it reach the others, and that includes the server running your crew. In Tailscale's access controls I gave the crew server a tag and allowed connections only from my own devices. My phone and laptops can still open the dashboard, but the server can't start a connection to them.

One more tip for a second crew

I run more than one crew, so this one's from experience. If you run several crews in the same AWS account, the launcher shares one permissions boundary between them and checks it hasn't changed at each launch. If you widen what one crew may do (for example, to add Bedrock), give that crew its own copy of the boundary and attach your additions there. Every crew then keeps exactly the permissions you meant for it, and the launcher stays happy.

What's next

My crew now has a permanent home and a remote control. In the next article, I find out what it gets up to while nobody is watching.

原文:https://www.a8q9.cn/en/article/my-kiro-crew-goes-where-i-go-85df5c.html

相关文章