🚀 초간단 AI 에이전트 프레임워크
몇 줄의 코드만으로 첫 에이전트를 구축하세요 — 보일러플레이트도, 복잡한 설정도 필요 없습니다.
☁️ 클라우드, 로컬 어디서나
하나의 API로 로컬 모델과 원격(API) 모델 모두 사용하세요. 이 유연성으로 스택을 완전히 제어할 수 있습니다.
💻 크로스 플랫폼 & 다중 언어 지원
Windows, Linux, macOS를 지원하며 — Python과 JavaScript로 개발자 친화적인 API를 제공합니다.
🌎 WebAssembly 지원
백엔드 인프라 없이 웹 브라우저에서 에이전트를 실행할 수 있어요!
- Python
- Javascript(Node.js)
- Javascript(Web)
$ 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