Every AI demo looks effortless when you have one chat tab open on your laptop. The moment you try to run 11 persistent, autonomous agents across real repositories, scheduled crons, Discord DMs, and AWS services, reality hits fast.
For the AWS Builder Center CB Speed Run 2 challenge, the theme is "slow is smooth, and smooth is fast." Instead of throwing together a toy hello-world Lambda, I dug into my production Kiro Crew (v0.12.0) + kiro-cli 3.5.0 multi-agent fleet, audited every warning with kirocrew doctor, documented the five sharpest things that actually broke, and mapped the exact fixes to ship the whole stack cleanly on AWS.
Let's break down the architecture, walk through the real failure modes and fixes, and compare local systemd vs. AWS EC2 deployment.
1. The Mental Model: How Kiro Crew Runs 11 Persistent Agents #
Most developers treat AI coding assistants as stateless CLI invocations: you type a prompt, watch it edit a file, and close the terminal. When you close your laptop lid, the context evaporates.
Kiro Crew flips that model into a long-lived personal agent daemon (kirocrew service install) with three distinct architectural layers:
- Control Plane & Outbound Channels (Layer 1) : A single loopback gateway listening strictly on
127.0.0.1:5476with mandatory token authentication (even localhost is never exempt). Messaging integrations like Discord and Slack connectoutbound , meaning you never open inbound firewall ports to your home lab or VPC. - Agent Runtime & Built-In MCP Hosts (Layer 2) : Kiro Crew runs over the Agent Client Protocol (
acp) backed bykiro-cli 3.5.0(and its KAS relay), exposing four built-in MCP servers totaling111 tools :
- `@kirocrew-core` (77 tools for files, execution, search, and artifacts)
- `@kirocrew-mate` (13 tools for cross-mate delegation and orchestration)
- `@kirocrew-guide` (12 tools for self-diagnostics and documentation)
- `@kirocrew-cron` (9 tools for scheduled jobs and weekly reports)
- Isolated Mates, Vector Memory & Hybrid Inference (Layer 3) : Instead of stuffing every project into one giant prompt, I split my workflow into11 specialized Crew Mates (
site-lead,content-lead,podcast-lead,social-lead,devrel-lead,tools-lead,flipcore-lead,alexpatterson-lead,mayville-lead,retirement-lead, andassistant). Each mate gets its own isolatedWORKSPACE, its ownMEMORY_STORE(SQLite FTS5 + in-processqwen3-embedding-0.6b.gguf), and its own model route.
Here is the real output from kirocrew agent list on my workstation showing hybrid routing across cloud models and a local GPU:
That architecture is clean on paper. Now let's look at the five things that actually broke in practice and how I fixed them.
2. Five Real Gotchas That Broke (and How I Fixed Them) #
Running kirocrew doctor is the single highest-leverage habit you can build with Kiro Crew. Every one of these failures surfaced either during a live agent run or inside a doctor audit.
Gotcha 1: The Non-Interactive Systemd node v10.24.1 Trap
What broke: My interactive bash shell runs Node v22.23.2 via nvm, so every manual CLI test passed. The moment Kiro Crew ran as a background systemd service, kirocrew doctor failed hard:
Why it happened: systemd units and non-interactive subshells never source ~/.bashrc or ~/.nvm/nvm.sh. They fall back to /usr/bin/node, which on Ubuntu was an ancient apt-installed v10.24.1. Any Node-based MCP server or JS tool launched by the background daemon silently inherits that broken runtime.
The fix: Pin the exact Node 22/24 binary path in /etc/kirocrew/kirocrew.env (which the managed systemd service loads at boot) and restart the daemon cleanly:
AJ Pro-Tip: Never assume your interactive terminal PATH matches your background agent daemon. If you install Node via nvm or mise, always verify which node inside a non-login shell (bash -c 'node -v') before trusting a background agent service.
Gotcha 2: MCP Projection Withholding & Enterprise Registry Mode
What broke: When testing multiple agent harnesses alongside kiro-cli, kirocrew doctor logged a sharp set of warnings:
Why it happened: Kiro Crew's native transports (kiro and kas) carry cryptographic session identity ( sel_hmac.key) and per-tool deny channels. External harness mirrors (such as Codex, Copilot, DeepSeek, Goose, OpenCode, and Strands) cannot pass Crew's session identity to Crew-owned MCP servers. Rather than mounting a broken or unauthenticated server, Kiro Crew intentionally withholds @kirocrew-guide and @kirocrew-mate on those backends.
A second related trap hits AWS Identity Center users: if your organization enables an Enterprise MCP Registry URL, kirocrew doctor probes will pass locally (@kirocrew-core: 77 tools), yet live sessions will see zero tools because kiro-cli only connects to servers explicitly marked "type": "registry".
The fix:
- Keep orchestration and mate-delegation tasks on native
kiro/kastransports where all 111 tools resolve cleanly (mcp tool refs: ✅ kiro,✅ kas). - If you run under AWS Identity Center with an admin MCP Registry, flip registry mode on and allow-list the four exact server names:
Gotcha 3: Sandboxed Harnesses Cannot Read ~/.aws/credentials
What broke: When wiring an agent harness like AWS Strands to call Amazon Bedrock, my first instinct was to rely on my local ~/.aws/config SSO profile (AdministratorAccess). Every call failed with missing credentials even though aws sts get-caller-identity worked in my shell.
Why it happened: Kiro Crew executes external harnesses inside a strict sandbox without mounting ~/.aws or inheriting your host shell's AWS environment variables. That is a great security default, because a prompt-injected agent cannot exfiltrate your root or SSO session tokens, but it will catch you off guard if you expect standard AWS SDK credential chain fallback.
The fix: Store scoped Bedrock credentials inside Kiro Crew's encrypted secret vault (~/.kiro/crew/.vault) and explicitly map them to the harness environment:
Gotcha 4: Optional Venv Extras (stt_extra_missing and faiss-cpu Fallback)
What broke: Even though Kiro Crew downloaded the local Whisper model (~/.kiro/crew/models/whisper/ggml-base.bin) and the embedding model ( qwen3-embedding-0.6b.gguf), kirocrew doctor flagged two silent performance and capability gaps: