# Agno v3.2.1 adds session compaction and Company file APIs

published: 2026-11-17T18:05:42.372Z
topic: frameworks
source: https://github.com/agno-agi/agno/releases/tag/v3.2.1
url: https://aiagentnews.io/stories/agno-v3-2-1-adds-session-compaction-and-company-file-apis

Agno has released v3.2.1, adding API routes that list session compactions and read Company task files and shared notes. The release also includes fixes across several tools, including search error handling, Qdrant batching and Slack permissions.

According to the changelog, GET /sessions/{session_id}/compactions lists a session's compactions on SqliteDb and PostgresDb, newest first, with the message count each one replaced and token counts before and after. New Company routes, GET /company/tasks/{task_id}/files and GET /company/notes, let callers read a task's files and the shared notes, and a /{path} route reads a single file.

LinearTools, DiscordTools and ModelsLabTools now accept a timeout that applies to every request, and ExaTools takes several new options, including include_text, exclude_text and highlights. MCPTools.connect() returns True when connected and False when not, and Slack's default_role gives members not listed in users= the permissions of a managed role.

Fixes include SQLTools always using a db_engine passed in, OpenRouter, Perplexity and Requesty using the model's own output limit when max_tokens is unset, and Qdrant's insert honoring batch_size. Search errors in WebSearchTools and DuckDuckGoTools now come back as a JSON result.

## Why it matters if you build agents

Teams that review session history on SqliteDb or PostgresDb can now pull compaction records straight from the API. Code that calls MCPTools.connect() can branch on its True or False result, and failed or cancelled connections now close the connection and any stdio server they started.

Slack deployments under AgentOS(authorization=...) can run Super Agent without listing every member in users=. Actions that need a permission are still refused unless default_role grants it, so check that role before rolling this out.
