# Introducing smolagents: simple agents that write actions in code.

DevFeed: [Introducing smolagents: simple agents that write actions in code.](<https://devfeed.tech/articles/introducing-smolagents-simple-agents-that-write-actions-in-code-7477.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/smolagents>)

Author: Aymeric Roucher; merve; Thomas Wolf

Published: 2024-12-31T00:00:00Z

Content type: article

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [smolagents](<https://devfeed.tech/topics/smolagents.md>), [AI Development](<https://devfeed.tech/topics/ai-development.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Code](<https://devfeed.tech/topics/code.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [code](<https://devfeed.tech/tags/code.md>), [community](<https://devfeed.tech/tags/community.md>), [llm](<https://devfeed.tech/tags/llm.md>), [nlp](<https://devfeed.tech/tags/nlp.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [smolagents](<https://devfeed.tech/tags/smolagents.md>), [tool](<https://devfeed.tech/tags/tool.md>), [tools](<https://devfeed.tech/tags/tools.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

## AI overview

Introducing smolagents, a lightweight approach for building AI agents whose language model outputs control application workflows and actions. The article explains agency as a spectrum, shows how multi-step agents use tools in a loop, and discusses when flexible agentic behavior is useful versus when deterministic workflows are more reliable.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.