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
from ailoy import Runtime, Agent, LocalModel

# Start Ailoy runtime
rt = Runtime()

# Create an agent
# During this step, the model parameters are downloaded and the LLM is set up for execution
agent = Agent(rt, LocalModel("Qwen/Qwen3-0.6B"))

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

# Once the agent is no longer needed, it can be released
agent.delete()

# Stop the runtime
rt.stop()
Read-only