Zaid Alyafeai

Zaid

AI & ML interests

Arabic Language Modeling

Recent Activity

Organizations

BigScience Workshop's profile picture NCAI-CALM's profile picture BigScience Data's profile picture Webhooks Explorers (BETA)'s profile picture Arabic Machine Learning 's profile picture BigLAM: BigScience Libraries, Archives and Museums's profile picture BigCode's profile picture ml-fw-prerelease's profile picture Image and Video Understanding Lab's profile picture

Zaid's activity

reacted to daavoo's post with 👍 1 day ago
view post
Post
1884
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())