github agno-agi/agno v2.6.15

latest release: v2.6.16
9 hours ago

Changelog

New Features:

  • Custom, Scoped, Identity-Aware MCP Tools: The AgentOS MCP server (served at /mcp) is now a real extension point, configured through a single MCPServerConfig object. You can register custom tools (plain callables or Agno @tool/Functions), scope the built-ins (enable_builtin_tools=False, or filter with include_tags/exclude_tags), inject the authenticated caller identity into a tool (declare user_id and AgentOS supplies the JWT subject while hiding it from the client schema), gate calls with a one-line authorize function, and opt into built-in DNS-rebinding protection via allowed_hosts/allowed_origins. All with data, no custom middleware classes. Fully backward compatible: without mcp_config, all built-in tools register exactly as before.

Bug Fixes:

  • Call-Site Dependencies Merge: Call-site dependencies passed to agent.run()/team.run() replaced the configured Agent.dependencies/Team.dependencies wholesale, which dropped prompt-template vars over interfaces that always pass call-site dependencies (e.g. Slack/WhatsApp). They now merge({**configured, **call_site}, call-site wins on conflict), matching how metadata/knowledge_filters already merge.

What's Changed

Full Changelog: v2.6.14...v2.6.15

Don't miss a new agno release

NewReleases is sending notifications on new releases.