daavoo

daavoo

AI & ML interests

None yet

Recent Activity

View all activity

Organizations

Multi🤖Transformers's profile picture Mozilla.ai's profile picture Hugging Face Discord Community's profile picture

Posts 8

view post
Post
1813
We have just released a new version of⭐https://github.com/mozilla-ai/any-agent ⭐exposing an API to be used in async contexts:

import asyncio
from any_agent import AgentConfig, AnyAgent, TracingConfig
from any_agent.tools import search_web

async def main():
    agent = await AnyAgent.create_async(
        "openai",
        AgentConfig(
            model_id="gpt-4.1-mini",
            instructions="You are the main agent. Use the other available agents to find an answer",
        ),
        managed_agents=[
            AgentConfig(
                name="search_web_agent",
                description="An agent that can search the web",
                model_id="gpt-4.1-nano",
                tools=[search_web]
            )
        ],
        tracing=TracingConfig()
    )

    await agent.run_async("Which Agent Framework is the best??")

if __name__ == "__main__":
    asyncio.run(main())

Articles 2

Article
1

Introducing Any-Agent: An abstraction layer between your code and the many agentic frameworks

models 0

None public yet

datasets 0

None public yet