Skip to main content

Shared Kiro Crew

A shared Crew is a Kiro Crew that your team works in together. You still run and manage Kiro Crew yourself, on a machine you choose, and Shared Kiro Crew adds four things on top of it.

  1. An identity for your Crew. You assign the Crew a Crew API key, so its work runs and is billed as the Crew and stays separate from any one person.
  2. The connection in the AWS Console. You see each Crew's health, its last heartbeat, and how many people are connected.
  3. Remote access managed by Kiro. The teammates you add open the Crew from the Kiro Crew desktop app without setting up SSH.
  4. User attribution inside Kiro Crew. Your team sees who started a session, sent a message, or approved a decision.

The setup has two parts. You create a Crew and its API key in the Kiro console, install Kiro Crew on the machine that runs it, connect that machine, and add your teammates. Each teammate then installs the Kiro Crew desktop app, signs in with their Kiro login, and opens the shared Crew from there.

What you need

Shared Kiro Crew requires IAM Identity Center.

You need a machine to run the Crew, such as an Amazon EC2 instance, a server, or a cloud desktop. Use a machine, or at least an OS account, that only the Crew uses, because the Crew's sessions run as that account.

The machine connects to Kiro with a Crew API key, which you set up on the Crew's Other hosts tab in the console.

Each Crew holds its own seat, and everything your teammates do in the Crew is billed to the Crew. Depending on how your account buys Kiro, creating a Crew either assigns a seat from your credit pool or adds a Kiro Pro subscription for the Crew, billed to the AWS account, and the Create crew page tells you which one applies before you confirm.

1. Create your Crew

Go to AWS Console > Kiro > Shared Crew and choose Create crew.

Give the Crew a name of 3 to 43 characters: lowercase letters, numbers, and hyphens, starting and ending with a letter or number. Teammates see this name in the Kiro Crew app, and you can't rename a Crew later. The description is optional. Choose Create crew.

2. Create a Crew API key

Open your Crew. Under Crew configuration, expand Setup values and choose the Other hosts tab. Under Crew API keys, choose Create new API key, give the key a name, and choose Create key. Copy the key and store it somewhere safe, because this is the only time the console shows it.

The key is the Crew's identity. The machine that runs the Crew uses it to run inference and to connect to Kiro, while your teammates never handle it and sign in with their own Kiro logins.

3. Install Kiro Crew on the Crew's machine

On the machine that runs the Crew, install Kiro Crew.

bash
curl -fsSL https://download.crew.kiro.dev/cli.sh | sh

For other installers and platforms, see Installation. If the machine is an EC2 instance, the EC2 section covers its shell and running Kiro Crew as a service. To check the install, run kirocrew doctor, which checks the install and names anything that is missing.

4. Connect the machine that runs your Crew

This step gives Kiro Crew the Crew API key and connects it to Kiro.

Give Kiro Crew the key for inference by adding KIRO_API_KEY to the env file it reads when it starts. An export in your shell isn't enough when Kiro Crew runs as a service, because the service doesn't inherit your shell's environment.

bash
mkdir -p ~/.kiro/crew && touch ~/.kiro/crew/.env && chmod 600 ~/.kiro/crew/.env printf 'KIRO_API_KEY=%s\n' '<your Crew API key>' >> ~/.kiro/crew/.env

Changes to .env normally apply while the gateway runs, without a full stop and start. If the gateway log warns Key KIRO_API_KEY in .env is not applied to the process environment, the launcher's value is taking precedence. Remove it from the shell, service, or container environment, then completely stop and start the gateway. For a gateway you started by hand, run kirocrew stop, remove the variable from your shell (for example with unset KIRO_API_KEY), and run kirocrew restart from that shell, which starts the gateway with that shell's environment. For the service, an inherited value can come only from its unit or /etc/kirocrew/kirocrew.env, so remove it there, then run sudo systemctl restart kirocrew. A restart from the dashboard keeps the gateway's environment, inherited values included, so it doesn't clear the value.

Kiro Crew runs sessions on its own engine, which uses KIRO_API_KEY only when you turn that on. Turn it on so that sessions run under the Crew's key. The change takes effect at the restart at the end of this step.

bash
kirocrew config set agent.kas_api_key_sign_in true

Then connect the Crew to Kiro. On the Other hosts tab, under Start Kiro Crew with the Crew API key, the console shows these commands with the address filled in, so you can copy them from there. The address follows the Region of your Kiro console, which is us-east-1 or, in Europe, eu-central-1. It doesn't follow the Region the machine runs in, so keep the address as the console shows it when the machine is in another Region. When your Kiro console is in eu-central-1, the address is https://management.eu-central-1.kiro.dev/, and no other setting changes. The commands save the key to a file that only the account running the Crew can read, point Kiro Crew at that file, turn on remote access, and restart Kiro Crew.

bash
(umask 077 && printf '%s\n' '<your Crew API key>' > ~/.kiro-crew-api-key) kirocrew config set tunnel.relay_lease_url https://management.us-east-1.kiro.dev/ kirocrew config set tunnel.relay_lease_credential ~/.kiro-crew-api-key kirocrew config set tunnel.relay_lease_token_type API_KEY kirocrew remote-control on kirocrew restart

If Kiro Crew already runs as a service on this machine, as the EC2 section sets up, restart it with sudo systemctl restart kirocrew here and wherever else this guide restarts it.

The connection to Kiro reads its key only from the file that tunnel.relay_lease_credential names, never from ~/.kiro/crew/.env. The KIRO_API_KEY line you added there is for inference, so keep it: the Crew needs the key in both places.

You don't sign in to Kiro on this machine, because the Crew works under its own key and no person's sign-in is involved.

After the restart:

  • kirocrew doctor shows auth owner: KIRO_API_KEY (agent.kas_api_key_sign_in; no Kiro Crew sign-in).
  • Settings > Kiro account in the Crew's dashboard reads "Running on KIRO_API_KEY".

kirocrew kas whoami still prints "Not signed in to Kiro Crew.", because the key isn't a stored sign-in, and its next line names the key. Confirm the connection on the Crew's page in the console in the next step.

5. Check the connection

Go back to your Crew's page in the console. The Health panel changes from Not connected to Healthy, Connection reads Connected, and Last heartbeat updates every minute. Health reads Degraded when a heartbeat is late or the connection is reconnecting. This can take a minute or two after the restart. Crew configuration now shows when the Crew registered, the machine it runs on, its Kiro Crew version, and that it connects with a Crew API key.

The console shows presence only, such as the last heartbeat and how many people are connected now. It never shows your sessions or their content.

6. Add your teammates

On your Crew's page, go to the Users tab and choose Add users. In the Assign users dialog, search for people from IAM Identity Center, select them, and choose Done to add them.

In this release every person you add has the same access to the Crew's machine and environment: their sessions run as the same OS account, with the same files, repositories, tools, credentials, and settings. Everyone you add can use the Crew and see all of its sessions.

The people you add are users under your AWS account. They can see, use, change, or share anything you give the Crew access to, including its repositories, tools, credentials, and content, so connect only what the whole team should have. A tool that one person signs in to from inside the Crew is used by everyone's sessions, which makes a shared or service account a better fit than a personal one. Your AWS account is responsible for what the Crew does, for what the people you add do and contribute in it, for keeping their access current, and for all fees from their use.

To take someone off the Crew, select them on the Users tab and choose Remove. They can't open the Crew after that, and if they are connected at the time, their access ends within five minutes.

7. See who did what

In a shared Crew, Kiro Crew shows who did what.

After a teammate joins:

  • The session list shows who started each session and lets each person filter for their own.
  • Messages and approvals carry the name of the person behind them.
  • An open session shows who else is in it now.

These appear once someone besides you has joined, so a Crew with one person in it looks the way it did before.

If Settings shows a People tab, the Crew's owner can share the machine there over Tailscale or AWS Systems Manager. That sharing stays off until the owner turns it on there, and teammates who open the Crew from the desktop app don't need it. To remove someone who was added that way, remove them in People, or remove them from your tailnet in Tailscale.

Opening a shared Crew

This section is for the teammates who open a shared Crew. Install the Kiro Crew desktop app, and sign in with the Kiro login that the person who set up the Crew added to it. You don't need the Crew API key or SSH access to the machine.

PlatformDownload
macOS (Apple Silicon and Intel)KiroCrew.dmg
Windows (x64)KiroCrew-Setup.exe
Linux .debx86_64 · aarch64
Linux .rpmx86_64 · aarch64
Linux AppImagex86_64 · aarch64

After sign-in, your shared Crews appear in the Crew switcher in the top header and in Settings > Remote Crew, and the bell tells you when you have been added to a new one. Choose a Crew to open it in the app. You can open a Crew while it is online, and it can take a minute or two after its machine connects before the app shows it that way.

Everyone in a shared Crew works in the same environment on its machine, with the same access as you. What you do in a shared Crew is visible to the other people in it and to the people who administer it, including your messages, the Crew's responses to you, and your name and profile details. Your use is billed to the AWS account that set the Crew up. An account you connect to a tool from inside the Crew is used by everyone's sessions, so connect a personal account only when you want your teammates' work to act as you.

Managing your Crew

To replace a Crew API key without downtime, create a new key under Crew API keys with Create new API key, move the machine to it, and only then delete the old key. Don't use Rotate for this: it deletes the existing key at once, so the Crew can't connect until the machine has the new key. Deleting a key stops any machine still using it from connecting.

To move the machine to the new key, first check which file holds the key with kirocrew config get tunnel.relay_lease_credential, which prints its path. Overwrite that file with the new key, put the new key in the KIRO_API_KEY line of ~/.kiro/crew/.env too, and then run kirocrew restart (or sudo systemctl restart kirocrew for a service). The other settings from step 4 don't need repeating.

To stop remote access from the machine itself, run kirocrew remote-control off, which takes effect within a few seconds. Deleting a Crew in the console stops its keys and new connections right away and can't be undone. It doesn't stop Kiro Crew on the machine or remove its data, which stay yours to clean up.

Restart Kiro Crew after each update, because kirocrew status reports version_skew while the running gateway is older than the installed version. A restart briefly pauses the heartbeat and scheduled jobs, so check kirocrew status for active sessions first. After an update or a config reset, run kirocrew doctor again and confirm that its auth owner row still names KIRO_API_KEY.

Running your Crew on Amazon EC2

An EC2 instance keeps your Crew running while every laptop is closed.

  • Operating system. Use Amazon Linux 2023.
  • Size. Start with 4 vCPUs and 16 GB of memory, which is enough for a personal Crew. Choose a larger size when more people will run sessions at once, because Kiro Crew sets its session limits from the core count and memory.
  • Disk. Keep about 2 GB of disk free for the models Kiro Crew downloads, of which the memory-search model is about 610 MB.
  • Access. Connect with AWS Systems Manager Session Manager and open no inbound ports, since the Crew's dashboard listens only on loopback. Session Manager needs an instance role with the AmazonSSMManagedInstanceCore policy attached.

Session Manager opens a plain sh that skips ~/.bashrc, so kirocrew reports "command not found" after you install it. Run bash -l first to fix it for one session, or go to Preferences > Linux shell profile in Session Manager and set it to exec bash -l to fix it for every session. You can link the binary into a directory that is always on the path instead.

bash
sudo ln -s ~/.local/bin/kirocrew /usr/local/bin/kirocrew

The link is for the account that runs the Crew. On a machine other people also use, skip it, because it would point their kirocrew at this account's install.

After the install in step 3, run kirocrew setup once and then kirocrew doctor, which checks the install and names anything that is missing. To try the Crew out, run kirocrew gateway, which stops when you close the terminal. To keep the Crew running, install it as a service, which survives logout and starts at boot. A service doesn't load /etc/environment or /etc/profile.d, which is why the key goes in ~/.kiro/crew/.env in step 4.

bash
kirocrew service install

If you already started Kiro Crew by hand, with kirocrew restart in step 4 or with kirocrew gateway, stop it with kirocrew stop before you install the service. A gateway started outside the service holds the port and the lock, and the service then fails with exit code 78. Once the service is installed, restart Kiro Crew with sudo systemctl restart kirocrew, check it with kirocrew service status, which reads active (running), and stop it with sudo systemctl stop kirocrew.

Pods and cgroup resource limits need a user systemd session. Until you enable one, kirocrew doctor warns about a missing session bus and the log reports cgroup v2 scope enforcement unavailable. Turning it on takes sudo, because the command talks to the system bus.

bash
sudo loginctl enable-linger $(id -u)

Your teammates open the Crew from the desktop app and need none of this. To open the Crew's own dashboard yourself, forward its port through Session Manager from your laptop, which needs the AWS CLI and the Session Manager plugin. The dashboard uses port 5476 unless you changed it. Replace INSTANCE_ID with the instance's ID from the EC2 console and REGION with the Region the instance runs in, and leave the command running after it prints Waiting for connections....

bash
aws ssm start-session --region REGION --target INSTANCE_ID \ --document-name AWS-StartPortForwardingSession \ --parameters 'portNumber=5476,localPortNumber=5476'

Then run kirocrew token --ttl 2h on the machine and open the http://localhost:5476 link it prints in your browser. Press Ctrl+C in the forwarding window when you are done, which leaves the Crew running.

When something isn't working, check these in order:

  1. kirocrew service status
  2. The log, with kirocrew logs -f or in ~/.kiro/crew/gateway.log
  3. kirocrew doctor
  4. The Health panel on the Crew's page in the console

Running behind a firewall or proxy

If the machine that runs your Crew or the computers your teammates open it from sit behind a firewall or proxy, allow outbound HTTPS and WebSocket on port 443 to the names below. Allow them by name and not by IP address. Remote Crews are moving to a new address format under on.aws, so allow the kiro-relay names in the table and not all of *.on.aws.

WhereAllow on port 443
Where you open a Crew*.kiro-relay.us-east-1.on.aws to open the Crew and management.us-east-1.kiro.dev for the Crew list
Where you open a Crew, Frankfurt*.kiro-relay.eu-central-1.on.aws to open the Crew and management.eu-central-1.kiro.dev for the Crew list
The machine that runs the Crewhost.us-east-1.relay.kiro.dev and management.us-east-1.kiro.dev
The machine that runs the Crew, Frankfurthost.eu-central-1.relay.kiro.dev and management.eu-central-1.kiro.dev

The names for the machine that runs the Crew stay the same through this change, so a firewall that already allows them needs no update. Where you open a Crew, an existing setup keeps using *.us-east-1.relay.kiro.dev until the old address is retired, so leave that name allowed until then.

If something isn't working

What you seeWhat to check
kirocrew start returns "invalid choice"Run kirocrew restart. To run Kiro Crew in the foreground, use kirocrew gateway.
kirocrew returns "command not found" in Session ManagerSession Manager opened a plain sh. Run bash -l, or set Preferences > Linux shell profile to exec bash -l as in the EC2 section.
Session Manager reports TargetNotConnected, or doesn't list the instanceThe instance is stopped, or its role is missing the AmazonSSMManagedInstanceCore policy. Start the instance and check the role in the EC2 console.
The service is failed with exit code 78 and the log says gateway.lock is held by pidA gateway started by hand is still running. Run kirocrew stop, then sudo systemctl restart kirocrew.
The log shows cgroup v2 scope enforcement unavailableNo user systemd session is running. Run sudo loginctl enable-linger $(id -u) as in the EC2 section.
Health stays Not connected or DegradedConfirm the three tunnel.relay_lease settings from step 4, that the key file holds the whole key, and that the key hasn't been deleted in the console. Then restart and allow two minutes. The lease address uses us-east-1 or eu-central-1, whatever Region your Kiro console uses. An address for any other Region shows in the log as lease renewal failed with ClientConnectorDNSError. ~/.kiro/crew/gateway.log names the reason when Kiro refuses the connection. A key that Kiro refuses shows there as lease renewals stopped: the lease service refused the Crew's credential (HTTP 401). A connection that works logs nothing at the default log level, so a quiet log doesn't confirm the connection on its own. Behind a firewall or proxy, allow the names for the machine that runs the Crew in the firewall section.
Opening the lease address in a browser shows <UnknownOperationException/>This is expected, because the address is an API endpoint and not a web page. Check the log instead.
The Crew connects, and sessions ask for a sign-in or reply "Not signed in to Kiro."The Crew's key isn't in use. Open Settings > Kiro account in the Crew's dashboard. If it reads "KIRO_API_KEY is set, but Kiro Agent is not using it", set agent.kas_api_key_sign_in to true as in step 4 and restart. Otherwise, check that KIRO_API_KEY is in ~/.kiro/crew/.env.
Sessions run, but the Crew's own tools, such as scheduled jobs, sub-agents, and memory, are missing, and kirocrew doctor reports its MCP servers healthyMCP is off for your account. Turn MCP tools on in the MCP section of AWS Console > Kiro > Controls, as in What you need, and restart Kiro Crew.
The log shows Key KIRO_API_KEY in .env is not applied to the process environmentThe shell, service, or container that started the gateway already sets KIRO_API_KEY, and that value is used instead of the .env line. Remove it there, then completely stop and start the gateway as in step 4.
A teammate doesn't see the CrewCheck that they are on the Users tab, that they signed in to the app with that IAM Identity Center login, and that the app is on the latest version. Behind a firewall or proxy, allow the management name for the Crew list.
The Crew is listed and can't be openedThe Crew is offline, or the teammate's network blocks the kiro-relay names in the firewall section. Check Health on its page in the console and restart Kiro Crew on its machine.
Page updated: December 1, 2026