Tags: agno-agi/agno
Tags
chore: Release 2.1.4 (#4966) # Changelog ## New Features: - **Workflow History**: Support to add workflow history to all or individual steps for a better continuous conversational experience - **Google Drive Toolkit**: Added the `GoogleDriveTools` class, to provide your Agents with read and write access to Google Drive. ## Improvements: - **Update parallel and custom function step events streaming logic in workflows:** - Inspect all events that are yielded during the workflow run, and set the workflow context variables on them before yielding upwards. - Update parallel step event streaming logic to immediately yield events as they come so that FE can catch and display in real time. - Old approach - collect all, yield at end - New approach - stream immediately (used queues as we cant yield directly from async running tasks) - **Custom events with AG-UI**: The AG-UI integration now support custom events. Your Agno custom events will now be delivered in the AG-UI interface in the conventional [AG-UI custom event](https://docs.ag-ui.com/concepts/events#custom) format. - **Tool post-hooks in case of tool failure**: Our tool post-hooks now also run when the tool run fails. This enables you to easily add logic to run in case of tool failures! ## Bug Fixes: - **Order of persisted streaming events**: Fix a bug where the created_at of some Memory events would be larger than the created_at of the final RunCompleted event. - **Handle Team sessions with no runs**: When cancelling a Team run early enough, you can end with a session that contains no run objects. Some functionality was failing in this edge case. - **Dynamo Table definitions:** Fixed a bug where some DynamoDB schemas incorrectly defined non key attributes - **Dictionary Key Order Causing Redundant Cache Files:** The current caching in `agno/tools/function.py` used `str()` to serialize dictionary arguments for cache key generation. Since `str()` preserves dictionary key order, identical data with different key orders produced different cache keys. Replaced `str()` with `json.dumps(sort_keys=True)` to ensure serialization regardless of dictionary key order - **Change dimensions type to Optional[int] in FastEmbedEmbedder :** Fixed an issue where FastEmbedEmbedder didn’t allow optional dimensions. --------- Co-authored-by: Yash Pratap Solanky <101447028+ysolanky@users.noreply.github.com>
chore: Release 2.1.3 (#4953) # Changelog ## New Features: - **Claude Vertex AI:** Implemented a new Claude model class to be served through Vertex AI. - **Dynamic Model Router in OpenRoute**r: Added the ability to define multiple models in the OpenRouter Class in case the primary model fails ## Improvements: - **AgentOS MCP server with custom FastAPI apps**: AgentOS instances running with a custom FastAPI app as base app can now be exposed as MCP servers, using the [`enable_mcp_server` parameter.](https://docs.agno.com/agent-os/mcp/mcp#mcp-enabled-agentos) - **Support MCP tools inside the AgentOS MCP server**: The Agents, Teams and Workflows exposed via MCP in your AgentOS MCP server can now use MCP tools. - **FileTools with relative paths**: Update the FileTools Toolkit to better handle using relative paths in all its methods. ## Bug Fixes: - **Support MCP tools with custom FastAPI apps**: Fixed a bug provoking errors when connecting to MCP servers inside an AgentOS setup with a custom FastAPI app as base app. - **Reading sessions with no runs**: Fixed a bug reading Team sessions with no runs, which happens when cancelling a Team run early. - **Cancelling Workflow runs started via websocket**: Fixed a bug that made run cancellation fail for workflow runs started via websocket. --------- Co-authored-by: manu <manuhortet@gmail.com>
chore: v2.1.2 (#4927) # Changelog ## New Features: - **A2A interface**: You can now expose and run your Agents, Teams and Workflows in A2A compatible format using the new `A2A` interface for the AgentOS. - **Field labelled CSV Reader:** A new CSV reader that maintains field - value relationship for CSV Knowledge data. ## Improvements: - **Local binaries as MCP command**: You can now use commands like `./script` to run MCP servers with your `MCPTools` or `MultiMCPTools` classes. - **PDF readers**: Refactored to increase efficiency and reuse some logic. - **AG-UI interface**: You can now pass `user_id` in the `forwarded_props` field when initiating a run. - **AgentOS database dropdown**: Copy clarifications for AgentOS setups using multiple databases. - **AgentOS to accept more file types**: Extend the list of recognized file formats in the OS routers, allowing for more file types in the AgentOS API. ## Bug Fixes: - **AWS Bedrock Model class:** Fixed a bug with Tool calls not being registered when using AWS Bedrock Model class - **Memory manager**: Fix a problem related to deleting user memories filtering by `user_id`. - **Renaming session with SQLiteDb**: Fix some problems with the `rename_session` method in the SQLite DB implementation. - **Fixed empty session name in `/sessions` api for workflows with custom function step:** the case of a custom function step being the first step was not being handled. - **Fixed session state handling in workflows**: - Ensured `session_state` is always passed as a dictionary (never None) to custom functions during parallel execution, preventing parameter errors when session_state is required. - Refactored session state copying and merging logic to properly handle state changes across parallel steps.
chore: Release 2.1.1 (#4901) # Changelog ## Improvements: - **AgentOS Interface Route Prefix:** Added the option to specify a `prefix` for `AGUI`, `Whatsapp`, and `Slack` interfaces. This enables running multiple interfaces on the same AgentOS instance. ## Bug Fixes: - **Fix JSON serialize issue in websocket handler:** `WebSocketHandler.handle_event()` and `handle_dict()` methods in `types.py` failed to serialize datetime/date objects when sending workflow events via WebSocket, causing "Object of type datetime is not JSON serializable" errors. - **Update reasoning_effort options to include 'low' for openai:** As per [docs](https://platform.openai.com/docs/api-reference/chat/create#chat-create-reasoning_effort) currently supported values of reasoning_effort are minimal, low, medium, and high
chore: Release 2.1.0 (#4856) # Changelog ## New Features: - **AgentOS Custom Middleware:** Allow setting of any custom FastAPI-compatible middleware on the AgentOS. See the [docs](https://docs.agno.com/agent-os/customize/middleware/overview). - **AgentOS JWT Middleware:** We have a built-in JWT Middleware that can validate tokens, extract claims to pass into AgentOS endpoints, and more. See the [docs](https://docs.agno.com/agent-os/customize/middleware/jwt). - **Pre/Post Hooks:** Configure a custom hook that runs at the start or end of an agent/team run. This is useful for input/output validation, or transforming the input/output of the agent. See the [docs](https://docs.agno.com/concepts/agents/pre-hooks-and-post-hooks). - **Guardrails**: Guardrails are specific built-in pre-hooks that you can configure. See the docs. We have added support for: - Prompt Injection checks ([docs](https://docs.agno.com/concepts/agents/guardrails/prompt-injection)) - PII detections (SSN, credit cards, phone numbers, emails) ([docs](https://docs.agno.com/concepts/agents/guardrails/pii)) - [OpenAI Moderation](https://platform.openai.com/docs/guides/moderation?example=images) ([docs](https://docs.agno.com/concepts/agents/guardrails/openai-moderation)) - You can create your own custom guardrails ([docs](https://docs.agno.com/concepts/agents/guardrails/overview)) - **Requesty LLM Gateway:** Added support for [Requesty](https://www.requesty.ai), an affordable LLM gateway with advanced governance. ## Improvements: - **AgentOS Updates for Clarity**: - None of the below deprecated parameters have been removed, only new attributes added. It will likely be removed in v2.3.0 and after. - Deprecated `fastapi_app` and added `base_app` → For configuring a custom FastAPI app for the AgentOS. - Deprecated `replace_routes` and added `on_route_conflict` → For how to handle conflicting routes when you set `base_app`. - Deprecated `enable_mcp` and added `enable_mcp_server` → For converting the AgentOS into an MCP server. - Deprecated `os_id` and added `id` → The ID of the OS. - **Async Tool Execution In Streaming**: For tools that are AsyncGenerators (i.e. they are `async` and `yield` content or events), they are now executed in parallel. - **Team Async Member Execution:** Because of the above update, member execution during async team execution with streaming (i.e. `Team.arun(..., stream=True)`) is now also concurrent. - Note: This means member events are received concurrently and the order is not guaranteed. If you previously depended on the order of events of team members, take note of this. - **Whatsapp Interface Sessions:** The user’s unique phone number is now used as the session ID by default. This would enable session history for Whatsapp conversations. - **Update Workflows to not swallow exceptions:** workflows now raise exceptions where necessary so that they can be correctly caught in the front end. - **Batch Embeddings:** Support for batch embeddings to speed up embedding process and reduce API calls to embeddings providers. See the docs. - Removed unused `use_batch` parameter from PGVectorDB class ## Bug Fixes: - **Team History in Context**: Fixed issues where team history was not correctly added to team context. - **Gemini Metrics Calculation Fix For Gemini 2.5 Models:** Fixed a bug where thought tokens count were added later to output tokens before total token calculation - **Fix for workflow async pipeline to correctly accept file input:** Updated the Workflow class to include a parameter `files` in the async pipeline input creation, enhancing the flexibility of input handling. - **`InMemoryDb` mutable references**: Fixes a bug where some DB methods unexpectedly returned shared object references. - **Fix `tool_choice` bug on Gemini**: Agno now convert `tool_choice` values for `none` and `auto` correctly to what Gemini expects. - **Fix for a bug on Agent OS when output schema includes a non serializable type:** - in [**fix: agentos datetime serialization #4783**](#4783) it was fixed but the `to_json` method was being overridden in the `BaseWorkflowRunOutputEvent` class which is not really required. --------- Co-authored-by: Kaustubh <shuklakaustubh84@gmail.com> Co-authored-by: manuhortet <manuhortet@gmail.com>
chore: Release 2.0.11 (#4821) # Changelog ## Improvements: - LiteLLM: Add metadata and additional fields to LiteLLM Model class - **AgentOS**: Update the logic to find and register MCP tools when setting up an AgentOS instance - **AgentOS**: Update the logic to find and register DBs, to reject incompatible db instances with same ids ## Bug Fixes: - **user_id not being passed when creating RunOutput**: Fixed a bug where user_id was not being added to RunOutput
chore: Release 1.8.4 (#4797) # Changelog ## Bug Fixes: - **Aws Claude Model Class**: Fixed a regression caused in 1.8.3 leading to tool call failure for AWS Claude Model Class ## What's Changed * fix: aws claude legacy tool format [v1] by @kausmeows in #4795 **Full Changelog**: v1.8.3...v1.8.4
chore: Release 2.0.10 (#4798) # Changelog ## Improvements: - Session State: Adds a new flag `overwrite_db_session_state` to overwrite the session state persisted in the database ## Bug Fixes: - **AWS Claude Model Class**: Fixes a bug with Tool call parsing
chore: Release 2.0.9 (#4782) # Changelog ## New Features: - **MCP Toolbox**: new Toolkit to provide your Agents with access to Google’s [MCP Toolbox for Databases](https://github.com/googleapis/genai-toolbox). - **Bulk DB writing**: all DB implementations now support writing multiple Sessions and Memories with one DB call. - **Ollama Cloud**: Added support for Ollama cloud. - **Handle session_state**: the AgentOS run endpoints now support receiving the `session_state` and `dependencies` parameters ## Improvements: - **Ollama Cloud**: Ollama Model class now supports use of Ollama Cloud via an API key - A**gentOS WhatsApp interface**: allow adjusting the WhatsApp version to use with the interface. - **Workflows support for Slack interface**: Workflows can now be used in AgentOS together with the Slack interface. - **Scrape Graph Toolkit**: New methods added to the Scrape Graph Toolkit. - **Raise on Storage errors**: Raise any critical errors that happen when reading or writing from a database, instead of logging them. - **V2 Migration script**: batch operations to support and speed up migrating large tables. ## Bug Fixes: - **AgentOS chat**: Fixed a bug where user messages would be displayed in the wrong order. - **V2 Migration script**: Add support for schemas pertaining to older Agno versions. - **HuggingFace Model Class**: Fixed a bug with tool call streaming for HF model class Co-authored-by: manu <manuhortet@gmail.com>
PreviousNext