Introducing smolagents: simple agents that write actions in code.
huggingface.co · 1,832 words · saved by 1 readers
We’re on a journey to advance and democratize artificial intelligence through open source and open science.
Today we are launching smolagents, a very simple library that unlocks agentic capabilities for language models. Here’s a glimpse: from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel agent = CodeAgent(tools=[DuckDuckGoSearchTool()], model=HfApiModel()) agent.run("How many seconds would it take for a leopard at full speed to run through Pont des Arts?") Table of Contents 🤔 What are agents? ✅ When to use agents / ⛔ when to avoid them Code agents Introducing smolagents: making agents simple 🥳 Building an agent How strong are open models for agentic workflows? Next…
related reading
- What are agents? 🤔 · Hugging Facehuggingface.co
- smolagents · Hugging Facehuggingface.co
- LLM Powered Autonomous Agents | Lil'Loglilianweng.github.io
- Building Effective AI Agents \ Anthropicanthropic.com
- Building Effective AI Agents \ Anthropicanthropic.com
- Designing agentic loopssimonwillison.net
- GitHub - smol-ai/developer: the first library to let you embed a developer agent in your own app!github.com
- Malleable software in the age of LLMsgeoffreylitt.com
- Ampampcode.com
- AI Agents: How to build Digital Workers | by Alfredo Sone | Mediummedium.com
- Here’s how I use LLMs to help me write codesimonwillison.net
- LangChain: the open agent platform to own your intelligencelangchain.com