smolagents / reference
AGENTS.md30k starsChanged 16 months agoApache-2.0View on GitHub
Smolagents는 실험적인 API로 언제든지 변경될 수 있습니다. API나 사용되는 모델이 변경될 수 있기 때문에 에이전트가 반환하는 결과도 달라질 수 있습니다. 에이전트와 도구에 대해 더 자세히 알아보려면 소개 가이드를 꼭 읽어보세요. 이 페이지에는 기본 클래스에 대한 API 문서가 포함되어 있습니다. 저희 에이전트는 [MultiStepAgent]를 상속받으며, 이는 하나의 생각과 하나의 도구 호출 및 실행으로 구성된 여러 단계를 수행할 수 있음을 의미합니다. 이 개념 가이드에서 더 자세히 알아보세요. 저희는 메인 [Agent] 클래스를 기반으로 두 가지 유형의 에이전트를 제공합니다. - [CodeAgent]는 Python 코드로 도구 호출을…
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about huggingface/smolagents
- A Hacker News story“Open Deep Research”Hacker News · Feb 4, 2025 · 395 points
- @thomwolf.bsky.social“Mind blown 👇 when people ask whether you need an agent framework at all! All evals should move to agentic …”Bluesky · Jan 15, 2025 · 69 likes
- @thomwolf.bsky.social“Detailed blog: huggingface.co/blog/smolage... Github: github.com/huggingface/...”Bluesky · Jan 1, 2025 · 17 likes
- pydantic/pydantic-ai“deep research example”GitHub · Feb 12, 2025 · 7 reactions
- @aymeric-roucher.bsky.social“Today we release 𝚜𝚖𝚘𝚕𝚊𝚐𝚎𝚗𝚝𝚜, @hf.co's new barebones library for agentic workflows! 💥 Main logic …”Bluesky · Dec 31, 2024 · 7 likes
The biggest 5 of 69 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 69
Talked about on GitHub, Bluesky and Hacker News (69 times).
On GitHub · 50
- Feb 12, 2025deep research example — pydantic/pydantic-ai7 reactions · 11 comments
- Mar 5, 2025Optional argument support for smolagents — grll/mcpadapt4 reactions · 6 comments
- Jun 24, 2026chore(deps-dev): bump the pip group across 1 directory with 2 updates — CaffeeLake/rllm2 reactions
- Apr 13, 2025Support parsing tool invocations from reponse text instead of tool json — pydantic/pydantic-ai2 reactions · 7 comments
- Jan 29, 2025[smolagents] llm input messages are empty — Arize-ai/openinference2 reactions · 2 comments
45 more on GitHub
- May 8, 2026Bump smolagents from 1.13.0 to 1.24.0 — cicero-im/simple_gcc_agent1 reaction · 1 comment
- Apr 13, 2026❌ [+0.00s] EasySearch DEBUG: 'NoneType' object has no attribute 'model' — x-hannibal/open-webui-easysearch1 reaction · 1 comment
- Oct 5, 2025The first Mark Down — Wavegoodvybe2929/Ai-Vscode-Extension1 reaction
- Aug 25, 2025fix: update smolagents.mdx to InferenceClientModel — langfuse/langfuse-docs1 reaction · 3 comments
- Aug 13, 2025fix(smolagents): use new token_usage structure — Arize-ai/openinference1 reaction · 1 comment
- Jun 25, 2025Smolagents: support ImageContent and AudioContent — grll/mcpadapt1 reaction · 4 comments
- Mar 16, 2025python313Packages.smolagents: init at 1.11.0 — NixOS/nixpkgs1 reaction · 1 comment
- Feb 24, 2025Package request: python312Packages.smolagents — NixOS/nixpkgs1 reaction · 1 comment
- Feb 11, 2025Option for summarizing webpage to save token space — egoist/local-web-search1 reaction
- Feb 7, 2025Fixed moved link to agentic web browser example — huggingface/blog1 reaction
- Feb 3, 2025[bug] Smolagents invalid types with message content — Arize-ai/openinference1 reaction · 6 comments
- Nov 18, 2026Library: backfill, 8 new system prompts (2026-11-18) — ai-automation-tools/promptbook0 reactions · 2 comments
- Nov 14, 2026[Bug] Connected Code Map — Python class methods are not modeled as graph entities or override relationships — FinanceFlash/unvibecode0 reactions
- Nov 13, 2026[Bug] Missing symbol-level relationships for Python re-exports through intermediate modules — FinanceFlash/unvibecode0 reactions
- Nov 11, 2026Suggest: huggingface/smolagents — mmaxpo/awesome-ai-radar0 reactions · 2 comments
- Oct 31, 2026[catalog-candidate] huggingface-smolagents-local — ePlus-DEV/free-tier-hub0 reactions · 4 comments
- Oct 23, 2026chore(deps): update smolagents requirement from >=1.9 to >=1.26.0 in /services/ai-service — rikky-hermanto/personal-finance0 reactions
- Oct 14, 2026DRAFT: preserve AgentAudio type and sampling rate through final_answer — lindicaphxag-tech/smolagents0 reactions · 1 comment
- Oct 14, 2026docs: record smolagents invitation and active MCP registration — pedrosalvadeo/genius-decision-open0 reactions
- Oct 9, 2026feat(providers): make per-provider image context limit configurable (default 5 busts prompt cache when exceeded) — can1357/oh-my-pi0 reactions · 3 comments
- Sep 27, 2026Recommend a project / 推荐项目 — origen-ae/awesome-origen0 reactions
- Sep 7, 2026build(deps): bump smolagents from 1.23.0 to 1.26.0 in /sdk — fwqzh/doc-agent0 reactions · 1 comment
- Aug 6, 2026research(runtime): evaluate huggingface/smolagents against fak — anthony-chaudhary/fak0 reactions
- Jun 10, 2026[ext] github.com — smolagents — mattiasutancykeln/gems0 reactions · 2 comments
- Jun 3, 2026[Add] smolagents (huggingface/smolagents) — PyTorchKR/landscape0 reactions · 3 comments
- May 31, 2026Bump smolagents from 1.15.0 to 1.25.0 — myitscloud/screenenv0 reactions
- May 13, 2026Warn when CodeExecutor runs LLM-generated code without a Sandbox — sinaptik-ai/pandas-ai0 reactions
- May 12, 2026Bump the pip group across 2 directories with 1 update — pablogd-hashi/smolagents-otel-spiffe0 reactions
- May 8, 2026Bump smolagents from 1.14.0 to 1.24.0 — catalystneuro/agents0 reactions
- May 8, 2026chore(deps): bump smolagents from 1.13.0 to 1.24.0 in /python/examples/by-framework/smolagents — bosonprotocol/goat0 reactions
- May 8, 2026chore(deps): bump smolagents from 1.13.0 to 1.24.0 in /python/src/adapters/smolagents — bosonprotocol/goat0 reactions
- Apr 28, 2026fix(bonus-unit2): update deprecated Langfuse API and add missing ddgs dependency — huggingface/agents-course0 reactions · 1 comment
- Apr 27, 2026[bot] Add smolagents (HuggingFace) integration for CodeAgent and ToolCallingAgent instrumentation (141,351 weekly downloads) — braintrustdata/braintrust-sdk-python0 reactions · 1 comment
- Mar 15, 2026Bump smolagents from 1.21.2 to 1.22.0 in /evaluation — andstor/agentic-security-patch-classification-replication-package0 reactions
- Feb 18, 2026WAVE5 [SMOLAGENTS]: librainian-smolagents — HuggingFace Hub-distributed tool with native MCP compatibility — nateschmiedehaus/LiBrainian0 reactions · 2 comments
- Dec 24, 2025Agent - deep researcher (smolagents) — 1639jacksprat/agentstack0 reactions
- Dec 17, 2025Bump smolagents from 1.18.0 to 1.22.0 — 4xiaxia/N8N2MCP0 reactions
- Nov 13, 2025Look into lightweight agents — BasilJ-S/chatbot0 reactions
- Oct 22, 2025Bump smolagents from 1.21.2 to 1.22.0 — andstor/agentic-security-patch-classification-replication-package0 reactions
- Oct 22, 2025Bump smolagents from 1.21.3 to 1.22.0 in /12_Agent/First_agent_template — yaodix/learn_AI0 reactions
- Oct 22, 2025Bump smolagents from 1.9.2 to 1.22.0 in /demo/talk_to_smolagents — wallanpsantos/fork-fastrtc0 reactions
- Oct 22, 2025build(deps): bump smolagents from 1.13.0 to 1.22.0 — nehalecky/First_agent_template0 reactions
- Aug 23, 2025Smolagents opentelemetry instrumentator crashes — Kopfstein/double-agent0 reactions
- Jul 22, 2025Compatibility with smolagents — oobabooga/textgen0 reactions
- Jul 12, 2025【论文推荐】DeepResearch — winnerineast/winnerineast.github.io0 reactions
On Bluesky · 17
- Jan 15, 2025Mind blown 👇 when people ask whether you need an agent framework at all! All evals should move to agentic evals in 2025 in my opinion.… — @thomwolf.bsky.social69 likes and reposts · 2 replies
- Jan 1, 2025Detailed blog: huggingface.co/blog/smolage... Github: github.com/huggingface/... — @thomwolf.bsky.social17 likes and reposts
- Dec 31, 2024Today we release 𝚜𝚖𝚘𝚕𝚊𝚐𝚎𝚗𝚝𝚜, @hf.co's new barebones library for agentic workflows! 💥 Main logic fits in ~1000 lines of code. 🌍… — @aymeric-roucher.bsky.social7 likes and reposts · 1 reply
- Jan 12, 2025If you're building AI agents, the smolagents library from Hugging Face (released a couple of weeks ago) is one to be aware of. It's… — @mattcollins.net4 likes and reposts · 1 reply
- Jan 1, 2025smolagents: a barebones library for agents. Agents write python code to call tools and orchestrate other agents.… — @metaend.eth.xyz4 likes and reposts
12 more on Bluesky
- Mar 24, 2025At @hf.co, we're developing frameworks like smolagents (github.com/huggingface/...) that prioritize transparency and appropriate human… — @giadapistilli.com3 likes and reposts
- Mar 23, 2025Have you tried smolagents? Seems decent github.com/huggingface/... — @clofresh.bsky.social3 likes and reposts
- Jan 2, 2025Now, there is also smolagents from HF! github.com/huggingface/... — @davidgasquez.com3 likes and reposts
- Apr 7, 2025I've replaced my need for openai's 'Deep Research' with a combination of HF's SmolAgents (github.com/huggingface/...) and Cursor, which… — @j11y.io2 likes and reposts · 1 reply
- Mar 15, 2025That's the smolagent approach — @phytomech.com2 likes and reposts · 1 reply
- Aug 24, 2025https://github.com/huggingface/smolagents — @tom-doerr.bsky.social1 likes and repost
- May 16, 2025New in smolagents v1.16.0: 🔍 Bing support in WebSearchTool 🐍 Custom functions & executor_kwargs in LocalPythonExecutor 🔧 Streaming… — @albertvillanova.bsky.social1 likes and repost
- Mar 7, 2025🔗 github.com/huggingface/... What security measures do you take when running AI-generated code? Let’s discuss! 👇 #AI #smolagents #Python… — @albertvillanova.bsky.social1 likes and repost
- Jan 14, 2025The short course is powered by smolagents, a simple, concise framework to build your own agents. smolagents was released 2 weeks ago,… — @jeffboudier.hf.co1 likes and repost · 1 reply
- Jan 9, 2025Estoy flipando con lo que se han sacado desde @hf.co: smolagents, una librería que simplifica muchísimo la creación de agentes… — @kono-gaijin.bsky.social1 likes and repost · 1 reply
- Jan 7, 2025HuggingFace smolagents: a barebones Python library for LLM agents New open-source library for creating lightweight language model agents,… — @newspipe.bsky.social1 likes and repost
- Jan 8, 2025Caralho, isso é bom hein! "smolagents is a library that enables you to run powerful agents in a few lines of code."… — @rdenadai.dev0 likes and reposts · 1 reply
On Hacker News · 2
- Feb 4, 2025Open Deep Research395 points · 77 comments
- Jan 7, 2025HuggingFace smolagents: a barebones Python library for LLM agents2 points
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/source/en/reference/agents.mdAGENTS.md
- docs/source/hi/reference/agents.mdAGENTS.md
- docs/source/zh/reference/agents.mdAGENTS.md
The file
Files
에이전트[[agents]]
<Tip warning={true}>Smolagents는 실험적인 API로 언제든지 변경될 수 있습니다. API나 사용되는 모델이 변경될 수 있기 때문에 에이전트가 반환하는 결과도 달라질 수 있습니다.
</Tip>에이전트와 도구에 대해 더 자세히 알아보려면 소개 가이드를 꼭 읽어보세요. 이 페이지에는 기본 클래스에 대한 API 문서가 포함되어 있습니다.
에이전트[[agents]]
저희 에이전트는 [MultiStepAgent]를 상속받으며, 이는 하나의 생각과 하나의 도구 호출 및 실행으로 구성된 여러 단계를 수행할 수 있음을 의미합니다. 이 개념 가이드에서 더 자세히 알아보세요.
저희는 메인 [Agent] 클래스를 기반으로 두 가지 유형의 에이전트를 제공합니다.
- [
CodeAgent]는 Python 코드로 도구 호출을 작성합니다.(이것이 기본값입니다.) - [
ToolCallingAgent]는 JSON 형식으로 도구 호출을 작성합니다.
두 경우 모두 초기화 시 model과 도구 목록인 tools를 인수로 요구합니다.
에이전트 클래스[[smolagents.MultiStepAgent]]
[[autodoc]] MultiStepAgent
[[autodoc]] CodeAgent
[[autodoc]] ToolCallingAgent
stream_to_gradio[[smolagents.stream_to_gradio]]
[[autodoc]] stream_to_gradio
GradioUI[[smolagents.GradioUI]]
[!TIP] UI를 사용하려면
gradio가 설치되어 있어야 합니다. 설치되어 있지 않다면pip install 'smolagents[gradio]'를 실행해주세요.
[[autodoc]] GradioUI
프롬프트[[smolagents.PromptTemplates]]
[[autodoc]] smolagents.agents.PromptTemplates
[[autodoc]] smolagents.agents.PlanningPromptTemplate
[[autodoc]] smolagents.agents.ManagedAgentPromptTemplate
[[autodoc]] smolagents.agents.FinalAnswerPromptTemplate
메모리[[smolagents.AgentMemory]]
Smolagents는 여러 단계에 걸쳐 정보를 저장하기 위해 메모리를 사용합니다.
[[autodoc]] smolagents.memory.AgentMemory
Python 코드 실행기[[smolagents.PythonExecutor]]
[[autodoc]] smolagents.local_python_executor.PythonExecutor
로컬 Python 실행기[[smolagents.LocalPythonExecutor]]
[[autodoc]] smolagents.local_python_executor.LocalPythonExecutor
원격 Python 실행기[[smolagents.remote_executors.RemotePythonExecutor]]
[[autodoc]] smolagents.remote_executors.RemotePythonExecutor
E2BExecutor[[smolagents.E2BExecutor]]
[[autodoc]] smolagents.remote_executors.E2BExecutor
DockerExecutor[[smolagents.DockerExecutor]]
[[autodoc]] smolagents.remote_executors.DockerExecutor
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

