Skip to content

v0.13.0

Choose a tag to compare

@adi-wan-askui adi-wan-askui released this 22 Aug 16:11
· 800 commits to main since this release

What's Changed

🚀 Features

  • Office Document Support: Excel and Word: Pass .xlsx, .xls, .docx, .doc files to <Agent>.get() as string (path) or pathlib.Path
  • MCP (Model Context Protocol) Tool Support:
    • Pass fastmcp.Client to ToolCollection and ToolCollection to <Agent>.act() to use MCP tools
    • Use MCP config endpoints of Chat API to configure MCP servers to be used by agents within chat (for now, no filtering of servers or tools, unavailable servers are ignored)
  • Chat:
    • Start agent run / conversation with single create_thread_and_run endpoint to create a thread (conversation) and execute an agent to continue the thread (conversation)
    • Add Files API for managing files referenced from within chat messages
    • Scope resources to workspaces instead of sharing them across all workspaces (with exception of assistants/agents)

🐛 Bug Fixes

  • Chat
    • Consistent encoding of files used for storage of resources (UTF-8)
    • Resource ID generation and ordering of resources when listing them

Other

  • Unified input source types: Replaced various type definitions (Img, Excel, Pdf) with standardized InputSource type
  • Improved documentation: Extracted documentation from README to dedicated /docs folder
  • Chat message storage optimization: Changed from single JSONL file to individual files for better scalability
  • Async/await: Switch to async/await under the hood and for creating a run for supporting async-first fastmcp framework and improving performance
  • New documentation: Added detailed guides for MCP, extracting data, chat API, and more

🚨 Breaking Changes

  • ActModel.act(): The tools parameter is now a ToolCollection instead of a list of Tool
  • Chat: You are going to loose all your chats when upgrading to this version as we changed how we store them

Full Changelog: v0.12.1...v0.13.0