v0.28.0
v0.28.0
🎉 Overview
v0.28.0 integrates AgentOS as a Python package dependency (no more manual installation), adds a UIAutomator hierarchy tool for Android agents, improves support for Anthropic prompt caching to reduce inference cost, introduces Tool.from_mcp_tool() for wrapping FastMCP tools, and overhauls usage tracking with per-step and per-conversation cost breakdowns including cache token costs in the HTML reports.
✨ New Features
- AgentOS shipped as Python package (
askui-agent-os) — no manual installation needed by @mlikasam-askui in #246 - Anthropic prompt caching (auto strategy) with
cache_controlparameter by @philipph-askui in #253 AndroidGetUIAutomatorHierarchyTool— accessibility hierarchy dump for Android agents, providing structured UI element data (text, resource IDs, tap centers) as an alternative to screenshot-based inference by @mlikasam-askui in #251- Hierarchical usage tracking with per-step, per-conversation, and aggregate cost breakdowns including cache token costs in HTML reports by @mlikasam-askui in #253
🔧 Improvements
Tool.from_mcp_tool()to wrap FastMCP tools as AskUI Tools by @mlikasam-askui in #250markitdownandbsonmoved to optional dependencies (office-document) andpure-python-adbpromoted to core to streamline the installation by @mlikasam-askui in #255- Documented optional install extras (
office-document,bedrock,vertex,otel,web) in README by @mlikasam-askui in #255 - Workspace ID (
askui.workspace.id) added to OTEL trace resource attributes by @philipph-askui in #256 - Improved tracing structure with
_get_next_message()span for better observability by @philipph-askui in #256
🐛 Bug Fixes
- Fix prompt caching breakpoints to improve prompt caching efficiency by @philipph-askui in #253
- Fix report formatting and cache statistics accumulation by @philipph-askui in #253
- Constrain
grpcio<1.80.0to avoid compatibility issues by @philipph-askui in #250 - Clean up OTEL tracing: remove stale
cluster_nameconfig and unnecessary SQLAlchemy instrumentation by @philipph-askui in #256
⚠️ Breaking Changes
ASKUI_COMPONENT_REGISTRY_FILE,ASKUI_INSTALLATION_DIRECTORY, andASKUI_CONTROLLER_PATHenvironment variables are no longer recognized — AgentOS is now auto-discovered via theaskui-agent-ospackageOtelSettings.cluster_namefield andASKUI__OTEL_CLUSTER_NAMEenv var removed; replaced byworkspace_id/ASKUI_WORKSPACE_ID- Minimum
anthropicSDK version bumped from>=0.72.0to>=0.86.0 androidoptional extra removed —pure-python-adbis now a core dependency; useoffice-documentextra for MarkItDown features previously bundled by defaultbsonandmarkitdownremoved from default dependencies — installaskui[office-document]if you need Office file conversion
Full Changelog: v0.27.0...v0.28.0