Course Wiki

Other Frameworks — LLM Zoomcamp Module 1

--- video_url: 'https://www.youtube.com/watch?v=4yiCbKX9RhI&list=PL3MmuxUbc_hLZFNgSad56pDBKK8KO0XIv' --- # Other Frameworks

LLM Zoomcamp › Module 1: Agentic RAG › Other Frameworks

Notes


video_url: “https://www.youtube.com/watch?v=4yiCbKX9RhI&list=PL3MmuxUbc_hLZFNgSad56pDBKK8KO0XIv”

Other Frameworks

The concepts you learned in Part 2 are the same across frameworks. Function calling, the agent loop, and tool definitions all wrap the same pattern. Send messages, run any function calls, and repeat until the model is done.

You now understand how the loop works. So you can pick up any production framework and know what it’s doing under the hood. I kept this module framework agnostic on purpose, so you can explore and pick the one you like.

Here are some frameworks worth a look:

OpenAI Agents SDK

The official SDK from OpenAI for building agents. It uses the same Responses API we used throughout this module. It supports tool definition, multi-turn conversations, and handoffs between agents.

uv add openai-agents

Good choice if you’re already using OpenAI and want something official and well-maintained.

PydanticAI

A type-safe agent framework that supports multiple LLM providers. Tools are plain Python functions with type hints, no wrappers needed. Switching providers is as simple as changing the model string.

uv add pydantic-ai

This is my personal favorite. The reason isn’t the type safety, since the other frameworks have that too. It’s how it feels to use, and the team behind Pydantic. Good choice if you want type safety and multi-provider support.

LangChain / LangGraph

A popular framework with lots of integrations. LangChain handles the basics, and LangGraph adds graph-based workflows for more complex agent patterns.

Good choice if you need lots of integrations (vector stores, document loaders, etc.) and a large community.

Google ADK

The Agent Development Kit from Google. If you plan to use Gemini models, this is the one I’d reach for. It exposes the same building blocks we’ve seen, like tools, instructions, and sessions. It also integrates with Google Cloud.

Good choice if your stack is on Google Cloud or you specifically want Gemini.

Others

Other frameworks worth knowing:

Pick one that fits your stack and your needs. The hard part is designing good tools and prompts - the loop is always the same.

Avoiding agents when you can

One closing thought. You don’t always need an agent, and that’s fine. You might assume your app needs one, but often it doesn’t.

Adding an agent is a real cost:

Before reaching for an agent, ask whether the problem needs one. A lot of tasks are well served by simpler approaches.

Reach for one of these first:

Try the simpler approach first, and if it works, ship it. Reach for the agent loop only when you’ve tried the simpler solution and it genuinely can’t handle the problem. By then you’ll know the extra complexity is worth it, and you’ll be ready to take it on.

Key concepts

Sources


DataTalks.Club. Hosted on GitHub Pages. Built with Rustkyll. We use cookies.