ComeçarComece de graça

Wait, You Didn't Write Any Functions?

After watching an agent analyze your expenses, you're fascinated by how it calculated totals, identified patterns, and created budget recommendations all in one go.

Later, your roommate asks: "How was that possible without you giving it any functions directly?"

You realize it's because the agent wasn't just calling functions; it was writing and running code.

What's the main difference between how a code agent and a function-calling agent would solve a task?

Este exercício faz parte do curso

AI Agents with Hugging Face smolagents

Ver curso

Exercício interativo prático

Transforme a teoria em ação com um de nossos exercícios interativos

Começar o exercício