Repository navigation
Harnessed 0.26.0
Highlights
- Persist sessions in your application with the async
agent.session(on_commit=...)handler. Checkpoints carry their session IDs, and both checkpoints and snapshots can be stored as JSON documents. - Validate built-in messages, model values, and events with strict Pydantic dataclasses.
- Customize an individual plugin tool’s description and parameter defaults, descriptions, and numeric bounds with
Plugin.with_tool()andParam.
Upgrade from 0.25.0
Export idle conversations as format 4 snapshots with 0.25.0 before replacing Agent(store=...). Import each snapshot with its original session ID and save the new checkpoint through your application. Execution checkpoints now use format 5 and standalone audit envelopes use version 9. Update typed constructors to pass enum members and tuples, and switch event consumers to the new codec.