Skip to content

Harnessed 0.26.0

Choose a tag to compare

@mathisarends mathisarends released this 22 Nov 11:21
af78767

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() and Param.

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.

Upgrade checklist · Compare v0.25.0 to v0.26.0