Creating an LLM-based AI-agent: A high-level methodology towards enhancing LLMs with APIs
Ioannis Tzachristas

TL;DR
This paper presents a comprehensive high-level methodology for constructing AI agents that enhance Large Language Models with API integration, enabling more autonomous and context-aware real-world applications.
Contribution
It introduces a 7-step framework for empowering LLMs with API capabilities, including task decomposition, data generation, and API selection heuristics, along with reviewing existing tools and proposing an on-device architecture.
Findings
Effective API integration improves LLM utility in real-world tasks.
The proposed methodology enables more autonomous and robust AI agents.
On-device architectures with small models can be effective for API-based tasks.
Abstract
Large Language Models (LLMs) have revolutionized various aspects of engineering and science. Their utility is often bottlenecked by the lack of interaction with the external digital environment. To overcome this limitation and achieve integration of LLMs and Artificial Intelligence (AI) into real-world applications, customized AI agents are being constructed. Based on the technological trends and techniques, we extract a high-level approach for constructing these AI agents, focusing on their underlying architecture. This thesis serves as a comprehensive guide that elucidates a multi-faceted approach for empowering LLMs with the capability to leverage Application Programming Interfaces (APIs). We present a 7-step methodology that begins with the selection of suitable LLMs and the task decomposition that is necessary for complex problem-solving. This methodology includes techniques for…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsStonefly species taxonomy and ecology · Artificial Intelligence in Law · Semantic Web and Ontologies
