Skip to content
Pyrula
Pre-release: the packages are not on PyPI yet, so pip install does not resolve. Build from source to try it today.

Agents

Agent turns call paid models and may change external systems through tools. Pyrula records completed LLM and tool calls so crash recovery does not execute them again.

pyrula.agents runs agents on the durable workflow engine. An interrupted turn resumes from its journal, and completed calls return their recorded results. The package also provides streaming and HTTP serving.

from pyrula.agents import agent, tool

Start with the Quickstart to define an agent and prove a crash resumes without re-running work. For the execution model agents inherit (runs, replay, suspend points), read the Workflows concepts.