Agents with Retrieval and Function Calling

Complete the full lesson to earn 25 points

Work through each section, then tap “Mark as Complete” on the last one.

Section 1 of 10

✦ Skip the page breaks and see fewer ads — read each lesson on a single page with Pro

Agents with Retrieval and Function Calling

Introduction: The Evolution of Intelligent Systems

In the landscape of modern software development, we have moved beyond static applications that simply execute a hard-coded set of instructions. Today, we are building systems that can reason, gather context from external data, and perform actions on behalf of the user. We call these systems "Agents." An agent is essentially an autonomous entity powered by a Large Language Model (LLM) that can interact with its environment to achieve a goal.

Why does this matter? If you only use an LLM for text generation, you are limited by the model’s training data—a snapshot in time that lacks knowledge of your specific business context. By integrating retrieval systems (which provide the agent with current, relevant data) and function calling (which allows the agent to execute code or API calls), you transform a simple chatbot into a functional digital assistant. This lesson focuses on how to build these agents using Foundry, a framework designed to handle the orchestration of these complex tasks.

Callout: The Agentic Paradigm Shift Traditional software follows a deterministic path: Input A always leads to Process B and Output C. Agentic systems are non-deterministic. You provide the agent with a goal and a set of tools, and the agent decides which tools to use and in what order to reach that goal. This shift allows for the automation of complex workflows that were previously impossible to hard-code.


Section 1 of 10
PrevNext