Célina Hanouti PRO
AI & ML interests
Recent Activity
Organizations
celinah's activity


yes indeed, the bug appears only on python >= 3.12. We fixed it and released a patch, see my comment here: https://huggingface.co/blog/python-tiny-agents#683eca4750b8f035fa0407b9

We've fixed the issue and released a patch for that: https://github.com/huggingface/huggingface_hub/releases/tag/v0.32.4
You can upgrade huggingface_hub
to get the fix along with support for local LLMs, cc
@sylvain471
.
pip install -U huggingface_hub>=0.32.4
don't hesitate to experiment with tiny-agents
and let us know if you hit any issues (PRs are very welcome too!).
featherlessailogo


We opened a PR that should fix the bug: https://github.com/huggingface/huggingface_hub/pull/3135
once it's merged, we will release a patch of huggingface_hub
. Thanks again
@sylvain471
and
@nielsr
for reporting this.

Hi
@insightfactory
,
very nice! don't hesitate to check and contribute (we love contributions from the community!) to our tiny-agents Python implementation as well: https://github.com/huggingface/huggingface_hub/tree/main/src/huggingface_hub/inference/_mcp :)

Hi
@sylvain471
,
Thanks for reporting this!
Do you happen to have a reproducible example for the first error using huggingface_hub==0.32.3
? If possible, could you also share the agent config you used when the error occurred?
As for local LLMs, support was introduced in huggingface_hub>=0.32.2
, so it's expected that older versions would raise an error.

Interactive Tools for machine learning, deep learning, and math

Hi
@hevangel
,
Very sorry for the inconvenience, we've fixed the issue and released a patch for that: https://github.com/huggingface/huggingface_hub/releases/tag/v0.32.1
could you upgrade your huggingface_hub
version please?
pip install -U huggingface_hub>=0.32.1
let us know if you see any other unexpected behavior!

Inspired by Tiny Agents in JS from @julien-c , we ported the idea to Python and integrated it directly into
huggingface_hub
— with a built-in MCP Client and a Tiny Agents CLI.TL;DR: With MCP (Model Context Protocol), you can expose tools like web search or image generation and connect them directly to LLMs. It’s simple — and surprisingly powerful.
pip install "huggingface_hub[mcp]>=0.32.0"
We wrote a blog post where we show how to run Tiny Agents, and dive deeper into how they work and how to build your own.
👉 https://huggingface.co/blog/python-tiny-agents

Tiny Agents in Python: a MCP-powered agent in ~70 lines of code
