Repository navigation
LiteAgents 0.3.0a3: standalone Colab cookbooks
Pre-releaseLiteAgents 0.3.0a3 adds a simpler SDK quickstart and 12 standalone Google Colab cookbooks. Start with a provider key, a profile, and query(); no checkout or gateway is required.
- Copyable examples for OpenAI, Anthropic, OpenRouter, and more providers, with separate cloud/local authentication guidance.
- Colab examples for conversations, tools, MCP, harness switching, coding comparisons, approvals, subagents, retries, model fallback, and optional Temporal recovery.
- Fix stdio MCP startup in notebook kernels whose stderr has no OS file descriptor.
Install with Python 3.11+:
python -m pip install \
'liteagents[deepagents] @ https://github.com/BerriAI/liteagents/releases/download/v0.3.0a3/liteagents-0.3.0a3-py3-none-any.whl' \
-c https://github.com/BerriAI/liteagents/releases/download/v0.3.0a3/constraints-tested.txtInstall only the harness integrations you use, or replace [deepagents] with [all]. OpenCode also needs npm install -g opencode-ai@1.18.29; the Colab cells handle that when selected. The PyPI project currently named liteagents is a different package, so use this preview wheel.
Start in Colab · Getting started · All cookbooks · Model setup
The gateway remains optional: pass its URL, exact model alias, and key in your profile. Special environment variables are not required. Temporal is also optional; its Colab demo uses temporary runtime storage. Persistent applications need an external Temporal service and durable checkpoint storage.
Validation includes real notebook kernels, repeated runs outside the checkout, all six installed native harness selectors, MCP subprocesses, approvals, tool retries, and Temporal worker crashes. A clean install of the built wheel ran the first-agent example on all six harnesses. Provider responses in these checks are deterministic fixtures, not new live-provider acceptance for every documented model. See PR #13 and the validation guide.
All seven PR CI jobs passed, including Python 3.11–3.13 with MCP 1.x/2.x and the native/Temporal/PostgreSQL deployment job. The full integration suite finished with 445 passed and 25 opt-in/environment-dependent skips.
The public client/profile API is unchanged. Upgrade durable clients and workers together.