Building LLM Agents in 3 Levels of Complexity: From Scratch, OpenAI Functions & LangChain

Understanding how LLM agents work by building it at 3 levels of complexity

Lucas Soares
12 min readDec 27, 2023

--

In this article I want to show you how to build simple LLM-based agents in 3 levels of complexity: from ‘scratch’ using only the OpenAI API, using OpenAI function calling and with LangChain

--

--

Lucas Soares

Machine Learning Engineer. I write about AI | Data Science | Productivity & Learning. Join Medium at: https://lucas-soares.medium.com/membership