Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
daavoo 
posted an update May 2
Post
1365
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 ⭐!

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)

In this post