Towards large language model-based personal agents in the enterprise: Current trends and open problems

Vinod Muthusamy, Yara Rizk, Kiran Kate, Praveen Venkateswaran, Vatche Isahagian, Ashu Gulati, Parijat DubeEMNLP 2023

TL;DR

While Large Language Models (LLMs) show dazzling potential as autonomous agents in viral demos, they aren't yet "enterprise-ready" due to issues with brittleness, high costs, and a lack of reliability. This paper explores how to bridge this gap by infusing agents with business process knowledge, demonstrating that providing models with organizational context and past "process traces" significantly improves their ability to orchestrate complex tasks.

What Problem Does This Paper Address?

We’ve all seen the "Auto-GPT" style demos where an LLM autonomously orders a pizza or plans a trip. However, in a corporate environment, a "simple" task like booking a flight isn't just about finding a ticket; it involves navigating a web of internal policies, budget approvals, and specialized APIs.

Architecture of an LLM-based agent

The authors identify a major gap: current LLM agents are "brittle"—small changes in input can lead to total failure or infinite reasoning loops. Furthermore, these agents often lack "System 2" thinking (deliberative reasoning) required for mission-critical tasks. In the enterprise, an agent that accidentally violates a policy or executes an irreversible action (like a bank transfer) without proper guardrails is a liability, not an asset.

Methods

The researchers conducted a case study focused on enterprise travel booking. They moved beyond simple intent classification to see if an LLM could correctly sequence a series of API calls (e.g., Travel Estimation -> Travel Pre-approval -> Airline Booking).

Their core approach was context-infusion via prompting. Instead of just giving the LLM a user request, they provided:

  1. Business Process Descriptions: The "rules of the road" (e.g., trips over $250 need approval).
  2. Past Process Traces: Examples of how similar requests were handled successfully in the past.
  3. Tool Definitions: Descriptions of available APIs and their parameters.

They tested five prompt variations (v1–v5) on the FLAN-T5 model, ranging from a baseline (just the user request) to a fully "process-aware" prompt. They evaluated performance using both set-level metrics (did the agent pick the right tools?) and sequence-level metrics (did it use them in the right order?).

Datasets

The study utilized two primary datasets, which the authors adapted for the enterprise context:

  • Google Employee Travel Dataset: Approximately 700 samples of travel requests.
  • Frames Dataset: A dialogue dataset containing roughly 1,200 user utterances related to travel booking.
  • Manual Benchmarks: The authors manually labeled and clustered 12 specific phrases to test for repeatability and consistency, creating a "golden" reference set for enterprise-specific logic.

Key Insights and Ideas

  • The "Spectrum of Actions": The paper introduces a useful framework for categorizing agent actions based on risk, ranging from "No side-effects" (web search) to "Irreversible" (financial transactions). Enterprise agents must be designed with this spectrum in mind.
The spectrum of actions framework for LLM agents
  • System 1 vs. System 2: The authors map LLM capabilities to human psychology. While basic NLP (like entity extraction) is "System 1" (instinctive), autonomous planning is "System 2" (deliberative). Current LLMs are struggling to consistently achieve reliable System 2 performance.
  • Context is King: Simply telling an LLM what to do isn't enough. The results showed that including "process traces" (historical context) was the single most effective way to improve the agent's accuracy in sequencing complex tasks.
  • The Consistency Tax: Even at low temperatures (0.5), the models showed significant variance in their outputs. In an enterprise setting, this lack of reproducibility is a major roadblock for deployment.

Key Results

  • Process Awareness Wins: The "v5" prompt, which included the most detailed process information and historical traces, significantly outperformed the baseline (v1). On the Google Travel dataset, the F1-score jumped from 0.35 (baseline) to 0.71 (v5) at the set level.
  • Sequence Accuracy: Correctly ordering API calls is harder than just picking them. At the sequence level, the v5 prompt achieved a precision of 0.61, compared to just 0.28 for the baseline.
  • Repeatability Issues: When testing the same prompt 30 times, the average BLEU score was 0.76. While high, it indicates that the model still produces different results for the exact same input roughly 24% of the time, which is often unacceptable for automated business workflows.

Limitations and Future Work

The authors are candid about the hurdles ahead:

  • Data Scarcity: Fine-tuning LLMs for specific company processes is difficult because most enterprises lack large, labeled datasets of their internal workflows.
  • Pluggability: Current models struggle to handle a "dynamic" set of tools. If you add a new API, you often have to re-prompt or re-train the model.
  • Multi-modality: Enterprise data isn't just text; it's in spreadsheets, PDFs, and flowcharts. Future agents need to "read" these formats directly.
  • Evaluation: We need better benchmarks. Current metrics like BLEU don't capture whether an agent's mistake was a minor typo or a catastrophic policy violation.

In short, while the "brain" (the LLM) is getting smarter, we still need to build the "nervous system" (the guardrails and process integration) before these agents can be trusted with the company credit card.

Summary updated

BibTeX
@inproceedings{muthusamy2023towards,
  author = {Vinod Muthusamy and Yara Rizk and Kiran Kate and Praveen Venkateswaran and Vatche Isahagian and Ashu Gulati and Parijat Dube},
  title = {{Towards large language model-based personal agents in the enterprise: Current trends and open problems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.461},
}
Figure