Install
Install Agentling with pip or uv, check it works, and find the 0.1.1 docs.
Agentling needs Python 3.11 or newer. Its only dependency is pyyaml, which reads skill files.
Install the package#
With pip:
pip install agentlingWith uv:
uv add agentlingCheck it works#
import agentling
print(agentling.__version__)0.2.0What you don't need yet#
The first chapters of the tutorial run on ScriptedModel, a model that replays a script, so you need no API key and no network.
When you connect a real model, you copy a reference adapter into your project. The reference adapters talk HTTP with httpx, so install it then:
pip install httpxAgentling is async. Call it from async code, or wrap your entry point in asyncio.run, as the tutorial's programs do. Some short examples, including those on the reference pages, use await at the top level to stay brief: run them with python -m asyncio, or put them inside an async def main().
Using 0.1.1?#
Version 0.2.0 removed the bundled OpenAI model and changed several APIs, so this site no longer matches 0.1.1. The 0.1.1 docs are in the docs repository at the v0.1.1 tag, and the changelog lists what each release changed. To move your code to 0.2.0, follow Migrate from 0.1.