github agno-agi/agno v3.3.0

2 hours ago

Changelog

Breaking Changes

  • Company Product → Goal: /company/products moves to /company/goals; request/response fields become goal_id and objective; tools, storage, permissions, and filesystem paths use Goal terminology. Python/config aliases such as Product, products=, and products:* remain, but old REST fields return 422 and stored components using Product tool names must be updated. (#11852)
  • Authorization semantics: token scopes now count alongside stored roles by default. Deployments that intend the role store to decide alone must set Authorization(trust_token_scopes=False). Type-wide scopes such as agents:run, teams:run, and teams:*:run no longer cover Super Agent, Platform Builder, or Mini Agent; grant their explicit component scopes or use PLATFORM / agent_os:admin. (#11866, #11868, #11991)
  • Company Task context: executors no longer receive every Company wiki or Goal page automatically. Attach required pages, Tasks, files, or evidence explicitly, or include the context in the Task brief. (#11922, #11925)
  • Routine auto-accept: person-created Routines now enable automatic Task acceptance by default. Send auto_accept=false to preserve manual acceptance. Transition readers must tolerate move entries without target. (#11923)
  • Task state and retries: failed Company Tasks move to in_review; only worker-loss failures receive the additional execution attempt. Custom BaseDb.transition_task() / AsyncBaseDb.transition_task() implementations must accept start_on_request. (#11957, #12042)
  • DalleTools deprecated: use OpenAITools. Retired dall-e-2, dall-e-3, and gpt-image-1 models are rejected, and DALL·E-only sizes are removed. (#11706)

Required v3.3 migration

Run MigrationManager(db).up() or the AgentOS database migration endpoint before serving Company or using existing compaction storage.

  • Company schema and filesystem: renames Product tables/columns to Goal equivalents, makes Goal optional on Projects/Tasks, adds Task context storage, rewrites Routine metadata/tool names, moves legacy Company Manager Routines to Mini Agent, and consolidates Company files into the company namespace. Company routes/files return migration_required_error until complete. PostgreSQL is transactional; SQLite rebuilds Project/Task tables, so custom triggers or views on those tables may need recreation. (#11852, #11854, #11920, #11995)
  • Compaction ownership: existing SQLite/PostgreSQL agno_compactions tables gain an owner_id column so an Agent, Team, and member sharing a session cannot consume each other's summaries. Until migration runs, compaction records cannot be read or stored; runs continue without compaction and log MigrationRequiredError. Existing records keep owner_id=NULL and remain readable through their anchor message after migration. (#11979)
  • Ambiguous legacy files: legacy Company namespaces that cannot be mapped safely are left in place and reported. Resolve them explicitly with move_company_files(..., owners=...). (#11854)

New Features

  • User Roles: first-class Role objects, READ / RUN / PLATFORM scope bundles, Authorization(roles=[...]), and UserDirectory(default_role=...). /authz is available with authorization on SQLite/PostgreSQL even when no roles are declared in code, so admins can create and assign roles at runtime. (#11866, #11991)
  • Built-in component isolation: built-ins require explicit grants, preventing broad type scopes from implicitly exposing Super Agent, Platform Builder, or Mini Agent. (#11868, #11991)
  • Slack sender authorization: Slack can provision each sender through the user directory and enforce roles and disabled-user state on messages, continuations, and Task delivery. (#11869, #11991)
  • Goals and Default Project: Goals are optional for Projects and Tasks. Every Company gets an immutable Default Project for work without another Project, with is_default / has_goal metadata for clients. (#11920)
  • Company filesystem: Company knowledge lives under one company namespace with wiki/, goals/, tasks/, and notes/, visible in the File System page. (#11854, #11860)
  • Declarative AgentOS filesystems: declare stores with AgentOS(filesystem=...), address them through stable filesystem_ids, describe stores for agents, and list reachable namespaces. (#11851, #11860, #11895)
  • Explicit Task context: Tasks can attach wiki pages, Goal pages, other Tasks, and files. Executors receive only the brief, evidence, and attached context. (#11925)
  • Super Agent work lifecycle: Super Agent can create, accept, start, message, follow up on, reassign, cancel, and restore Tasks; track work started by each conversation; and stop background runs. (#11923, #11928, #11929, #11951, #12027)
  • Durable background work: Super Agent starts agents, teams, workflows, and accepted Tasks in the background, reads long results incrementally, and posts completion reports to supported conversations. (#11930, #11932, #11964, #12034)
  • Schedule and Routine controls: Super Agent can pause, resume, and delete schedules/Routines. Administrators can control any schedule and pause Company automation across restarts while preserving manual actions. (#11996, #11999)
  • Needs attention: Super Agent receives a compact summary of proposed work, Tasks awaiting review, and failed attempts before each turn. (#12086)
  • Subscription-backed coding agents: Claude and Codex can use subscription credentials instead of API keys. Codex refresh credentials are encrypted and persisted. (#11961)
  • Repository-independent coding agents: coding agents can start without a repository, clone/preload what work needs, follow the repository's default branch, and authenticate Git operations without storing tokens. (#12024)
  • External agents in Studio: stored external agents can be Team members or Workflow steps. Host execution requires explicit opt-in. (#11967)
  • GitHub pull-request tools: GithubTools reads PR heads, checks, changed files, and individual patches. read_only=True excludes write operations and supplies safe usage guidance. (#11975, #11993)
  • Search earlier conversations: Agents and Teams gain opt-in search_chat_history; Super Agent enables it automatically. (#11976)
  • Team conversation compaction: Teams support opt-in automatic/manual compaction, searchable archives, streaming events, owner-isolated compaction records, and Super Agent integration. (#11979)
  • Inline JSON Schema outputs: StudioTools create/edit operations accept inline agent/team output_schema, validate and persist it, and reconstruct generated Pydantic models. (#11220)
  • AgentOS settings report: GET /config reports effective authorization, roles/default role, user isolation, filesystem, queue, scheduler, tracing, knowledge, audit, public surfaces, media storage, and telemetry without exposing secrets. (#11889, #11972)
  • Sarvam provider: native Sarvam support includes streaming, tools, reasoning, structured output, string model resolution, examples, and an overridable Agno User-Agent. (#11735, #11748)
  • OpenAI image generation: OpenAITools supports multiple images and validates model-specific image settings and response formats. (#11706)
  • Claude effort: Claude coding agents accept SDK-supported effort levels. (#12065)

Improvements

  • Super Agent coordination: reads applicable Company rules/wiki pages, files ordinary and coding Tasks under the right Goal, gives each request its own Task, and avoids unnecessary Company lookups. (#11950, #11952, #11998, #12000, #12003, #12058)
  • Higher manager limits and context: Super Agent and Platform Builder support up to 96 tool calls, Mini Agent inherits the configured limit, and Super Agent receives the current person/time each turn. (#11926, #11983)
  • Coding-agent routing and inspection: unnamed repository work routes to a coding agent, and Super Agent can inspect committed/uncommitted multi-repository sandbox changes before repeating a claim. (#11954, #12021, #12024)
  • Platform Builder execution: builds requested components without redundant confirmation, test-runs eligible workflows, reports output, and runs a newly built component when the next message provides input. (#11953, #11973, #12004)
  • JWT key rotation: JWT_VERIFICATION_KEY accepts comma-separated asymmetric verification keys across REST, WebSocket, and MCP. HMAC remains one secret. (#11865)
  • Developer messages: developer-role messages reach OpenAIChat, OpenAI-compatible providers, and GeminiInteractions; Gemini combines system/developer instructions in order. (#12073)
  • Strict schemas and optional arguments: OpenAI schemas preserve $ref siblings through anyOf; non-strict tools stay non-strict; strict tools preserve nullable optional parameters; Gemini descriptions and Ollama optional types remain intact. (#11924, #11927, #11966, #11980)
  • Media formatting: image/audio/file-only and consecutive user messages work across OpenAI, Claude-family providers, and Bedrock; Gemini passes raw image bytes directly. (#10583, #11935)
  • Linked-work compatibility: linked-work context is sent only to supported providers on their own endpoints, avoiding adjacent-message failures on custom OpenAI-compatible endpoints. (#11936)
  • Chat-history bounds: read_chat_history(num_chats=...) counts exchanges, excludes system/tool leakage, and handles zero consistently. (#11838)
  • Knowledge and readers: zero-result limits are honored; YouTube URL variants work; llms.txt pages deduplicate before limits; web-search limits count source pages; page zero and non-positive CSV sizes are rejected consistently. (#10671, #10678, #10778, #11738, #11828, #11829)
  • Storage and tools: SingleStore honors batch_size; failed SQLite/MySQL DDL can be retried; CSV query output is correctly quoted; Neo4j errors are surfaced instead of becoming empty lists. (#10681, #11724, #11834, #11846)

Bug Fixes

  • Company Task recovery: lost worker attempts are retried, failed Tasks retain actionable review state, accepted chat Tasks remain held until started, brief wording no longer blocks an already-started Task, and cancelling a run that already ended returns 409 after the permission check and saves its Task result. (#11957, #12042, #12085, #12104)
  • Goal/Routine lifecycle: deleting a Goal pauses its Routines; orphaned Routines can be removed; the migration retargets legacy Company Manager Routines to Mini Agent. (#11994, #11995)
  • Finished-work delivery: completion reports carry Team metadata, survive restarts where supported, and are suppressed for clients that cannot display unsolicited runs. (#11932, #12057, #12094)
  • Coding-agent reliability: empty turns fail instead of reporting completion; subscription limits show useful reset information; busy Codex members/steps wait; concurrent users remain isolated; on-demand compaction reports supported/busy/timeout/missing states correctly. (#11956, #11970, #11971, #12022, #12030)
  • Workflow/Team sessions: nested agents no longer take over Workflow sessions or create duplicate loose runs; bare Agent/Team approvals resume after recreation; falsy CEL/step outputs survive serialization. (#10599, #11682, #11962, #11969)
  • Durable HITL: checkpointed streaming Agent/Team runs retain tool executions and approval state; repeated decisions and tool-call IDs are idempotent. (#12064, #12082)
  • Component metadata: stored agents, teams, workflows, and external agents consistently expose component/version/stage metadata; Team responses return stored run metadata. (#12057, #12063)
  • Sandbox errors: OOM kills, silent exits, real AgentCore timeouts, and oversized events now produce accurate bounded errors rather than misleading timeout/exit messages or terminating turns. (#11955, #11990, #12013, #12019)
  • Durable queue: sandbox submissions wake workers after commit; interrupted queued turns retain restart/shutdown causes; queued continuations preserve report semantics; Slack Super Agent turns use the durable queue when configured. (#12052, #12053, #12080, #12085)
  • Slack mentions: a leading or trailing @bot mention is left out of the request, so Super Agent no longer names Projects and Tasks after the bot. (#12103)
  • GitHub rate limits: reads fail immediately with reset timing rather than sleeping for up to an hour. (#11989)

Cookbooks and Internal Maintenance

  • Added a Claude/Codex pull-request workflow, hosted GetYouTubeTranscript MCP example, Sarvam examples, chat-history examples, and inline-schema Studio examples. (#11735, #11785, #11963, #11976)
  • Updated coding-agent contributor guidance, PyJWT cookbook locks, Heabsy documentation, and image-generation examples. (#10680, #11848, #11867)
  • Consolidated durable-queue submission helpers and stabilized media expectations, release CI, and regression tests without intended runtime changes. (#11946, #11977, #11988, #12060, #12079, #12083, #12093)

What's Changed

  • feat: add multi-image and validation to OpenAITools; deprecate DalleTools by @sannya-singal in #11706
  • feat: inline JSON Schema output_schema in StudioTools by @ysolanky in #11220
  • fix: reject page 0 on session, memory, eval and knowledge list routes by @harshsinha03 in #11738
  • [feat] Add Sarvam AI as a model provider by @vikashmaddi-sarvam in #11735
  • [fix] Surface Neo4jTools errors instead of returning [] by @LangerSword in #11724
  • [feat] Send an Agno User-Agent from the Sarvam provider by @vikashmaddi-sarvam in #11748
  • fix: workflow preserve falsy previous_step_content in StepInput.to_dict() by @lkuko in #11682
  • fix: workflow preserve falsy step content (0, False, []) in CEL context by @TINGyu123644 in #10599
  • [cookbook] Add GetYouTubeTranscript hosted MCP example by @pushkarsingh32 in #11785
  • fix: honour batch_size in SingleStore insert and upsert by @ysolanky in #11834
  • fix: count read_chat_history num_chats per exchange by @ysolanky in #11838
  • cookbook: remove hardcoded qwen38 context size from Heabsy README by @sannya-singal in #11848
  • fix: drop failed table from MetaData on MySQL and SQLite retry by @shotsan in #11846
  • fix: reject a non-positive page size in CSVReader.async_read by @DZH166 in #11829
  • [fix] Count source pages toward web search result limit by @lakers-abing in #10678
  • chore: bump pyjwt to 2.15.1 in cookbook lockfiles by @katsugtgz in #10680
  • [fix] Deduplicate llms.txt pages before applying the URL limit by @lakers-abing in #10671
  • [fix] Gemini: pass image bytes to Part.from_bytes instead of a base64 string by @HardMax71 in #10583
  • fix: read the video id from youtu.be, shorts, embed and live links by @DZH166 in #11828
  • [fix] Quote CSV query result fields and headers by @Xuxchloris in #10681
  • [fix] Honor zero result limits in core knowledge searches by @FanouZeng-TT in #10778
  • feat: accept several comma-separated keys in JWT_VERIFICATION_KEY by @ashpreetbedi in #11865
  • feat: declare file systems on AgentOS by @ashpreetbedi in #11851
  • refactor: rename Company Product to Goal by @ashpreetbedi in #11852
  • feat: describe each file system an agent holds by @ashpreetbedi in #11895
  • feat: make Company one file system by @ashpreetbedi in #11854
  • feat: show the Company file system on the File System page by @ashpreetbedi in #11860
  • feat: make a Goal optional on Company work and add the Default Project by @ashpreetbedi in #11920
  • fix: send Company wiki and Goal pages only to Mini Agent by @ashpreetbedi in #11922
  • feat: accept work asked for in chat, and turn Routine auto-accept on by default by @ashpreetbedi in #11923
  • feat: raise the Super Agent tool call limits to 96 and run Mini Agent under the same limit by @ashpreetbedi in #11926
  • fix: drop title beside $ref in OpenAI schemas and accept keywords in a Company test stub by @sannya-singal in #11924
  • feat: give a Company Task run only its brief and the context attached to it by @ashpreetbedi in #11925
  • chore: tell coding agents which tests to run before a push by @ashpreetbedi in #11867
  • feat: show Super Agent the work its conversation started by @ashpreetbedi in #11928
  • feat: message a Company Task from chat in one step by @ashpreetbedi in #11929
  • fix: send the linked-work block only on a listed provider's own endpoint by @ashpreetbedi in #11936
  • feat: Super Agent starts a run in the background and reads it later by @ashpreetbedi in #11930
  • fix: send media without text and user messages in a row correctly on OpenAI, Claude and Bedrock by @ashpreetbedi in #11935
  • feat: Super Agent says when work a conversation started has ended by @ashpreetbedi in #11932
  • test: expect the photo on OpenAI for an image turn with no text by @sannya-singal in #11946
  • fix: Super Agent reads the company's rules before it records or approves work by @ashpreetbedi in #11950
  • fix: a sandboxed run killed for memory says so instead of "exit code -9" by @ashpreetbedi in #11955
  • fix: Super Agent can send a follow-up to a Task a teammate created by @ashpreetbedi in #11951
  • feat: Super Agent reads what a coding agent changed in its sandbox by @ashpreetbedi in #11954
  • fix: Platform Builder runs a workflow it built and says what it returned by @ashpreetbedi in #11953
  • fix: a coding Task added in chat is filed under the Goal that has its repository by @ashpreetbedi in #11952
  • fix: two people can use the coding engineers at the same time by @ashpreetbedi in #11956
  • fix: a Company Task is run again after a restart, and a failed Task leaves In progress by @ashpreetbedi in #11957
  • feat: report AgentOS configuration for the settings page by @ashpreetbedi in #11889
  • fix: Super Agent can read the rest of a long background run result by @ashpreetbedi in #11964
  • feat: Claude and Codex engineers run on subscriptions, not API keys by @ashpreetbedi in #11961
  • fix: an agent nested in a workflow Loop or Parallel no longer takes over the workflow's session by @ashpreetbedi in #11962
  • cookbook: take a pull request to merge-ready with Claude and Codex engineers by @ashpreetbedi in #11963
  • feat: external agents can be workflow steps and team members in Studio by @ashpreetbedi in #11967
  • fix: resume workflow approvals for bare agents and teams by @ashpreetbedi in #11969
  • fix: a workflow step or team member waits its turn for a busy Codex engineer by @ashpreetbedi in #11970
  • test: the cancel-persist guard test gives its stand-ins a workflow mark by @ashpreetbedi in #11977
  • feat: an external agent that reaches its subscription limit says so by @ashpreetbedi in #11971
  • fix: Super Agent builds a component it is asked to build without asking again by @ashpreetbedi in #11973
  • fix: tools sent to the OpenAI Responses API keep their optional parameters optional by @ashpreetbedi in #11966
  • test: the finished-work tests no longer race the person's turn by @ashpreetbedi in #11988
  • feat: Super Agent is told who it is talking to and what time it is, on every turn by @ashpreetbedi in #11983
  • feat: GithubTools reads a pull request's head, its checks, and its changes file by file by @ashpreetbedi in #11975
  • chore: merge release-3.3 into main by @ashpreetbedi in #11991
  • fix: a GitHub read that hits the rate limit returns an error at once, with when it resets by @ashpreetbedi in #11989
  • fix: a sandbox runtime request that fails silently says how it ended by @ashpreetbedi in #11990
  • fix: Super Agent keeps a company rule to what it says by @ashpreetbedi in #11998
  • fix: deleting a Goal pauses its Routines, and a Routine with no Goal can be removed by @ashpreetbedi in #11994
  • fix: the 3.3 migration moves a Routine from the removed company-manager-internal agent to Mini Agent by @ashpreetbedi in #11995
  • feat: GithubTools(read_only=True), and Super Agent reads GitHub before it repeats a claim by @ashpreetbedi in #11993
  • fix: an oversize sandbox runtime event is shortened instead of ending the turn by @ashpreetbedi in #12013
  • fix: Super Agent is told which company wiki pages exist, so a company with no rules costs no lookup by @ashpreetbedi in #12003
  • fix: Super Agent files a Task under the Goal it serves by @ashpreetbedi in #12000
  • fix: an administrator can pause, resume and delete any schedule, and pause Company automation by @ashpreetbedi in #11996
  • fix: AgentCore sandbox no longer says a failed command timed out by @ashpreetbedi in #12019
  • fix: Super Agent runs the component it just built when the next message is input for it by @ashpreetbedi in #12004
  • feat: conversation compaction for Teams and Super Agent by @ashpreetbedi in #11979
  • feat: Super Agent pauses, resumes and deletes schedules in chat, and says why when it cannot by @ashpreetbedi in #11999
  • fix: handle on-demand compaction for coding agents by @ashpreetbedi in #12022
  • feat: agents and teams can search the earlier turns of a conversation with search_chat_history by @ashpreetbedi in #11976
  • fix: Super Agent gives repository work to a coding agent when no worker is named by @ashpreetbedi in #12021
  • fix: return run metadata on team runs by @kausmeows in #12057
  • feat: coding agents start with no repository and clone what the work needs by @ashpreetbedi in #12024
  • fix: a coding agent run that did nothing is not stored as completed by @ashpreetbedi in #12030
  • fix: Super Agent gives a request its own Task, says what it can do, keeps a rule to its case and asks once by @kausmeows in #12058
  • fix: a Task's status read says when it shows part of a longer result by @ashpreetbedi in #12034
  • test: list the optional arguments of get_company_task_status by @harshsinha03 in #12060
  • feat: Super Agent gives a Task to another worker, cancels it, and stops a run by @ashpreetbedi in #12027
  • fix: a Task accepted in Super Agent chat is held until someone starts it by @ashpreetbedi in #12042
  • fix: strict tools keep optional parameters nullable by @ysolanky in #11980
  • fix: mark stored agents, teams and workflows as components wherever they are read by @ysolanky in #12063
  • feat: add an effort setting for Claude coding agents by @ashpreetbedi in #12065
  • fix: Slack turns for Super Agent run on the durable queue by @ysolanky in #12052
  • fix: Super Agent tells the person when a restart cut their last message by @ysolanky in #12053
  • fix: sandbox submissions wake the queue worker by @ysolanky in #12080
  • fix: move $ref with sibling keywords into anyOf for OpenAI strict schemas by @ysolanky in #11927
  • fix: a checkpointed run keeps its tool executions and pauses for approval when streaming by @ysolanky in #12064
  • fix: a decision sent twice is answered once and repeated tool ids keep their executions by @harshsinha03 in #12082
  • fix: release-3.3 failing CI tests by @sannya-singal in #12083
  • refactor: agent and workflow queue accepts use the shared helper by @ysolanky in #12079
  • feat: Super Agent is told what needs attention, and carries fewer tool definitions by @ashpreetbedi in #12086
  • fix: a queued turn is promised its report, and a started Task is not held by a line in its brief about waiting to start by @kausmeows in #12085
  • fix: the started-Task instruction no longer trips the reassign tests by @ysolanky in #12093
  • fix: no finished-work report for a conversation whose client cannot show one by @ysolanky in #12094
  • fix: developer messages reach OpenAIChat, OpenAI-compatible models and GeminiInteractions by @ysolanky in #12073
  • fix: a Task that finishes during a turn is reported once the turn ends by @kausmeows in #12102
  • fix: Slack replies explain Stop and restarts, ignore the bot's own mention, and keep admin-only reports from platform users by @harshsinha03 in #12103
  • fix: cancelling an ended Task run returns 409, upgraded Routines say Goal, and Super Agent names the tools a cut turn saved by @harshsinha03 in #12104
  • feat: release 3.3 by @ysolanky in #11877

New Contributors

Full Changelog: v3.2.1...v3.3.0

Don't miss a new agno release

NewReleases is sending notifications on new releases.