VOOZH about

URL: https://thenewstack.io/how-salesforce-built-an-ai-driven-app-in-under-4-days/

⇱ How Salesforce Built an AI-Driven App in Under 4 Days - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2024-10-31 07:00:17
How Salesforce Built an AI-Driven App in Under 4 Days
AI / AI Engineering / Frontend Development

How Salesforce Built an AI-Driven App in Under 4 Days

Salesforce used its new AI tech stack to build an interactive Dreamforce app in just four days. A Salesforce executive explains how.
Oct 31st, 2024 7:00am by Loraine Lawson
👁 Featued image for: How Salesforce Built an AI-Driven App in Under 4 Days
Photo by Christina Morillo via Pexels

Word got out that the Salesforce events team planned to build a custom AI for the Dreamforce conference app. This surprised the online CRM’s AI team, which had already created and was using a new AI enterprise technology stack called Agentforce to build AI agents for customers.

The Agentforce platform became generally available Tuesday, but at the time, the AI team was focused on using it to help external customers develop AI agents for their own use, said Jayesh Govindarajan, the executive vice president for Salesforce AI.

“Four days before Dreamforce, we got a call saying, ‘Hey, we have this events app that’s being built by the events team, and they’re doing it all by themselves — they’re setting up a vector database, they are bringing in data,’” Govindarajan told The New Stack. “That’s a lot of work trying to put all these things together. And we were like, ‘Hey, wait a minute, that’s exactly what the stack does. You don’t have to do your own AI by yourself.’”

Building a demo is one thing, but launching at the world’s biggest SaaS event with only four days did raise trepidations, particularly about scale. But it was actually straightforward because the technology stack had been built to support scaling, he said.

“You can just come in, plug in your data, plug in actions, and let the planner do its magic, and be able to get to v1 of an agent really, really quickly.”
– Jayvesh Govindarajan, executive at Salesforce AI

But it did serve as a good test for the Agentforce stack.

“Is it possible to bring all the data in one place to be used for context and grounding?” he said. “Is it possible to, with a few clicks, be able to build a RAG system that can be used to then guide an agentic system? Is it possible to configure with simple actions and descriptions all of the tasks that the agent is supposed to do and can actually do on your behalf? And then, is it possible to configure a full agentic system and the reasoning engine with a few instructions and some guardrails, and then that’s the build process.”

But it took only 2-3 days to build the whole agentic AI using AgentForce, which Govindarajan said “blew everyone’s mind internally.”

The app, called AskAstro, debuted at the conference, allowing conference goers to query the AI to find sessions of interest and other information. It deployed more than 10,000 instances of the AI agent at Dreamforce, according to a Salesforce’s press release.

Salesforce now plans to use AskAstro for all of its events, Govindarajan said.

The AI Stack Behind AskAstro

Though the app took only a few days to develop, the technology stack that supports it would take six to eight months if an organization were starting from scratch, Govindarajan said.

The heart of any agentic system is basically three big things, he added:

  1. A planning and reasoning engine;
  2. Privacy engines that provide data masking and ensure privacy and intellectual property are protected, and
  3. Retrieval Augmentation Generation.

“Retrieval augmented generation is all about generating the right context. Think of it like a context engine,” he said.

Data is also a key key element underlying Agentforce, Govindarajan said. Without the right data, large language models will hallucinate so it’s important to provide the right context and the right data, he added.

👁 An image showing two people and the Agentforce technology stack.

The Agentforce technology stack. Image courtesy Salesforce.

When large language models (LLMs) and generative AI first came on the scene, it was all about language capabilities, he said. But that has changed quickly.

“In the last eight months or so, what we realized is LLMs are not just great at language, but also phenomenal at orchestrating task, at orchestrating API calls, at […] talking to the customer on one side, and then breaking that task down into smaller sub-tasks, and then mapping those sub-tasks to specific actions that they can take on the behalf of the customer,” he said. “This is a total game changer.”

“Agentforce relies on a family of LLMs for reasoning, planning and production systems. Some of those are their own models that are used for privacy, PII removal and data masking. It’s a family of models that we’ve built and shipped, some of which basically mixes both internal models that we’ve developed along with external models for things like listening, for things like language generation,” he said.

He compared it to the shift required a decade ago when cloud-based SaaS models upended the traditional software development path of build and buy your own infrastructure.

“This was sort of the deja vu moment where you don’t need to set up your own vector store. You don’t need to set up your own data cloud. You don’t need to go to data engines. You don’t need to go set up your planner prompting mechanism,” he said. “You can just come in, plug in your data, plug-in actions, and let the planner do its magic, and be able to get to v1 of an agent really, really quickly.”

The Headaches of AI Testing

AI agent testing can be a real challenge. Govindarajan ran through a list of issues that have to be considered when testing an agentic AI:

  • What testing tools can you use to test an agentic system?
  • Can you create synthetic data that simulates a user?
  • What happens if the right answer doesn’t show up?
  • Do you have tools to debug if it does give incorrect answers?
  • Can you identify where the incorrect output is coming from?

“Basically, the moment you hit the first issue, debugging is a problem, testing is the problem, but in four days, we were able to dog food all of these sorts of things, really, really fast,” he said. “It was a real test to whether our story is real or not. Are you able to build a production-grade agent in four days by bringing in data, by bringing in context, by bringing in actions, and just launch it in four days after testing it at scale? That’s what we did.”

AskAstro can also remember previous conversations with a user. While it’s one agent, it’s built on a multitenant system, so if a user is logged in, it can remember conversations and provide a more personalized experience, he said.

How Agentic AI Will Change Frontend Development

Agentic AI will drive the apps of the future, and it will necessitate a shift in how frontend and web application developers approach their end products, Govindarajan added.

“A lot of what we see as two-dimensional applications laid out on a screen with buttons and widgets that encode how the work needs to be done in the enterprise,…that’s going to change to become significantly more agentic,” he said. “Everyone will have an agent. Everyone will have an assistant that can be linked to them and getting work done.”

In many ways, the interface is much simpler, he added, because you’re just talking to the system and it understands enough of the context that you don’t have to overly prompt it.

“It understands enough of [the] context that you don’t have to prompt it exactly the same way,” he said. “Humans, when they’re trying to get a task done, prompt the engine in a variety of ways. They don’t always articulate the request the same way. And what’s cool about these agentic systems is that they’re able to understand that sort of spectrum of articulation, and they’re able to map that to something very specific that you want done on the user’s behalf.”

“Everyone will have an agent. Everyone will have an assistant that can be linked to them and getting work done.”
– Govindarajan

That’s the key experience AI offers that simplifies everything else in the interface, he said.

One additional feature they added is that it can recommend questions a conference user could ask. For example, if an attendee asked what’s happening at Dreamforce today, the AI will provide a few answers, and then will provide the attendee with additional question suggestions based on any previous conversations or context. It might prompt whether the attendee wants to know events in the evening or if the attendee wants to figure out where to have lunch in the neighborhood.

Where does that leave web application developers and frontend developers? It’s probably time to evolve your skillset with an eye toward AI. Salesforce has trained nearly 8,000 web developers from its ecosystems on how to build agents from scratch, which, again, is largely about bringing the right set of data to the user, he said.

“Once you’ve built it, you’ve tested it, you’re ready to launch it,” he said. “Putting it in your mobile app is simply a matter of just an API call.”

TRENDING STORIES
Loraine Lawson is a veteran technology reporter who has covered technology issues from data integration to security for 25 years. Before joining The New Stack, she served as the editor of the banking technology site Bank Automation News. She has...
Read more from Loraine Lawson
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.