What happens when AI agents become so complex that the engineers building them can no longer keep up? That is the engineering enigma we confronted while developing Salesforce’s Agentforce Voice platform. We needed to build, test, and improve increasingly sophisticated voice agents without overwhelming the engineers responsible for them.
Our agents could handle sophisticated customer conversations, but getting them into production was becoming an engineering ordeal. Agents passed automated tests yet failed during real conversations. Fixing one problem could introduce another, and engineers were spending more time troubleshooting deployments than improving the platform. In June 2026, fewer than 10 customers were live.
Our mission seemed impossible: make AI voice agents dramatically faster to build, test, and deploy without compromising reliability. Asking engineers to write code faster would not solve the problem. We needed to fundamentally change how engineering work got done. We began using AI-assisted software development to generate code, test conversations, investigate failures, and implement improvements. Deployment cycles fell from five or six months to weeks, live customers grew from fewer than 10 to more than 130, and certain issue investigations became approximately 10x faster.
The breakthrough was not about making every engineer 10x more productive. It was about eliminating the bottlenecks that prevented us from scaling Agentforce Voice.
The Breaking Point: When Humans Could Not Keep Up With AI Complexity
We had built Agentforce Voice to handle complex customer conversations, yet customers struggled to configure agents that behaved reliably. The flexibility that made the platform powerful also made it extraordinarily difficult to deploy.
Our original approach followed a familiar development model. Customers defined instructions, configured actions, established guardrails, and manually tested the results. Because instructions were written in natural language, the process appeared more approachable than traditional programming. But effective prompting still required understanding dependencies, anticipating edge cases, and defining what an agent should and should not do.
One customer pasted approximately 3,000 lines of terms of service into an agent and expected it to work. Others assembled scripts containing 20,000 to 30,000 lines, sometimes with contradictory instructions written by different contributors. Teams could have five or six people working on an agent without realizing their instructions conflicted. Voice introduced additional complexity. Agents needed to handle interruptions, latency, pronunciation, and conversational naturalness while following business instructions. A configuration that worked in one scenario could fail in another, leaving customers frustrated and leaving the engineering team struggling to reproduce the problem.
By June 2026, several customers were simultaneously escalating deployment issues. In one case, 15 of 200 user acceptance testing calls went off track, undermining confidence in the implementation. On multiple occasions members of the engineering team travelled to our customers for a multi-day bug bash to overcome deployment challenges. Our platform engineers were increasingly troubleshooting individual implementations instead of developing new capabilities. Adding people might have helped temporarily, but it would not address the underlying problem: human effort had become the limiting factor in scaling AI voice agents.
We needed AI to translate customer requirements into working agents without engineers or admins manually implementing every configuration. But generating those agents was only half the challenge. We also needed to determine whether they actually worked.
The Agentforce Voice Lifecycle consists of 5 major steps, all previously handled by a human. With the switch to AI-driven development, we can tighten this loop from weeks to hours, leaving humans to focus on the ideas and decisions while AI handles the manual work of building and testing.
The Testing Paradox: Why Traditional AI Testing Was Not Enough
An Agentforce Voice agent could produce an accurate transcript and still deliver an experience no customer would approve for production. Correct answers were not enough if the conversation itself sounded broken.
Salesforce’s Agentforce Testing Center helps validate agents through generated scenarios, behavioral checks, and action verification. Those capabilities remain valuable, but transcript-based testing could not adequately capture three dimensions of voice quality:
- Conversational timing: Unnatural pauses, extended silence, and delayed responses.
- Speech quality: Stuttering, mispronunciations, and unnatural delivery.
- Interruption handling: Talking over callers, losing context, and failing to recover naturally.
Transcripts could appear flawless while actual conversations sounded unnatural. We needed automated voice-agent testing that evaluated the audio experience rather than relying exclusively on textual evidence.
We adopted a platform that uses AI agents to make simulated phone calls. These testing agents call Agentforce Voice, generate realistic conversations, introduce interruptions, and evaluate characteristics such as silence between responses. Instead of waiting for customers to discover problems during user acceptance testing, we could exercise those behaviors systematically.
Our product team began using AI agents to generate 300 to 400 test scenarios covering different conversational situations. After running the simulated calls, team members reviewed the results and identified failures requiring attention. Forward-deployed engineers (FDEs) then incorporated those findings into their reusable AI skills, adjusted the agent configurations, and ran additional tests to evaluate the changes. This human-coordinated feedback loop allowed teams to test and refine agents much faster without pretending the entire process was autonomous. AI handled much of the scenario generation and testing, while people interpreted the results, guided corrections, and determined when an agent was ready.
Repeated testing also revealed a relationship between automated success rates and customer confidence. When test suites reached approximately 80% to 85% success, customers often remained hesitant. As results approached 95%, customers became more comfortable approving deployments. The 95% figure was not a predetermined engineering quality gate or a statistical guarantee of reliability. It emerged from repeated testing and customer sign-offs, reflecting the level of demonstrated performance at which customers consistently began trusting their agents enough to deploy them.
Automated testing helped expose failures sooner, but correcting those failures still required engineering work. To scale, we needed to accelerate implementation alongside validation.
The Breakthrough: Using AI Coding Agents to Build Agentforce Voice
Faster code generation would mean little if engineers still spent weeks diagnosing failures and manually testing the changes. Likewise, faster testing could not solve the problem if every correction required extensive manual coding. We needed both capabilities working together to shorten the path from customer requirements to validated voice agents.
Our FDEs helped make that possible. Working directly with customers, they understood recurring configuration problems and practical requirements. Although their traditional responsibility was configuring Salesforce rather than contributing platform code, they began developing reusable AI skills to automate repetitive work. They connected Claude to Salesforce’s headless APIs, described the structure of Agent Script, and supplied customer requirements. Claude generated the implementation, reducing the need to manually write thousands of lines of configuration.
Platform engineers reviewed the resulting agents and recommended improvements to instructions, configuration choices, and model parameters. FDEs incorporated that guidance into reusable skills, allowing lessons from each engagement to improve subsequent implementations. These skills became sophisticated enough for FDEs to share across teams and help customers deploy without direct platform-engineering involvement. We are now incorporating those capabilities into our agent builder’s repository, extending their benefits to customers who do not work directly with an FDE.
The change also transformed customer feedback. Previously, a behavioral issue might become a bug report, enter a sprint, and return to the customer weeks later. Now an FDE can often modify a skill, regenerate the agent, and evaluate the change during the engagement. This created a more responsive development and validation cycle. AI generated or modified Agent Script, simulated conversations exposed behavioral problems, and FDEs used those results to guide further changes. Humans continued to initiate tests, interpret results, and approve deployments, but no longer needed to manually perform every implementation step.
By bringing requirements, implementation, and validation closer together, we reduced the delays that had previously stretched deployments across multiple development cycles.
How AI-Assisted Development Accelerated Engineering by 10x
The same bottleneck existed inside our Agentforce Voice engineering organization. When customers encountered difficult issues, engineers might spend hours examining Splunk logs and dashboards before identifying the cause. Implementing and validating a fix could consume another development cycle.
We have begun applying the same agent-driven approach internally. Most of our code is no longer handwritten, although engineers remain responsible for architecture, service boundaries, and overall platform design. One of our clearest developer-productivity gains comes from AI-assisted issue investigation. Previously, engineers manually examined logs, dashboards, and diagnostic information to identify potential causes. Our investigation skills now allow AI agents to perform much of that analysis, with engineers providing additional customer or platform context when needed.
We have seen approximately a 10x improvement in the speed of certain investigations. Engineers can now move from diagnosing problems toward evaluating solutions much sooner, freeing them to focus on work requiring broader architectural judgment. Our AI-assisted engineering workflow increasingly follows a test-first development model:
- Investigate: AI agents analyze logs and identify potential root causes.
- Reproduce: Agents write failing tests that capture the problem.
- Implement: Agents generate fixes and iterate until tests pass.
- Review: AI performs initial code-quality and security checks before human approval.
This changes where engineers invest their attention. Instead of spending hours on routine diagnostics and implementation, they can evaluate whether a fix addresses the problem, fits the architecture, and meets production requirements. The same approach is also accelerating two other demanding engineering workflows: multilingual support and AI model onboarding.
Multilingual Support: AI-Generated Code in Minutes
Agentforce Voice must speak naturally across languages and locales, including handling currencies, numbers, and expressions that are not pronounced as written. Our text-normalization pipeline addresses those differences, but language-specific implementations traditionally required substantial manual effort.
Our original French normalizer was handwritten, with engineers consulting native speakers about linguistic nuances. Now we can provide an AI agent with our English normalizer and ask it to generate equivalent rules and code for another language. The implementation can be produced in minutes rather than requiring extensive manual research and coding. Native speakers still validate the resulting behavior to maintain production quality, but engineers no longer need to complete that linguistic research before beginning development.
AI Model Onboarding: From One Month to Two Days
Onboarding a new AI model into Agentforce Voice presents different challenges. Each model has configuration parameters, integration requirements, and behavioral characteristics that can require changes across multiple services. Previously, onboarding a model could take approximately a month. Today, we can provide an AI agent with the model specification and have it implement the necessary changes, reducing the coding portion of onboarding to approximately two days.
Both examples illustrate the same engineering shift: AI handles repetitive implementation work while engineers concentrate on requirements, validation, and architectural decisions. That distinction matters because faster code generation alone does not guarantee a reliable production system.
The Results: Faster Engineering, Faster Agentforce Voice Deployments
Our objective was not simply to generate code faster. We needed customers to feel confident deploying Agentforce Voice agents without extensive intervention from Salesforce engineers. The improvements spanned several engineering workflows, from diagnosing problems and generating implementations to validating conversations and preparing deployments.
These improvements changed customer conversations. During one rollout, repeated manual changes and testing had created frustrating regressions. With AI-assisted development and automated validation, the team could provide stronger evidence that the agent was ready for production. As customers gained confidence, their attention shifted toward additional business problems. Instead of spending meetings diagnosing failures, they began exploring new use cases, including opportunities beyond phone conversations.
That shift was especially important for our engineering organization. Rather than repeatedly intervening in individual customer configurations, we could devote more attention to improving the platform and enabling customers to solve new problems.
The Next Mission: Engineering Beyond Manual Coding
Our work on Agentforce Voice has demonstrated that AI agents can generate configurations, simulate conversations, investigate failures, implement code changes, and perform initial reviews. The next challenge is connecting those capabilities into a development lifecycle requiring less manual coordination while preserving production reliability.
Today, that coordination remains largely human-driven. Engineers or FDEs initiate changes, run tests, review feedback, and approve deployments. We have established many individual capabilities, but automating the complete process remains work ahead. Consider a future workflow in which a customer reports that an Agentforce Voice agent stuttered during a conversation. An AI agent could investigate the failure, identify its cause, write a regression test, implement a fix, and submit a pull request. Other agents could evaluate the change and verify the conversation before human approval.
The challenge is not merely connecting these steps. It is ensuring the resulting system remains trustworthy, secure, and accountable. Engineers still need to make architectural decisions, evaluate tradeoffs, and determine whether changes genuinely solve customer problems.
Software engineering has repeatedly evolved toward higher levels of abstraction, from assembly language to modern programming languages and frameworks. Agentic engineering represents another step, with AI taking on more implementation and validation work while engineers define requirements and evaluate results. Our experience with Agentforce Voice has shown that writing less code does not mean doing less engineering. It means spending more time on work requiring engineering judgment. The productivity gains we have achieved come not from removing humans from development, but from changing how we apply their expertise.
The future of software engineering is not about how quickly humans can write code. It is about how quickly we can turn a problem into a trusted, working solution.
Learn more
- Stay connected by joining our Talent Community.
- Explore our Technology and Product teams to see how you can get involved.