tinyagents
@albertvillanova
基本信息
关于 tinyagents
Tiny Agents: LLM + MCP Tools
概览
What is tinyagents?
TinyAgents is a minimalist implementation of LLM-powered agents that connect to Model Context Protocol (MCP) servers to access external tools. It runs on Python and is intended for developers building lightweight agent workflows.
How to use tinyagents?
Install required dependencies (Python 3.10+, mcp, huggingface-hub), set up an MCP server (e.g., the included weather server), then run either python tinytoolcallingagent.py <path_to_server_script> or python tinycodeagent.py <path_to_server_script> to start an interactive chat loop.
Key features of tinyagents
- Asynchronous operation using Python's asyncio
- Dynamic discovery and invocation of MCP server tools
- Interactive chat interface for user queries
- Integration with Hugging Face's InferenceClient (Qwen2.5-Coder-32B-Instruct)
- Two agent modes: tool-calling and code generation
Use cases of tinyagents
- Query weather alerts and forecasts via a National Weather Service MCP server
- Build custom agent workflows combining LLMs with MCP tool ecosystems
- Experiment with code-based task solving using TinyCodeAgent
FAQ from tinyagents
What models does tinyagents support?
TinyAgents uses the Qwen2.5-Coder-32B-Instruct model via Hugging Face's InferenceClient.
What MCP servers does tinyagents work with?
Both agents connect to Python or JavaScript MCP servers via stdio, enabling dynamic tool discovery from any compatible server.
Is tinyagents free to use?
—
Can tinyagents execute Python code?
The TinyCodeAgent is designed to generate Python code solutions; execution is a planned future enhancement (currently TODO).
What are the system requirements?
Python 3.10 or higher, with dependencies mcp >= 1.9.0, huggingface-hub >= 0.31.2, and optionally httpx for the weather server example.
其他 分类下的更多 MCP 客户端

StalkChain
StalkChainHosted MCP server giving AI agents social-trading and on-chain crypto data: tracked-trader wallets, PnL and win rate, trader theses, smart-money holders, token safety checks and live alerts across Solana, Base, BNB, Ethe
Roamzy
roamzy-ioAgent-native global eSIM over MCP — an AI agent buys one eSIM for 193 countries, anonymously, per-MB in USDT/USDC crypto, and earns 20% referral forever. Claude/Cursor/Continue + any MCP client.

Prism – Contract Deadline Reader
Built AI, Inc.Give your AI agent a contract reader. Prism reads leases, mortgages, insurance policies and HOA documents and returns every deadline with its exact date, what happens if it is missed, and the sentence it came from. Remot
小红书MCP服务
jobsonlook小红书MCP服务 x-s x-t js逆向
Builders in Fintech
buildersinfintech.aiA free, read-only MCP connector for the fintech database: companies, investors, people, funding rounds, events and published coverage. No account, no API…
评论