Skip to main content

Build your AI Agents instantly

in any environments, in any languages, without any complex setup.

🚀 Simple AI Agent Framework

Build your first agent with just a few lines of code — no boilerplate, no complex setup.

☁️ Cloud or Local

Use a single API to work with both local and remote (API) models. That flexibility keeps you in full control of your stack.

💻 Cross-Platform & Multi-Language

Supports Windows, Linux, and macOS — with developer-friendly APIs in Python and JavaScript.

🌎 WebAssembly Supports

Run agents entirely in your web browsers — without any backend infrastructures

$ pip install ailoy-py
import asyncio

import ailoy as ai

async def main():
    # Create an agent
    # During this step, the model parameters are downloaded and the LLM is set up for execution
    agent = ai.Agent(await ai.LangModel.new_local("Qwen/Qwen3-0.6B"))

    # Agent answers within the agentic loop
    async for resp in agent.run("Please give me a short poem about AI"):
        print(resp.message)

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

Read-only