github agno-agi/agno v3.2.1

2 hours ago

Changelog

New Features:

  • Session Compactions: GET /sessions/{session_id}/compactions lists a session's compactions on SqliteDb and PostgresDb, newest first, with how many messages each replaced and the token count before and after.
  • Company Files: A Task's files and the shared notes can now be read over the API with GET /company/tasks/{task_id}/files and GET /company/notes, each with a /{path} route to read one file. See cookbook.

Improvements:

  • LinearTools, DiscordTools and ModelsLabTools: Now take a timeout (default 30 seconds, 120 for ModelsLab) that applies to every request.
  • ExaTools: Now takes include_text, exclude_text, user_location, moderation, highlights and subpages.
  • MCPTools: connect() now returns True when connected and False when not.
  • Qdrant: async_insert now takes batch_size, like insert.
  • WebSearchTools and DuckDuckGoTools: Search errors now come back as a JSON result.
  • Skills: Skill instructions, references and script output in Chinese and other non-ASCII languages now reach the model as readable characters.
  • AntigravityTools and AntigravityAgent: Now default to antigravity-preview-09-2026.
  • Slack: default_role gives Slack members not in users= the permissions of a managed role. Each member is still recorded as themselves.

Bug Fixes:

  • SQLTools: A db_engine you pass in is now always used, even when connection fields are also given, and run_sql_query now returns the database error when reading the result rows fails.
  • OpenRouter, Perplexity and Requesty: Responses now use the model's own output limit when max_tokens is not set, so long answers come back complete.
  • OpenRouterResponses: Run and message metrics now include the cost that OpenRouter reports for each request.
  • Traces: GET /traces now counts pages from 1, like the other trace routes, and JsonDb and GcsJsonDb apply limit when no page is given.
  • WebSearchTools and DuckDuckGoTools: max_results=0 now returns no results, and search_news applies the modifier.
  • ExaTools: livecrawl now reaches Exa, and Exa's summaries and highlights now reach the model.
  • PostgresDb: If creating a table fails on PostgresDb or AsyncPostgresDb, the same db instance now creates it on the next call once the cause is fixed.
  • MCPTools: A failed or cancelled connect() now closes the connection and any stdio server it started.
  • Qdrant: insert(batch_size=...) now sends documents in batches of that size.
  • CodexAgent: Native permission requests and questions now work with openai-codex 0.163.0 and newer.
  • DaytonaTools: agno[daytona] now installs a Daytona SDK that DaytonaTools supports (daytona<1), and the import error names that version.
  • Mistral: agno[mistral] now skips httpx2 2.16.1, so MistralChat and MistralEmbedder import cleanly.
  • FileTools and Workspace: read_file now returns a whole file that has exactly max_file_lines lines.
  • PageMarkdownChunking: Headings that end in a literal #, such as C#, now keep it in chunk breadcrumbs and in the page context line.
  • DocxReader and PPTXReader: Word and PowerPoint files read from a temporary stream, such as FastAPI's UploadFile.file, now return their content.
  • ModelsLabTools: Waiting for generated media now stops at max_wait_time.
  • Sambanova: Now defaults to Meta-Llama-3.3-70B-Instruct, so it works without setting id.
  • Slack: Super Agent now starts under AgentOS(authorization=...) without users=; members not in users= can chat, and actions that need a permission are refused unless default_role grants it.

What's Changed

  • [cookbook] Add Mnemoverse memory integration example by @OlyaTi in #11598
  • fix(tools): respect zero max_results, apply modifier in search_news, and add error handling in WebSearchTools by @neoand in #10806
  • [fix] Remove silent token caps from routed providers by @FanouZeng-TT in #10723
  • [fix] Make ExaTools pass the Exa options it accepts, and add the missing ones by @ormeilu in #9914
  • fix: add cost metric support to OpenRouterResponses by @aayush598 in #9568
  • feat: list a session's compactions from AgentOS by @anuragts in #11617
  • fix: Correct the v1 to v2 migration paths and add the v2 to v3 migrations to the migrations README by @stra1g in #9344
  • test: retry the metrics refresh until it runs in the Claude and Codex metrics tests by @harshsinha03 in #11652
  • chore: auto-close issues past 5 per user in 24 hours by @ysolanky in #11676
  • [fix] Keep an explicit db_engine in SQLTools when connection fields are also passed by @desty in #11500
  • fix: reject page 0 on /traces and apply limit without page in JSON trace reads by @nightcityblade in #10816
  • fix: add timeout parameter to Linear, Discord and ModelsLab tools by @ansh-rohilla in #11459
  • feat: read the Company file tree through the Company API by @ashpreetbedi in #11612
  • [fix] Read Office uploads with non-string temporary stream names by @rudycelekli in #10843
  • [fix] Preserve literal hashes in page heading context by @Yuilona in #10819
  • [fix] Exclude trailing line separator from FileTools.read_file line count by @ansh-rohilla in #11687
  • fix: count real lines in Workspace.read_file so max_file_lines accepts a file with exactly that many lines by @DZH166 in #11461
  • chore: correct two docstrings that promise a returned tuple by @lxcxjxhx in #11550
  • fix: pin httpx2<2.16.1 so mistralai imports again by @sannya-singal in #11703
  • fix: support openai-codex 0.163.0 and newer for native Codex approvals by @sannya-singal in #11700
  • fix: preserve non-ASCII characters in skill tool outputs by @xingjy10 in #11540
  • fix: qdrant honour batch_size when inserting documents by @HhH666-ux in #11722
  • fix: surface SQLTools fetch errors instead of returning [] by @adityav1709 in #11680
  • fix: report MCPTools.connect() outcome and cleanup on CancelledError by @surlymochan in #11135
  • [fix] Pin Daytona extra below 1.0 and hint a supported SDK by @ningyixi in #11725
  • fix: postgres drop a failed table from MetaData so a retry can create it by @HhH666-ux in #11723
  • fix: update deprecated model defaults by @bunnysayzz in #10822
  • fix: run Super Agent in Slack without users= and add default_role by @harshsinha03 in #11713
  • chore: Release v3.2.1 by @harshsinha03 in #11691

New Contributors

Full Changelog: v3.2.0...v3.2.1

Don't miss a new agno release

NewReleases is sending notifications on new releases.