from LLMs to Agents

---

What we saw last time

Any questions?

Today

we talk about LLMs but when you use a AI interface you are using an Agent, an Augmented LLM

We're going to look at pkatforms for inference: groq, openrouter


At the end of this class

You


In the News

What caught your attention this week?

---

The Augmented LLM

---

Limitations of LLMs

Stand alone models:


Building effective agents - Anthropic

The basic building block of agentic systems is an LLM enhanced with augmentations such as retrieval, tools, and memory.

Traditional LLMs

LLM LLM

issues

No memory LLM wrong answer LLM


What Are LLM Agents?

LLM Agents enhance basic language models with external tools, memory, and planning capabilities to interact autonomously with their environment.

LLM

Core Components of Agents

Three essential components enable LLM Agents to function effectively in complex environments.

LLM

Anthopomorphising


Hive Mind

My whole family shares the same account

ChatGPT remembers facts from previous conversations from everybody

family memory

Memory Systems

Agents use short-term and long-term memory to maintain context and learn from interactions.


Short term memory

Each prompt + output is summarized and added to the context window

LLM

Long term memory : RAG

LLM

RAG: retreival augmented generation


Tools and Function Calling

Tools extend LLM capabilities by connecting to external APIs and services.

LLM

Planning Through Reasoning

Planning breaks complex tasks into actionable steps through reasoning techniques.

instead of having LLMs learn β€œwhat” to answer they learn β€œhow” to answer!

LLM

ReAct Framework

ReAct combines reasoning and acting in a structured cycle for autonomous behavior.

LLM LLM

Self-Reflection and Learning

Agents improve through reflection on past failures and successes.

LLM ---

Multi-Agent Systems

Multiple specialized agents collaborate to solve complex problems.

LLM

Claude coding

This is not sci-fi

I use such agents everyday for coding in claude code

I also use Gemini / jules as another agent platform to review and improve Claude production. (security audit, code review, refactoring, SEO improvements, performance audit,etc )

Both platform


How do we augment humans ?

Super sayan

Intermission

---

Projects

Let's take the rest of the time to work on your projects


Next time

new data source: ChinAI

ChinAI by Jeffrey Ding


Exit ticket

exit ticket
[https://forms.gle/9eE9PUR6mFC2szq47](https://forms.gle/9eE9PUR6mFC2szq47)
1 / 0