Temporal enables engineers to focus on building our AI agent, rather than building the basics around the agents.
Industry
High Tech
Use Case
AI Agents
Company Size
<50
SDK
-
Temporal
Cloud
Gradient Labs is a startup based in London that is building a customer operations AI agent for financial services. Its three co-founders previously worked together in data and machine learning at Monzo, the largest neobank in the UK, where they spent most of their time focusing on customer operations and financial crime.
Gradient Labs was born after they witnessed the high-risk, high-impact domain of customer support in banking: LLMs were beginning to emerge, and they realized AI could resolve challenges related to complex support procedures in insurance, banking, wealth management, and crypto.
Gradient Lab’s AI agents solve 40-60% of cases out of the box, which grows to 80% with further optimisation, a leading statistic in the industry. It consistently achieves higher Customer Satisfaction scores than human agents as well. Their business is growing quickly after raising their seed round from LocalGlobe and various angel investors.
The Engineering team, led by co-founder and CTO Neal Lathia, knew early on that an agentic architecture would pose different challenges. Like traditional distributed systems, agents can fail in a whole host of ways. But they can also succeed badly in a whole host of ways.
For example, if the third of many chained API calls to an LLM provider succeeds, the output may be invalid and the call may need to be retried - without retrying the sequence of LLM calls that have happened so far. Without a tool like Temporal, engineers would have been responsible for defining that retry behavior and solving for error handling.
Lathia wanted AI Engineers to focus their attention on building the AI agent—like prompt engineering and evaluations—not error handling and scaling.
It’s easy to end up in a murky state where AI folks have to build both an agent and the scaffolding to run all of its basic behaviors. It can become a diminished focus that slows you down” –Neal Lathia, Co-Founder & CTO
The first engineer to join Gradient Labs had previously worked with Cadence, Temporal’s predecessor. They began to explore Temporal Cloud early in their product development. They built a new prototype agent with Temporal. They evaluated:
It was immediately clear that with Temporal, the workflows were faster to implement, and it was easy to identify which areas needed attention. They decided to adopt Temporal Cloud, as they’re a small team and didn’t want to manage the Temporal Server themselves.
Being able to observe Workflows in depth during evaluations enables us to see exactly where things were doing well or needed attention.
The current system is composed of multiple agents that perform distinct jobs, such as:
Temporal orchestrates these workflows and allows the agents to execute their tasks reliably.
Temporal enables Gradient Labs’ customer support agent, Otto, to behave more like a human. Every conversation Otto handles across live chat, emails, and tickets is a Temporal Workflow. The agent can easily:
Without Temporal, these tasks would require complex “spaghetti” code and would be prone to reliability challenges.
On the platform side, there's the promise [with Temporal] that things run reliably. And on the AI engineer side, you can write your prompt, run it, and if something comes back that is not good, Temporal just throws an error and it will get retried.
From an engineering perspective, Temporal provides unique values for each of Gradient Labs’ teams:
Temporal lets Gradient Labs’ engineers deliver greater value. In doing so, the startup can help financial institutions more effectively solve their high-stakes customer issues.
Looking to build reliable AI agents just like Gradient Labs did? Start today with a free trial of Temporal Cloud and $1,000 in credits.
Ready to learn why companies like Netflix, Doordash, and Stripe trust Temporal as their secure and scalable way to build and innovate?