Amazon Connect has evolved far beyond a cloud telephony platform. Agentic CX Designer (ACXD) — a service within Amazon Connect Customer — lets teams build agentic customer experiences, where an AI agent understands intent, reasons across multiple steps, and takes real actions on the customer's behalf, rather than following a rigid, pre-scripted IVR flow.
This flexibility is powerful. But it raises a critical engineering question: how do you deploy and manage an agentic contact centre experience safely and repeatably? Here's the catch that trips a lot of teams up — ACXD can't be managed with the traditional Amazon Connect tooling. There's no CloudFormation resource, no classic contact-flow API. Instead, ACXD ships with its own SDK, and that SDK is the foundation you build your CI/CD pipeline on.
This guide walks through exactly how to integrate Amazon Connect Agentic CX Design into a CI/CD pipeline using the ACXD SDK — how the SDK authenticates, how its native build-and-deploy model maps to pipeline stages, what to version, how to test agentic behaviour programmatically, how to deploy with confidence, and how to monitor for the new risks that agentic AI introduces.
Important — ACXD is its own service: Agentic CX Designer (ACXD) is a service within Amazon Connect Customer for building AI-powered conversational experiences visually on a canvas. It is not managed through the traditional Amazon Connect contact-flow APIs, CloudFormation, or the classic DevOps tooling you might expect. Instead, ACXD exposes a dedicated SDK — a RESTful API with its own authentication and its own build/deployment model. If you want CI/CD for ACXD, you build it around that SDK. That's what this guide focuses on.
What Is Amazon Connect Agentic CX Design (ACXD)?
Agentic CX Designer (ACXD) is a service within Amazon Connect Customer for designing AI-powered conversational experiences. You build applications visually on a Canvas by adding and connecting nodes — each node representing an action such as sending a message, collecting a response, calling a data request, generating AI output, routing to another flow, escalating to a human agent, or ending the session. An application can contain multiple reusable flows, backed by knowledge bases, guardrails, slots, and data requests.
Instead of scripting every path the way you would in a classic IVR, you define the agent's routing descriptions, default behaviours, and guardrails, and the AI reasons about each customer's request. This is a fundamental departure from deterministic IVR design: behaviour is generated and probabilistic rather than fixed. That flexibility is powerful — and it's exactly why a disciplined, automated deployment process matters.
The key thing to understand: ACXD does not plug into the traditional Amazon Connect deployment tooling. It has its own workspace, its own build-and-deploy lifecycle, and its own ACXD SDK. So building a pipeline for ACXD means building it around that SDK — which is precisely what AWS designed the SDK for.
Why You Need a CI/CD Pipeline for Agentic Amazon Connect
Before the how, the why. Managing an agentic experience purely by hand in the ACXD workspace creates real problems:
- No single source of truth. Changes made directly in the console are invisible and undocumented. Nobody knows what changed, when, or why.
- No safe rollback. If a prompt change degrades the experience, reversing it manually is slow and error-prone.
- No repeatability across environments. Getting dev, staging, and production to match becomes guesswork.
- No automated quality gate. Agentic AI can hallucinate or drift off-policy — without automated checks, those issues reach customers.
A CI/CD pipeline solves all of these. It gives you version control, automated testing, consistent multi-environment deployment, safe rollback, and — crucially for agentic AI — continuous quality monitoring.
The ACXD SDK: Your Pipeline's Foundation
Because ACXD can't be managed with traditional infrastructure-as-code tools, the ACXD SDK is how you bring CI/CD to it. AWS designed the SDK explicitly for this: as conversational AI scales from prototypes to production fleets, teams need repeatable deployments and programmatic testing, and the SDK brings infrastructure-as-code-style workflows to Agentic CX Designer. Content was rephrased for compliance with licensing restrictions. [Source: AWS ACXD SDK docs]
Crucially, anything you can do in the visual workspace, you can also do through the SDK — and changes made through either path are immediately visible in the other. That two-way parity is what makes a pipeline possible: designers can work visually while your pipeline manages the same resources as code.
How the SDK is authenticated
Unlike most AWS services, the ACXD SDK does not use standard IAM/SigV4 credentials. It uses API-key authentication tied to a programmatic user:
- An account administrator creates a programmatic user (a machine identity) in Admin Hub → Programmatic Users.
- The user is assigned a role via
roleConfig— either an account-level role or workspace-scoped roles (administrator, developer, content manager, read-only, or a custom role). - You generate an API key for that user (format
acxd_live_<prefix>.<secret>). It's shown only once, and you can have up to two keys per user.
The API key is just a credential — permissions are resolved at request time from the programmatic user's role, and role changes take effect immediately. For a pipeline, this means you create a dedicated CI/CD programmatic user, scope it to exactly the workspaces and permissions it needs, and store its API key in a secrets manager.
Pipeline security tip: Never commit the acxd_live_... key to source control. Store it in AWS Secrets Manager (or your CI platform's secret store) and inject it as an environment variable at build time. Scope the CI programmatic user with least privilege — a workspace-scoped developer role is usually enough for deployments.
The SDK command pattern
The SDK (installed via npm install amazon-connect-acxd-sdk) follows a command pattern: instantiate a client with your API key and workspace ID, then send command objects. This is what your pipeline scripts will call.
import { AgenticCXDesignerClient, CreateApplicationBuildCommand,
CreateApplicationDeploymentCommand } from 'amazon-connect-acxd-sdk';
const client = new AgenticCXDesignerClient({
apiKey: process.env.ACXD_API_KEY, // from Secrets Manager, never hard-coded
workspaceId: process.env.ACXD_WORKSPACE_ID,
});
// e.g. list, build, deploy — all via client.send(new SomeCommand({...}))
How ACXD Builds and Deployments Work
ACXD has a native build-and-deploy lifecycle that maps neatly onto pipeline stages — and the SDK exposes both:
- A build packages the current application configuration into a deployable snapshot — attached flows, routing descriptions, default behaviour, guardrails, slots, language settings, and application settings at the moment the build is created. Edits made after a build aren't included until you create another build.
- A deployment makes a selected build active in an environment (development or production). Only one build can be active per environment at a time, and you can roll back to a previous build.
The SDK provides commands for the full lifecycle, including CreateApplicationBuild, GetApplicationBuild, GetApplicationBuildDiff, ListApplicationDeployments, CreateApplicationDeployment, and UpdateApplicationDeployment — plus operations for flows, guardrails (including TestGuardrail), knowledge bases, data requests, and resource versions (ListResourceVersions, GetResourceVersion).
The mental model: "Build" is your CI artifact; "deploy" is your CD promotion. Because builds are immutable snapshots and only one is active per environment, you get clean, auditable releases and one-command rollback — the core primitives every pipeline needs, provided natively by ACXD.
A 5-Stage CI/CD Pipeline Built on the ACXD SDK
Here's a practical pipeline that wraps the ACXD SDK. The pipeline orchestrator can be AWS CodePipeline + CodeBuild, GitHub Actions, GitLab CI, or Jenkins — the important part is that each stage calls the ACXD SDK rather than traditional Connect APIs.
1 Source: Export ACXD Resources to Git
Use the SDK's Get/List operations (e.g. GetApplication, ListFlows, ListGuardrails, GetResourceVersion) to pull the current workspace resources into JSON and commit them to a Git repository. This gives you a version-controlled source of truth, code review on pull requests, and a full change history for audit — something the visual workspace alone can't provide. Designers keep working on the Canvas; a scheduled or manual "export" job keeps Git in sync.
2 Build: Create an Immutable Snapshot
On merge, the pipeline calls CreateApplicationBuild against the target workspace (specifying the development environment). ACXD runs its own validation during the build — flagging disconnected flow paths, incomplete configurations, and other critical errors. If the build fails, the pipeline fails. Use GetApplicationBuildDiff to attach a human-readable changelog of what changed since the last build to your pipeline output.
3 Test: Programmatic Evaluation & Guardrail Checks
With a build created, run automated tests programmatically. Drive test conversations against the built application and grade responses with an LLM-as-a-judge for accuracy, tone, and policy adherence. Use the TestGuardrail command to confirm guardrails block what they must, and review ListGuardrailEvents. Run your adversarial and regression prompt suite here. If scores fall below threshold, fail the pipeline before anything reaches production.
4 Deploy: Promote the Build via the SDK
Once tests pass, call CreateApplicationDeployment to make the build active — first in development, then, after approval, in production. Because only one build is active per environment, promotion is clean and deterministic. Keep a manual approval gate before production for changes touching guardrails or compliance. If something goes wrong, roll back by deploying the previous build (via the deployment operations) — no manual console clicking required.
5 Monitor: Continuous Quality & Hallucination Alerts
Deployment isn't the finish line. Use ListConversations / GetConversation and QueryLogs to pull live interactions, sample them with an LLM-as-a-judge, and raise an alert the moment the agent hallucinates or drifts off-policy. Every flagged conversation becomes a new regression test committed back to your repo — closing the loop so the same issue can never silently return.
Example: An SDK-Driven Pipeline Structure for ACXD
Here's a simplified view of how the stages map to ACXD SDK commands. The CI orchestrator (CodePipeline, GitHub Actions, etc.) runs scripts that call the SDK. This is illustrative — adapt it to your tooling and governance.
Auth (once, by Account Admin)
└─ create programmatic user (least-privilege role)
└─ generate API key → store in AWS Secrets Manager
Source (Git repo — synced via SDK Get/List)
└─ applications/*.json (GetApplication, ListFlows)
└─ guardrails/*.json (ListGuardrails)
└─ knowledge-bases/*.json (ListKnowledgeBases)
└─ tests/ (prompt suites + expected policy)
│
▼
Build (SDK: CreateApplicationBuild)
└─ ACXD validates flows, config, guardrails
└─ GetApplicationBuildDiff → changelog
└─ FAIL pipeline on build errors
│
▼
Test (SDK: drive convos + TestGuardrail)
└─ run adversarial + regression prompt suite
└─ LLM-as-a-judge scores responses
└─ FAIL pipeline if score < threshold
│
▼
Deploy (SDK: CreateApplicationDeployment)
└─ dev → (manual approval) → prod
└─ one active build per env → clean rollback
│
▼
Monitor (SDK: ListConversations / QueryLogs)
└─ live LLM-as-a-judge sampling
└─ hallucination / off-policy alerts
└─ feedback loop → new regression tests in Git
The New Discipline: Testing Behaviour, Not Paths
The single biggest mindset shift in Amazon Connect Agentic CX Design is how you test. With a deterministic IVR, you test every path once and it stays fixed. With an agentic experience, the response is generated, so you're testing behaviour and boundaries, not fixed routes.
Your pipeline's test suite should include:
- Representative prompts — the common ways real customers phrase their needs
- Edge cases — ambiguous, incomplete, or multi-intent requests
- Adversarial prompts — jailbreak attempts, prompt injection, and social engineering
- Guardrail tests — confirm the agent refuses what it must never do (e.g. give financial advice, reveal another customer's data)
- Regression prompts — every past failure, added permanently so it never recurs
Run this suite on every pipeline execution. Because an LLM-as-a-judge can evaluate hundreds of prompts in minutes, you get comprehensive coverage on every commit — something that was impossible with manual QA.
Best Practices for ACXD SDK Pipeline Integration
- Use a dedicated CI programmatic user. Create a separate programmatic user for the pipeline with a least-privilege, workspace-scoped role — not an account-level administrator.
- Never hard-code the API key. Store the
acxd_live_...key in AWS Secrets Manager or your CI secret store and inject it at runtime. Remember you only get two keys per user, and they're shown once — plan rotation. - Let ACXD builds be your artifacts. Lean on the native build/deploy model rather than reinventing it. Immutable builds plus one-active-build-per-environment give you clean releases and rollback for free.
- Keep Git and the workspace in sync. Because changes flow both ways (SDK and Canvas), decide on your source of truth and run a regular SDK-based export so the repo never drifts from the live workspace.
- Gate production behind approval. Require manual approval before
CreateApplicationDeploymentto production for anything touching guardrails, routing, or compliance. - Test guardrails explicitly. Use
TestGuardrailand reviewListGuardrailEventsin the pipeline so safety boundaries are verified on every release, not assumed. - Treat monitoring as a permanent pipeline stage. Continuous evaluation and hallucination alerting via
ListConversations/QueryLogsdon't stop at deploy — they're the final, always-on stage.
Frequently Asked Questions
What is Amazon Connect Agentic CX Design (ACXD)?
It's a design approach for building customer experiences on Amazon Connect using agentic AI — where an AI agent powered by services like Amazon Bedrock reasons about the customer's intent and takes actions, rather than following a fixed, scripted IVR flow.
Can agentic Amazon Connect experiences be deployed with CI/CD?
Yes. By treating contact flows, Lex bots, Bedrock agent configuration, prompts, and guardrails as versioned artifacts, you can put an entire agentic Amazon Connect experience under CI/CD with automated testing, blue/green deployment, and continuous monitoring.
How do you test an agentic AI experience in a pipeline?
Testing shifts from walking fixed paths to adversarial and evaluation-based testing: create an ACXD build, drive test conversations against it, use an LLM-as-a-judge to grade responses against policy, verify safety with the SDK's TestGuardrail command, and block deployment if quality or safety thresholds are not met.
Does ACXD use CloudFormation or the standard Amazon Connect APIs?
No. Agentic CX Designer is not managed through traditional Amazon Connect contact-flow APIs or CloudFormation. It has its own workspace, its own build-and-deploy lifecycle, and a dedicated ACXD SDK (a RESTful API with API-key authentication). CI/CD for ACXD is built around that SDK.
How is the ACXD SDK authenticated?
The ACXD SDK uses API-key authentication rather than standard IAM credentials. An account admin creates a programmatic user, assigns it a role, and generates an API key (format acxd_live_<prefix>.<secret>). Permissions are resolved from the user's role at request time, so you can scope a CI user tightly with least privilege.
Conclusion
Amazon Connect Agentic CX Design unlocks flexible, intelligent customer experiences that were impossible with traditional scripted IVR. But that power demands engineering discipline. Integrating ACXD into a CI/CD pipeline — with everything under version control, automated adversarial testing, blue/green deployment, and continuous hallucination monitoring — is what turns an impressive demo into a reliable, auditable production system.
Start small: put one agentic use case under source control, add a prompt test suite, and automate the deployment. Prove the pattern, then scale it across your contact centre. The result is agentic AI you can actually trust in production — fast to build, safe to ship, and continuously improving.
Want to design and document your agentic experience before you build the pipeline? Try the free IVR Design Tool, built specifically for IVR and agentic experiences.