Post
1268
We've just released a new version of https://github.com/mozilla-ai/any-agent , including a Python implementation of https://huggingface.co/blog/tiny-agents!
Give it a ⭐!
Give it a ⭐!
from any_agent import AnyAgent, AgentConfig
from any_agent.config import MCPStdioParams
agent = AnyAgent.create(
"tinyagent",
AgentConfig(
model_id="gpt-4.1-nano",
instructions="You must use the available tools to find an answer",
tools=[
MCPStdioParams(
command="uvx",
args=["duckduckgo-mcp-server"]
)
]
)
)
result = agent.run(
"Which Agent Framework is the best??"
)
print(result.final_output)