New features 🚀
- SmolAgents MCP Client by @grll in #1200
- Introduce a new
MCPClient
class that allows users to manage connections to one or more MCP servers, making integration with SmolAgents more flexible and scalable.
- Introduce a new
- Amazon Bedrock Native API Support by @leandrodamascena in #1115
- Add native support for Amazon Bedrock in the
models
module, enabling seamless interaction with Bedrock-hosted models.
- Add native support for Amazon Bedrock in the
Important changes 💥
- Rename
HfApiModel
toInferenceClientModel
by @julien-c in #1198- Align the naming with its broader usage beyond the Hugging Face Hub, clarifying its purpose and usage.
- Star-pattern-based import authorization by @aymeric-roucher in #1180
- Enhance import security by introducing a star-pattern-based authorization mechanism, allowing fine-grained control over which modules can be imported.
Fixes and improvements 🔧
- Unpin pillow < 11.2.0 by @albertvillanova in #1140
- Pass vLLM (VLLMModel) model client params as
client_kwargs
by @sergiopaniego in #1137 - Docs: Add Code Agents in agency table by @aymeric-roucher in #1144
- Replace ChatMessage.from_hf_api with from_dict with asdict by @albertvillanova in #1076
- Make to_messages methods compatible with qwen vl by @aymeric-roucher in #1148
- Fix get_json_schema for keyword in description by @albertvillanova in #1146
- Support images in stream_to_gradio by @aymeric-roucher in #1154
- Fix: adjust PlanningStep user message to avoid azure's content filter by @bpoppinga in #1151
- Refactor code agent system prompt by @aymeric-roucher in #1153
- Fix bug authors by @aymeric-roucher in #1163
- Fix memory step model output in ToolCallingAgent by @keetrap in #1156
- Parsing model outputs: allow whitespaces after the header of code blobs by @aymeric-roucher in #1172
- Fix: Add default value to optional argument by @rca-umb in #1155
- Add more detail to code execution documentation by @maeste in #983
- Make TextInspectorTool serializable by @albertvillanova in #1176
- Clarify tool usage in agent step tutorial by @albertvillanova in #1175
- Provide ability to override Agent logger by @sysradium in #1166
- Pin mcpadapt >= 0.0.19 to include security fix by @albertvillanova in #1178
- Fix tool validation with multiple assignments by @albertvillanova in #1177
- Fix typo in the memory.mdx by @alpsencer in #1187
- feat: add custom Docker image support and enhanced configuration for DockerExecutor by @kingdomad in #1057
- Add api_key argument in HfApiModel by @aymeric-roucher in #947
- Implement Tool.from_dict by @albertvillanova in #1006
- Implement Agent.from_dict by @albertvillanova in #1007
- Call recursively Agent.to_dict for managed agents by @albertvillanova in #1008
- Support
Literal
type annotations in@tool
for defining enums by @stephanlensky in #1195 - Support class docstrings in LocalPythonExecutor by @albertvillanova in #1192
- Reference Inference Providers more clearly by @julien-c in #1197
- Support annotated assignment in LocalPythonExecutor by @albertvillanova in #1193
- Fix evaluate_boolop for non-boolean return type by @ZeusFSX in #1191
- Make MultiStepAgent and abstract class by @sysradium in #1204
- fix: creating tool should not affect function that is being wrapped by @njbrake in #1203
- Remove header comments from MDX docs for proper rendering by @albertvillanova in #1212
- Fix CI test by updating LiteLLM error message by @albertvillanova in #1214
- Fix typo in evaluate_ast() docs: static_tools -> custom_tools by @JungeAlexander in #1217
- Make OpenDeepResearch tools serializable by @albertvillanova in #1206
- Add Security Policy by @albertvillanova in #1208
- Improve docs for stream run by @albertvillanova in #1215
- Skip unsupported stop parameter for reasoning models by @albertvillanova in #1211
New Contributors
- @leandrodamascena made their first contribution in #1115
- @bpoppinga made their first contribution in #1151
- @rca-umb made their first contribution in #1155
- @alpsencer made their first contribution in #1187
- @stephanlensky made their first contribution in #1195
- @ZeusFSX made their first contribution in #1191
- @JungeAlexander made their first contribution in #1217
Full Changelog: v1.13.0...v1.14.0