Skip to content

v0.28.0

Choose a tag to compare

@philipph-askui philipph-askui released this 03 Apr 10:05
· 86 commits to main since this release
927aa6d

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_control parameter 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 #250
  • markitdown and bson moved to optional dependencies (office-document) and pure-python-adb promoted 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.0 to avoid compatibility issues by @philipph-askui in #250
  • Clean up OTEL tracing: remove stale cluster_name config and unnecessary SQLAlchemy instrumentation by @philipph-askui in #256

⚠️ Breaking Changes

  • ASKUI_COMPONENT_REGISTRY_FILE, ASKUI_INSTALLATION_DIRECTORY, and ASKUI_CONTROLLER_PATH environment variables are no longer recognized — AgentOS is now auto-discovered via the askui-agent-os package
  • OtelSettings.cluster_name field and ASKUI__OTEL_CLUSTER_NAME env var removed; replaced by workspace_id / ASKUI_WORKSPACE_ID
  • Minimum anthropic SDK version bumped from >=0.72.0 to >=0.86.0
  • android optional extra removed — pure-python-adb is now a core dependency; use office-document extra for MarkItDown features previously bundled by default
  • bson and markitdown removed from default dependencies — install askui[office-document] if you need Office file conversion

Full Changelog: v0.27.0...v0.28.0