What it does
5 features
smolagents · Programmable agent framework
Product and access
Independent agent framework with its own execution loop.
Core features
5 Funktionen aus Anbieterquellen · abgeglichen am 16.11.2026. Verfügbarkeit und Grenzen stehen direkt darunter.
CodeAgent and ToolCallingAgent
CodeAgent uses Python actions; ToolCallingAgent uses structured calls.
Source 2Connect models flexibly
Inference Providers, API adapters and local models through Transformers or Ollama are documented.
Source 2Inspect agent steps
AgentMemory and replay expose planning, tool actions, observations and errors from a run.
Source 2
Usable AI models
Open choice
Hugging Face Inference Providers, OpenAI/Anthropic APIs and LiteLLM; local models through Transformers or Ollama.
Model families named
- OpenAI (GPT)
- Anthropic (Claude)
- Other models can be connected freely
- Model choice
- You choose
- Your own API key
- Yes
- Router or custom endpoint
- Yes
- Local models
- Yes
The rating covers the generally available main access. Partly documented · Sources accessed on
Does it fit my task?
2 practical tasks · 3 requirements and limits
A good fit if …
- you want to integrate agents into a custom application and operate them yourself
- you can deliberately review results and permissions
- you want to explore Python code agents and their individual execution steps
Less suitable if …
- you seek a fully managed service without development effort
- you want to execute generated code without configuring sandboxing and tools yourself
Editorial assessment based on provider documentation. Not a product test.
Practical tasks
Editorial examples based on documented features. No product tests performed.
Embed a knowledge agent in a custom app
- Your input
- Documents, defined read tools and model access.
- Possible result
- A custom application answers questions through a configured agent loop.
- What to check
- Test sources, user isolation and tool interfaces.
Build a business process with approval
- Your input
- Process steps, APIs and a mandatory approval policy.
- Possible result
- An agent performs preparatory steps; the custom application controls approval.
- What to check
- Verify failure paths, resumption and permissions using realistic cases.
Embed a knowledge agent in a custom app
Your possible prompt
Design a process for new requests: capture information, sort it by topic, and create a proposed response. Plan an approval step before external actions.
Adjust the task, data and permissions.
Requirements and limits
Requirement
Setup and access
Install the SDK, configure model access and tools, and set up persistence and operations.
Source 2Limitation
Requirements and limits
Development, permissions and operations are the responsibility of the custom application. Documented components must be combined and verified for the use case.
Source 1Limitation
Constrain code execution
CodeAgent generates and executes Python. Configure sandboxing, allowed imports and accessible tools for the specific deployment.
Source 2
Can I use it?
With requirements
Europe & regional availability
Access and data processing must be assessed separately.
Reviewed scope: smolagents · Access and processing
Reviewed on:
With requirements
Access and regional conditions
The source code or documented download is publicly available. Model providers, external connections and hosting have their own regional and privacy conditions. Uniform EU data residency is unspecified within the checked scope.
Region, reason and source
Region covered: EU/EEA, United Kingdom and Switzerland
Documented reason: The configured deployment and terms of connected services determine the applicable conditions.
Official source · huggingface.co · Official source · github.com
Accounts & permissions
Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.
Configuration covered: smolagents · Accounts and permissions
Sources reviewed:
Show all 3 points
Memory and conversation continuity
0 of 6 criteria documented
AgentMemory holds planning, actions, observations and errors. Replay and programmable steps permit inspection and changes; durable persistence is defined by the application.
smolagents · documented product scope
Sources accessed:
Documentation by criterion
StoragePartly documented
Storage and scope
AgentMemory holds planning, actions, observations and errors. Replay and programmable steps permit inspection and changes; durable persistence is defined by the application.
SelectionPartly documented
Selection and timing
Planning, actions, results and errors are recorded as steps in AgentMemory.
Edit & deletePartly documented
Inspect, edit and delete
The application can read and edit memory.steps and the system prompt; callbacks can remove older content.
Access boundariesPartly documented
Agent and channel boundaries
Memory belongs to each agent object; configure shared cross-team persistence yourself.
RetrievalPartly documented
Retrieval
Execution uses recorded steps; replay makes the previous run inspectable.
New conversationsPartly documented
Session reset and compaction
Continuation and trimming are programmable; the checked tutorial does not configure a durable memory service.
Cost and effort
1 plan · Prices as of 16 November 2026
Prices and included usage
Pricing checked
SDK source code without a stated usage fee; model, hosting, storage and optional cloud costs are separate.
| Plan | Price | Included |
|---|---|---|
| SDK / Source | SDK source code without a stated usage fee; model, hosting, storage and optional cloud costs are separate. | Documented product scope; verify external services and their billing separately. |
Setup
Install the SDK, configure model access and tools, and set up persistence and operations.
Operation & oversight
Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.
Deployment covered: smolagents · Documented execution scope
Sources reviewed:
Editorial assessment
Editorial operational assessment; reliable resumption depends on configuration and executed tools.
Show all 6 points
Documented with conditions
Files and working state
AgentMemory holds planning, actions, observations and errors. Replay and programmable steps permit inspection and changes; durable persistence is defined by the application.
EvidenceDocumented with conditions
Sign-ins
Install the SDK, configure model access and tools, and set up persistence and operations.
EvidenceDocumented with conditions
Starting further runs
The custom application or an external scheduler starts further runs.
EvidenceDocumented with conditions
Human intervention
Integrate approvals, cancellation and questions into the custom interface and tool logic.
EvidenceDocumented with conditions
Detecting errors
Evaluate tool errors and execution results; use product-specific logs and traces for review.
EvidenceDocumented with conditions
Resuming after failures
Stored context supports further work. Verify automatic retries of failed actions and side effects separately.
Evidence
Evidence and open questions
3 sources · 0 open points
Sources and evidence
Official sources checked. Features are provider claims; examples and suitability are editorial. Independent product testing is pending.
Editorial team: Michael Meierhoff · sources reviewed on . Provider information is not independent evidence of performance.
Provider
Hugging Face develops smolagents in its official organization and documents it within its model and developer ecosystem. Repository on 2026-11-16: 30,397 stars, 3,220 forks; license identifier Apache-2.0; last push 2026-11-15.
- Operator
- Hugging Face
- Organization
- Software project and provider
- Website
- huggingface.co
Changes to this profile 1
Builds lightweight Python agents that execute actions as code or use structured tool calls.
These notes describe editorial changes. Source and pricing review dates appear in their respective sections.
