github ag-ui-protocol/ag-ui release/2026-11-27
Release 2026-11-27

4 hours ago

Packages Published

TypeScript (npm) - published at 22:38:33 UTC

Package Version Install
@ag-ui/mastra 2.1.0 npm install @ag-ui/mastra@2.1.0

@ag-ui/mastra@2.1.0

  • Added registerCopilotKit entry at @ag-ui/mastra/copilotkit-2 for CopilotKit 2.x, importing the runtime from @copilotkit/runtime instead of the removed @copilotkit/runtime/v2.
  • Both CopilotKit entries share one route implementation, so routes behave identically.
  • Optional peer dependency now accepts ^1.76.0 or 2.x.
  • Adapter version is now declared in capabilities identity.
  • Added per-run guidance and capability discovery. In-process agents on supported Mastra versions enable run guidance by default. Run guidance setup
Breaking changes
  • If a custom tool or prompt callback on an in-process agent reads OpenBot standing role or OpenBot granted tools guidance from requestContext.get("ag-ui").context, set runGuidance: false to keep those entries available to that callback. When guidance is enabled, the adapter handles the two reserved entries at the model boundary. Ordinary context still reaches callbacks.
  • The adapter creates a fresh RequestContext per run with either setting and copies host-provided values into it. If your code relied on the adapter writing run context into the original object, read it from the RequestContext passed to the callback instead.

Python (PyPI) - published at 22:38:34 UTC

Package Version Install
ag-ui-langgraph 0.1.0 pip install ag-ui-langgraph==0.1.0

ag-ui-langgraph@0.1.0

  • The packaged and Dojo FastAPI chat factories enable per-run guidance by default. Existing LangGraphAgent endpoints retain their current prompt handling. To enable run guidance on an existing LangChain chat graph, rebuild it with RunGuidanceMiddleware and serve it through an adapter with RunGuidanceAgentMixin. See Run guidance for existing graphs.
  • Guidance can be opted out of, and snapshot echoes are scrubbed.
  • Stale guidance is scrubbed from state snapshots.
  • Preserves legacy message order and default checkpointing.
  • Documentation added for run guidance, keyless listeners, and cross-host encryption.
  • Run guidance behavior and state snapshot handling changed; verify guidance opt-out and snapshot contents after upgrade.

Don't miss a new ag-ui release

NewReleases is sending notifications on new releases.