Two lines in your terminal and you have an AI agent running whatever model and tools you want 🤯
text
Two lines in your terminal and you have an AI agent running whatever model and tools you want 🤯
new_line
new_line
Just tried the new Tiny Agents in Python. Asked it which team won the Italian Serie A soccer league and to export the final table to CSV. Coolest thing is you can interact with the agent, guide it, and correct its mistakes.
text
Just tried the new Tiny Agents in Python. Asked it which team won the Italian Serie A soccer league and to export the final table to CSV. Coolest thing is you can interact with the agent, guide it, and correct its mistakes.
new_line
new_line
The agent connected to web browsing tools, searched for Serie A standings, identified the champion, and generated a CSV export.
text
The agent connected to web browsing tools, searched for Serie A standings, identified the champion, and generated a CSV export.
new_line
new_line
The setup:
text
The setup:
new_line
pip install "huggingface_hub[mcp]>=0.32.0"
tiny-agents run
```
pip install "huggingface_hub[mcp]>=0.32.0"
tiny-agents run
```
code_fence
new_line
new_line
That's it. The MCP protocol handles all the tool integrations automatically - no custom APIs to write, no complex setups. Want file system access? It's already there. Need web browsing? Built in. 
text
That's it. The MCP protocol handles all the tool integrations automatically - no custom APIs to write, no complex setups. Want file system access? It's already there. Need web browsing? Built in. 
new_line
new_line
You can swap models, change inference providers, run local models, or add new tools just by editing a simple JSON config. You can also use Gradio Spaces as MCP servers! The entire agent is ~70 lines of Python - essentially a while loop that streams responses and executes tools. Everything is open-source. ❤️ Hugging Face
text
You can swap models, change inference providers, run local models, or add new tools just by editing a simple JSON config. You can also use Gradio Spaces as MCP servers! The entire agent is ~70 lines of Python - essentially a while loop that streams responses and executes tools. Everything is open-source. ❤️ Hugging Face
new_line
new_line
Blog post: 
text
Blog post: 
https://huggingface.co/blog/python-tiny-agents
https://huggingface.co/blog/python-tiny-agents
link
new_line
Two lines in your terminal and you have an AI agent running whatever model and tools you want 🤯

Just tried the new Tiny Agents in Python. Asked it which team won the Italian Serie A soccer league and to export the final table to CSV. Coolest thing is you can interact with the agent, guide it, and correct its mistakes.

The agent connected to web browsing tools, searched for Serie A standings, identified the champion, and generated a CSV export.

The setup:
```
pip install "huggingface_hub[mcp]>=0.32.0"
tiny-agents run
```

That's it. The MCP protocol handles all the tool integrations automatically - no custom APIs to write, no complex setups. Want file system access? It's already there. Need web browsing? Built in. 

You can swap models, change inference providers, run local models, or add new tools just by editing a simple JSON config. You can also use Gradio Spaces as MCP servers! The entire agent is ~70 lines of Python - essentially a while loop that streams responses and executes tools. Everything is open-source. ❤️ Hugging Face

Blog post: https://huggingface.co/blog/python-tiny-agents

👀
TimC82 John6666 WJ88 JRizzled
😎
JoPmt
676aee08c39b99f99dee621e
https://cdn-avatars.huggingface.co/v1/production/uploads/676aee08c39b99f99dee621e/sOnXBkvhO7D7VcopA63b1.jpeg
Wojciech
WJ88
user