Skip to content

LiteAgents 0.3.0a6: portable tools and simpler setup

Pre-release
Pre-release

Choose a tag to compare

@moe-berri moe-berri released this 26 Sep 19:28

LiteAgents keeps one application setup while you change the harness. This preview adds simpler tools and scoped native controls, and updates every cookbook to use the same direct-provider setup.

  • Pass typed Python functions as tools; LiteAgents generates their schemas and adapts them to each harness.
  • Use LiteAgentClient(profile=profile, tools=[lookup_order]) and query(prompt=..., profile=profile) directly. Existing LiteAgentOptions and Tool classes remain supported.
  • Declare subagents without a separate enable flag.
  • Put optional native controls under each harness's name in harness_options; switching and fallback select the matching settings automatically.
  • Follow short Colab walkthroughs for tools, MCP, conversations, approvals, retries, fallback, profiles and Temporal recovery. Provider keys work directly through the LiteLLM SDK; a gateway is optional.

Install the preview with the harnesses you want:

python -m pip install "liteagents[pydantic-ai,claude-sdk] @ https://github.com/BerriAI/liteagents/releases/download/v0.3.0a6/liteagents-0.3.0a6-py3-none-any.whl"

Getting started · Cookbooks · SDK contract

Validation exercises the same function-and-MCP application across all six harness selectors in direct and Temporal execution, with real native loops and controlled model responses. Fresh-wheel checks include notebook reruns and a separate Temporal worker crash/restart. These are not live-provider acceptance tests.

For durable deployments, upgrade clients and workers together and use a new profile version for new jobs. Finish existing jobs on their original SDK/profile versions. Interrupted external writes still require application idempotency.