JavaScript SDK Changelog
Release notes and version history for the Agentuity JavaScript SDK
This page documents the release history of the Agentuity JavaScript SDK.
v0.0.145
Released: September 8, 2025
Changes
- Fixed: Fix malformed From headers in email replies that caused parsing errors in backend (PR #174)
v0.0.144
Released: August 28, 2025
Changes
- Fixed: Issues between streaming for node and bun and keep alive differences
v0.0.143
Released: August 28, 2025
Changes
- Changed: Use traceloop for otel for consistency across Python and TS SDK's (PR #170)
v0.0.142
Released: August 26, 2025
Changes
- Changed: Increase api timeout from 20 seconds to NEVER (PR #168)
v0.0.141
Released: August 25, 2025
Changes
- Changed: Restructured slack IO and payloads (PR #164)
- Fixed: Fix email attachment parsing for Slack-formatted filenames (PR #160)
- Changed: Use sessionId instead of runId for AgentContext to better align with how we reference it (PR #165)
v0.0.140
Released: August 19, 2025
Changes
- Fixed: Fix cloud runs for teams agents with improved credential validation and metadata-driven configuration (PR #162)
v0.0.139
Released: August 18, 2025
Changes
- Added: Teams support (PR #161)
v0.0.138
Released: August 8, 2025
Changes
- Fixed: Fix the sms error (PR #158)
v0.0.137
Released: August 7, 2025
Changes
- Added: Expose ts and ts_thread in the payload for Slack IO integration (PR #157)
v0.0.136
Released: August 4, 2025
Changes
-
Changed: The AgentResponse.stream() method now supports both function and generator transformers while maintaining full backward compatibility! The enhancement includes:
Original Requirements:
- Generic object streaming with automatic JSON conversion
- Runtime type detection between ReadableDataType and objects
- Auto-conversion to JSON newline format for objects
- Intelligent content-type detection (application/json for objects)
- Full backward compatibility
Function Transformer Enhancement:
- Optional transformer function as 4th parameter
- Data transformation and filtering capabilities
- Type safety with generic types
- Error handling and edge cases
Generator Transformer Enhancement:
- Support for generator functions as alternative syntax
- One-to-one transformation with yield syntax
- Filtering support: generators can yield nothing to skip items
- Same capabilities as regular functions but with generator syntax
Key Benefits:
- Maximum Flexibility: Choose between function or generator syntax
- Developer Choice: Use familiar function syntax or expressive generator syntax
- Consistent Behavior: Both approaches work identically
- Type Safety: Full TypeScript support with generic types
- Performance: Efficient one-to-one transformations
- Backward Compatibility: Existing code continues to work unchanged
Test Coverage:
- 26 test cases covering all functionality
- Function transformer scenarios (8 tests)
- Generator transformer scenarios (7 tests)
- Backward compatibility verified
- Error handling tested
- Mixed scenarios validated
- Both ReadableStream and AsyncIterable support
Files Modified:
- src/types.ts - Enhanced interface with generator support
- src/router/response.ts - Full implementation with generator detection and processing
- test/router/response-stream.test.ts - Comprehensive test coverage
The Agentuity SDK now provides the most flexible and powerful streaming API that supports object auto-conversion, intelligent content-type detection, data transformation, filtering, and both function and generator transformer syntaxes! (PR #155)
v0.0.135
Released: August 4, 2025
Changes
- Added: Slack IO integration with support for parsing and replying to Slack messages (PR #153)
v0.0.134
Released: July 28, 2025
Changes
- Added: Telegram IO integration with support for parsing and replying to Telegram messages (PR #151)
v0.0.133
Released: July 16, 2025
Changes
- Added: Enable the ability to use custom email domains for email replies (PR #149)
Contact us if you would like to enable custom email addresses to your organization.
v0.0.132
Released: July 14, 2025
- Changed: DevMode fallback values for headers, url and method in metadata (PR #148)
v0.0.131
Released: July 8, 2025
- Added: Support for bulk delete in vector storage - The
vector.delete()
method now accepts multiple keys as variadic arguments, allowing efficient bulk deletion of vectors. Supports both single key deletion (delete(name, key)
) and bulk deletion (delete(name, key1, key2, key3)
) patterns. This is more efficient than making multiple individual delete calls. (PR #145) - Changed: Improved documentation of vector search parameters and tightened vector search metadata type definition (PR #146)
v0.0.130
Released: June 30, 2025
- Changed: Shortened Discord interface from
discordMessage
todiscord
for improved usability (PR #144)
v0.0.129
Released: June 30, 2025
- Added: Discord IO integration with support for parsing and replying to Discord messages (PR #130)
- Fixed: Release stream lock in all cases especially error scenarios (PR #136)
- Fixed: Issue with handoff not passing data from previous request (PR #139)
v0.0.128
Released: June 19, 2025
- Fixed: Release stream lock in all cases especially error scenarios (PR #136)
v0.0.127
Released: June 19, 2025
- Added: SMS Twilio IO functionality with support for parsing and replying to SMS messages (PR #124)
v0.0.126
Released: June 16, 2025
- Added: Enhanced ObjectStore API with additional headers and metadata support (PR #133)
- Changed: Better handling for yield / generators (PR #134)
v0.0.125
Released: June 16, 2025
- Added: Support for new object store API
- Fixed: Description for similarity property for vector search
- Fixed: Issue with incorrect type for Vector delete API
v0.0.124
Released: June 9, 2025
- Changed: Refactored Bun handler to consolidate logic and ensure all paths go through unified method (PR #128)
v0.0.123
Released: June 9, 2025
- Fixed: Improved handling of requests for common static files and enhanced support for multiple path segments and different HTTP methods (PR #126)
v0.0.122
Released: June 9, 2025
- Added: Support for large email attachments (PR #123)
v0.0.121
Released: May 25, 2025
- Added: Support for agents to be able to reply to incoming email (PR #118)
v0.0.120
Released: May 24, 2025
- Added: Support for handling inbound email trigger type (PR #117)
v0.0.119
Released: May 21, 2025
- Logger message arg accepts number type (PR #113)
- Prevent multiple logs for the same exception (PR #115)
v0.0.118
Released: May 19, 2025
- Improve error handling (PR #111)
v0.0.117
Released: May 19, 2025
- Improvement: Better type handling for metadata where it can be any valid JSON object (PR #110)
v0.0.116
Released: May 18, 2025
- Fixed issue where empty POST body would cause a hang (PR #109)
v0.0.115 ⚠️
Released: May 14, 2025
- Added AGENTUITY_SDK_KEY (PR #107)
The environment variable AGENTUITY_API_KEY
has been renamed to AGENTUITY_SDK_KEY
for better clarity and consistency. You will need to update your environment variables and code references accordingly.
If you're using the Agentuity CLI, it will detect this change and offer to automatically migrate your code references for you.
For example, you'll need to make the following changes in your code and environment variables:
- process.env.AGENTUITY_API_KEY
+ process.env.AGENTUITY_SDK_KEY
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 Agentuity SDK v0.0.115 has renamed AGENTUITY_API_KEY to AGENTUITY_SDK_KEY.
Please find all instances of AGENTUITY_API_KEY in my code and replace them with AGENTUITY_SDK_KEY.
v0.0.114
Released: May 10, 2025
- Fixed issue with Vector get type being wrong (PR #106)
v0.0.113
Released: May 8, 2025
v0.0.112
Released: May 2, 2025
v0.0.111
Released: May 1, 2025
- More fixes related to gzip compression when using keyvalue
- Change the name of the span when doing a remote solution vs remote execution
- Update to use versioned routes for API services (PR #97)
v0.0.110
Released: April 29, 2025
- In cloud we must bind to all addresses (PR #96)
v0.0.109
Released: April 29, 2025
- Add the ability for an agent to return a Response object directly to provide more flexibility to integrate with existing APIs and protocols (PR #93)
- Bind explicitly to ipv4 when creating server (PR #94)
v0.0.108
Released: April 25, 2025
- Fixed issue when the keyvalue returns a gzip encoded value (PR #92)
v0.0.107
Released: April 25, 2025
- Fix issue with chunking and streaming text not matching in some cases (PR #91)
v0.0.106 ⚠️
Released: April 25, 2025
- 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 thestream
property of theAgentResponse
object. - The
trigger
property of theAgentRequest
object will have the valueagent
when the request is invoked by another agent. - The
AgentContext
object now has ascope
property that will have the value oflocal
when the context is local orremote
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 belocal
. - 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.
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 #87.
For example, the following code changes are required to get the request data as text:
- const text = req.data.text;
+ const text = await req.data.text();
For example, to get the request data as JSON, you need to make the following changes:
- const json = req.data.json;
+ const 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-js/pull/87
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.105
Released: April 23, 2025
- Add support for remote agent handoff (PR #85). This means you can now handoff the request to another agent outside of your current project in the same organization or even outside of your organization if the Agent is public. The agent-to-agent invocation is secured automatically and doesn't require any additional configuration or authentication. Internally, the SDK will request a one-time authorization token to invoke the agent on your agent's behalf.
v0.0.104
Released: April 23, 2025
- Add support for remote agent-to-agent invocation (PR #83). This means you can now invoke another agent outside of your current project in the same organization or even outside of your organization if the Agent is public. The agent-to-agent invocation is secured automatically and doesn't require any additional configuration or authentication. Internally, the SDK will request a one-time authorization token to invoke the agent on your agent's behalf.
v0.0.103
Released: April 23, 2025
- Refactor to support binary streams instead of intermediate JSON protocol (PR #81)
- Improved handling of HTTP native protocol
- Added support for passing in the runId
- Better handling of stream data and binary content
v0.0.102
Released: April 16, 2025
- Fix issue where the child span had the wrong parent on outbound requests for agent-to-agent (PR #79)
v0.0.101
Released: April 18, 2025
- Add agent context to console logger when running inside agent scope (PR #77)
v0.0.100
Released: April 15, 2025
- Add permissions
- Add more otel trace context headers, remove old trace provider (PR #72)
- Automatically base64 encode welcome prompts (PR #73)
- Fix NodeJS issue where the buffer isn't correctly sending the blob but works fine in Bun version (PR #74)
- Debug github workflow git tag issue
v0.0.99
Released: April 14, 2025
- More debug for github workflow
v0.0.98
Released: April 13, 2025
- More debug for github release tags
v0.0.97
Released: April 12, 2025
- Attempt to fix issue with github workflow not pushing tag after release
v0.0.96
Released: April 11, 2025
- Fix issue with node keyvalue not correctly handling the buffer upload
v0.0.95
Released: April 10, 2025
- Add more otel trace context headers, remove old trace provider
- Base64 encode the welcome prompts
v0.0.94
Released: April 8, 2025
- Fix regression in otel traces missing for AI SDK by change in opentelemetry-api version change
v0.0.93
Released: April 7, 2025
- Add support for agent inspection discovery (PR #70)
v0.0.92
Released: April 5, 2025
- Add data and markdown methods to AgentResponse interface and implementation
v0.0.91
Released: April 3, 2025
- Use new agentuity sdk api
- Add GitHub workflow for npm package release triggered by version tags (PR #53)
v0.0.90
Released: April 1, 2025
- Fix Vector delete api
v0.0.89
Released: March 25, 2025
- Add the agentName to the log attributes (PR #33)
- Console Logger: show max depth for any objects (PR #32)
- When stream is requested but the response isn't a stream, chunk up the response data into chunks and smooth out as if streamed (PR #31)
- Fixed issue with buffer underrun getting sent and issue with json encoding (PR #34)
v0.0.88
Released: March 21, 2025
- Improve loading project when using node or bun directly vs using start script or agentuity dev
- Fix mismatch between local run vs remote run with HTTP headers as property of metadata vs the metadata object
v0.0.87
Released: March 18, 2025
- Slight improvement in location of when context.logger for agent is created
v0.0.86
Released: March 16, 2025
- Add support for agentId on context.logger
- Fix issue with underrun on base64 stream
v0.0.85
Released: March 15, 2025
- Streaming Support including SSE
v0.0.84
Released: March 14, 2025
- Stream IO Input: add new facility to support stream io for input data (PR #23)
- Release with new transport model
v0.0.83
Released: March 12, 2025
- Fix devmode logging when devmode environment is set by live (PR #24)
v0.0.82
Released: March 12, 2025
- KeyValue compression only on upload, not download (PR #20)
v0.0.81
Released: March 11, 2025
- Add support for compressing keyvalue entries (PR #19)
- Better format log message if the first parameter is an object (PR #18)
v0.0.80
Released: March 10, 2025
- Refactored the types to make it easier to use
- Fixed various small issues
v0.0.79 and earlier
For earlier versions, see the CHANGELOG.md file in the repository.
Need Help?
Join our Community for assistance or just to hang with other humans building agents.
Send us an email at hi@agentuity.com if you'd like to get in touch.
Please Follow us on
If you haven't already, please Signup for your free account now and start building your first agent!