<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Amazon Bedrock &#183; PiniShv</title><link>https://pinishv.com/tags/amazon-bedrock/</link><description>Pini Shvartsman leads AI transformation inside a 100+ engineer SaaS org. Field notes on autonomous engineering: AI-powered execution, human accountability.</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Pini Shvartsman</copyright><lastBuildDate>Wed, 05 Nov 2025 00:00:00 +0000</lastBuildDate><atom:link href="https://pinishv.com/tags/amazon-bedrock/index.xml" rel="self" type="application/rss+xml"/><item><title>CLI Agent Orchestrator: When One AI Agent Isn't Enough</title><link>https://pinishv.com/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/</link><pubDate>Wed, 05 Nov 2025 00:00:00 +0000</pubDate><guid>https://pinishv.com/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/</guid><description>AWS open-sourced CLI Agent Orchestrator, a framework coordinating multiple AI agents for complex developer tasks. It&amp;rsquo;s hierarchical orchestration for CLI tools, showing where AI tooling is headed when single agents hit their limits.</description><content:encoded>&lt;p>You&amp;rsquo;ve hit this wall before. You&amp;rsquo;re working on some complex modernization project with Claude Code or Amazon Q Developer CLI, and the agent starts losing coherence. Too much context. Too many domains. Architecture bleeding into security bleeding into performance optimization. The agent can&amp;rsquo;t maintain focus.&lt;/p>
&lt;p>Your options have been to manually coordinate between separate agent sessions, copying context around like it&amp;rsquo;s 2010. Or overload one agent with everything and watch quality degrade as the context window fills up.&lt;/p>
&lt;p>AWS to the rescue; they just released CLI Agent Orchestrator (CAO): multiple specialized agents working together under a supervisor. Hierarchical orchestration for your AI CLI tools.&lt;/p>
&lt;p>It&amp;rsquo;s early, opinionated, and requires AWS infrastructure. But it shows where developer AI tooling is headed when single agents aren&amp;rsquo;t enough.&lt;/p>
&lt;h2 class="relative group">The Problem
&lt;div id="the-problem" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#the-problem" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>Single agents work great for focused tasks. Refactoring? Boilerplate? Debugging? Claude Code or Amazon Q handles it.&lt;/p>
&lt;p>But try modernizing a legacy mainframe application. Architecture design, security review, performance optimization, testing, data migration. That&amp;rsquo;s a project spanning multiple disciplines. Load all that context into one agent and watch quality degrade. The agent contradicts itself, forgets earlier decisions, outputs get generic.&lt;/p>
&lt;p>The alternative is running separate agents manually. One for architecture. Another for security. Another for performance. Now you&amp;rsquo;re copying context between them, manually synthesizing outputs, spending more time coordinating than working. You&amp;rsquo;ve become the orchestration layer.&lt;/p>
&lt;p>CAO is AWS&amp;rsquo;s answer: a supervisor agent manages specialized workers. Each focuses on its domain. The supervisor handles coordination. Configure the team once, let them collaborate.&lt;/p>
&lt;h2 class="relative group">How It Works
&lt;div id="how-it-works" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#how-it-works" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>A supervisor agent delegates to specialized workers. One for architecture. One for security. One for performance. The supervisor manages sequencing and maintains context. Workers focus on their specialty and report back.&lt;/p>
&lt;p>
&lt;figure>
&lt;img
class="my-0 rounded-md"
loading="lazy"
decoding="async"
fetchpriority="low"
alt="Multi-agent orchestration architecture on AWS"
srcset="
/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/multi-agent-orchestration-on-aws_hu_5e68cdf0bc5192b3.png 330w,
/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/multi-agent-orchestration-on-aws_hu_3f727dcf1705082b.png 660w,
/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/multi-agent-orchestration-on-aws_hu_9fac1c38e76ee695.png 1280w
"
data-zoom-src="https://pinishv.com/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/multi-agent-orchestration-on-aws.png"
src="https://pinishv.com/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/multi-agent-orchestration-on-aws.png">
&lt;/figure>
&lt;/p>
&lt;p>Each agent runs in its own isolated tmux session. No context pollution. The architecture agent&amp;rsquo;s history doesn&amp;rsquo;t leak into the security agent&amp;rsquo;s work. Sessions communicate through Model Context Protocol (MCP) servers, which handle local communication between the isolated sessions, running entirely on your machine.&lt;/p>
&lt;p>CAO supports three patterns. Handoff (synchronous): supervisor waits for completion before proceeding. Assign (asynchronous): supervisor delegates and moves on. Send Message: supervisor checks status without blocking. All implemented through Amazon Bedrock action groups.&lt;/p>
&lt;h2 class="relative group">Example: Mainframe Modernization
&lt;div id="example-mainframe-modernization" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#example-mainframe-modernization" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>The supervisor receives &amp;ldquo;Create a modernization plan for this COBOL banking system.&amp;rdquo; It hands off sequentially: architecture agent designs the structure, security agent reviews it, then performance and test agents work in parallel. The supervisor synthesizes outputs into a unified plan.&lt;/p>
&lt;p>You could apply this to building microservices applications or migrating monoliths. In practice, you&amp;rsquo;ll iterate on prompts and intervene when agents drift. But the pattern works when configured well.&lt;/p>
&lt;h2 class="relative group">The Reality Check
&lt;div id="the-reality-check" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#the-reality-check" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>CAO only works with Amazon Q Developer CLI and Claude Code. Nothing else has shipped despite &amp;ldquo;future plans&amp;rdquo; for other tools.&lt;/p>
&lt;p>The supervisor runs on Amazon Bedrock, AWS&amp;rsquo;s managed service for foundation models. You need AWS credentials, Bedrock access, and an AWS account. It&amp;rsquo;s open source code you can&amp;rsquo;t run without AWS infrastructure. This is lock-in you should choose consciously.&lt;/p>
&lt;p>Everything runs in tmux sessions. Great for transparency, but it&amp;rsquo;s another dependency with a learning curve. Running this in CI/CD adds complexity.&lt;/p>
&lt;p>Multiple agents mean multiple API calls, more token usage, higher latency. For simple tasks, this is wasteful overkill. You need to be selective about when orchestration overhead is worth it.&lt;/p>
&lt;p>This is infrastructure for developers comfortable with AWS, tmux, and orchestration concepts. It&amp;rsquo;s not polished. Limited early reactions on social media praise the privacy focus but flag AWS lock-in and tmux hurdles as barriers to adoption.&lt;/p>
&lt;h2 class="relative group">Why It Matters
&lt;div id="why-it-matters" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#why-it-matters" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>The interesting part isn&amp;rsquo;t CAO specifically. It&amp;rsquo;s the shift from &amp;ldquo;AI tool as standalone assistant&amp;rdquo; to &amp;ldquo;AI tools as orchestrated teams.&amp;rdquo;&lt;/p>
&lt;p>Single-agent tools hit walls. Context windows don&amp;rsquo;t solve everything. At some point, more context just means more noise. Multi-agent architectures divide cognitive labor. Each agent has a focused job. The supervisor ensures pieces fit together.&lt;/p>
&lt;p>We&amp;rsquo;re seeing this everywhere. OpenAI&amp;rsquo;s Swarm. LangGraph. CrewAI. AutoGPT. The underlying idea is the same: complex tasks need coordination, not just more context. Specialization plus orchestration beats generalization with bigger context windows.&lt;/p>
&lt;p>The question: does this remain infrastructure developers explicitly configure, or does it become invisible? CAO is clearly &amp;ldquo;you configure this.&amp;rdquo; But the long-term direction is probably toward tools that orchestrate automatically, with developers intervening only when defaults fail.&lt;/p>
&lt;h2 class="relative group">Getting Started
&lt;div id="getting-started" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#getting-started" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>If you want to experiment with CAO:&lt;/p>
&lt;p>You need an AWS account with Bedrock access and permissions to use Claude models. Install Amazon Q Developer CLI or Claude Code. Install tmux (&lt;code>brew install tmux&lt;/code> on macOS). Clone the repo: &lt;code>git clone https://github.com/awslabs/cli-agent-orchestrator&lt;/code>. The README has configuration examples and workflows.&lt;/p>
&lt;p>Realistically, plan to spend an afternoon getting this working. This isn&amp;rsquo;t a tool you spin up in 10 minutes.&lt;/p>
&lt;h2 class="relative group">Should You Use This?
&lt;div id="should-you-use-this" class="anchor">&lt;/div>
&lt;span
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100 select-none">
&lt;a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700 !no-underline" href="#should-you-use-this" aria-label="Anchor">#&lt;/a>
&lt;/span>
&lt;/h2>
&lt;p>Use CAO if you&amp;rsquo;re handling complex, multi-disciplinary tasks where single agents struggle. If you&amp;rsquo;re already on AWS and Bedrock, integration is straightforward. You need comfort with tmux and orchestration concepts.&lt;/p>
&lt;p>Skip it if your tasks are straightforward. If you&amp;rsquo;re not on AWS or want to avoid lock-in, skip it. If you need something polished, this isn&amp;rsquo;t it.&lt;/p>
&lt;p>For most developers, single-agent tools remain the right choice. For teams tackling large-scale modernizations or complex migrations, CAO offers a pattern worth exploring.&lt;/p>
&lt;p>Check out the &lt;a
href="https://github.com/awslabs/cli-agent-orchestrator"
target="_blank"
>GitHub repository&lt;/a> and the &lt;a
href="https://aws.amazon.com/blogs/opensource/introducing-cli-agent-orchestrator-transforming-developer-cli-tools-into-a-multi-agent-powerhouse/"
target="_blank"
>AWS blog post&lt;/a>.&lt;/p>
&lt;p>The future of AI tooling is coordination, not just capability. CAO is AWS&amp;rsquo;s bet on how that works. Whether it becomes standard or just one experiment, the pattern it represents is where things are headed.&lt;/p></content:encoded><media:content xmlns:media="http://search.yahoo.com/mrss/" url="https://pinishv.com/articles/cli-agent-orchestrator-when-one-agent-isnt-enough/feature.png"/></item></channel></rss>