Python SDK Changelog

Release notes and version history for the Agentuity Python SDK

This page documents the release history of the Agentuity Python SDK.

v0.0.82

Released: April 30, 2025

Changes

  • Add support for streaming data to and from agents. This includes streaming data to the agent via the data object and streaming data from the agent via the stream property of the AgentResponse object.
  • The trigger property of the AgentRequest object will have the value agent when the request is invoked by another agent.
  • The AgentContext object now has a scope property that will have the value of local when the context is local or remote when agent is being invoked by another agent remotely. In the case of agent-to-agent invocation or handoff within the same project, the scope will be local.
  • Deprecated the local /run/:agentId route since the updated /:agentId route now supports streaming data to and from the agent directly. This route will be removed in a near future release.

⚠️ Breaking Changes

The data object of AgentRequest has changed to support fully streaming data and this required a breaking change. Most of the property accessors are now async functions to support the streaming use case. You can read more about this change in Pull Request #38.

For example, the following code changes are required to get the request data as text:

- text = req.data.text;
+ text = await req.data.text();

For example, to get the request data as JSON, you need to make the following changes:

- json = req.data.json;
+ json = await req.data.json();

See the following documentation Pull Request for specific SDK changes.

If you're using an Agentic code editor (such as Cursor, Windsurf, etc.), you can use this prompt to update your code with these changes:

The agents in the agents folder use an older version of the Agentuity SDK which assume the req.data object has properties on it like req.data.json

The new way to do this is with a promise. eg. `await req.data.json()`

The breaking change is here:  https://github.com/agentuity/sdk-py/pull/38

Review this PR, make a plan to change the agents to the latest agentuity SDK with async await support, and execute on it.

v0.0.77

Released: April 7, 2025

Added

  • Add comprehensive test suite with pytest (#27)
  • Expand test coverage for logger, context, and langchain instrumentation (#28)
  • Add agent inspect endpoint support (#29)

v0.0.76

Released: April 3, 2025

Fixed

  • Fix Langchain instrumentation and add openai-agents dependency (#24)

v0.0.75

Released: April 1, 2025

Added

  • Add data and markdown methods to AgentResponse class (#26)
  • Add PyPI release workflow (#22)

Changed

  • Update logo URL from relative to absolute path (#19)
  • Remove 'work in progress' warning from README (#20)
  • Update Agentuity gateway URL from /llm/ to /gateway/ (#21)
  • Update to use AGENTUITY_CLOUD_PORT with fallback to PORT (#23)
  • Use transport instead of API for hosted SDK api (#25)
  • Update CHANGELOG.md for v0.0.74 (#18)

v0.0.74

Released: March 25, 2025

Added

  • Better support for OpenAI and Agents framework (#16)
  • Add agentName to logger (#17)

v0.0.73

Released: March 19, 2025

Fixed

  • Fix issue with non-stream functionality (#15)

v0.0.72

Released: March 16, 2025

Added

  • Add the @agentuity/agentId to the context.logger for an agent (#13)

Fixed

  • Fix import issue and add ruff for formatting and linting (#14)

v0.0.71

Released: March 16, 2025

Added

  • SSE and Stream support with new stream() method and improved documentation (#12)

v0.0.70

Released: March 13, 2025

Added

  • Stream IO Input: add new facility to support stream io for input data (#10)

v0.0.69

Released: March 10, 2025

Changes

  • Implemented Vector and KeyValue services
  • Reorganized types into logical files
  • Added support for local handoff
  • Improved error handling
  • Added support for dynamic return types
  • Added get_agents method on context
  • Moved autostart into main package
  • Added tracing for remote agent calls
  • Added httpx dependency for improved HTTP client support

On this page