To Data & Beyond

To Data & Beyond

Share this post

To Data & Beyond
To Data & Beyond
Building LLM Agents Using LangChain & OpenAI API

Building LLM Agents Using LangChain & OpenAI API

Youssef Hosni's avatar
Youssef Hosni
Apr 27, 2024
∙ Paid
2

Share this post

To Data & Beyond
To Data & Beyond
Building LLM Agents Using LangChain & OpenAI API
1
Share

To Data & Beyond is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

When we think about large language models (LLM), we often imagine them as super-smart databases filled with internet knowledge, ready to answer any question we throw at them. But the reality is that they are clever assistants, able to understand what we tell them and help us figure things out.

That’s where LangChain’s Agents come in. It’s like giving your assistant superpowers! In agents, a language model is used as a reasoning engine to determine which actions to take and in which order.

In this guide, we’ll dive into what agents are, how to make them, and how to teach them to do all sorts of neat tricks, like searching Wikipedia, solving programming questions, and finally building your own agent.

Table of Contents:

  1. Setting Up Working Environment

  2. Building Math Tutor Agent

  3. Building Wikipedia Search Agent

  4. Building Python Programming Assistant Agent

  5. Build Your Customized Agent


My E-book: Data Science Portfolio for Success Is Out!

Youssef Hosni
·
September 15, 2023
My E-book: Data Science Portfolio for Success Is Out!

I recently published my first e-book Data Science Portfolio for Success which is a practical guide on how to build your data science portfolio. The book covers the following topics: The Importance of Having a Portfolio as a Data Scientist How to Build a Data Science Portfolio That Will Land You a Job?

Read full story

Keep reading with a 7-day free trial

Subscribe to To Data & Beyond to keep reading this post and get 7 days of free access to the full post archives.

Already a paid subscriber? Sign in
© 2025 Youssef Hosni
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share