Nanyang Technological University
AiX agent: building stable, controllable workflow-as-tool agents
Abstract
dc:description.abstractAs LLMs evolve toward reliable systems, building agents with deterministic behavior has become critical. Prompt-based approaches like ReAct and CoT improve capabilities but lack guarantees on step ordering and reproducibility. In enterprise tasks, these methods exhibit path variability and silent errors, with interaction-heavy strategies amplifying latency and cost. To address these challenges, this dissertation introduces the Workflow-as-Tool agent design paradigm and documents my contributions to the design and implementation of the AiX Agent. This approach decouples business logic from the prompt layer by encoding it as system-level workflows with explicit contracts and deterministic control. In AiX Agent, the LLM is limited to Query Rewrite, Route Matching, and Data Presentation, while core logic executes via code. Using a multi-dimensional evaluation framework covering efficiency, cost, stability, and traceability, this dissertation conducts comparative experiments in real game data analysis scenarios. Results show AiX Agent reduces execution latency by 74.4-88.6%, lowers cost by 45.5-75.8%, achieves nearly 100% reproducibility and controllability, and attains F1 = 1.0 error detection. Shifting from ”workflow in prompts” to ”workflow in Tools” is key for building reliable, auditable enterprise agent systems.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Yang, Yingjie
- Advisor dc:contributor.supervisor
-
- Lihui Chen
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/212632