Follow us on to be up
to date with the latest changes.

v1.20.0

Elements

// January 14, 2025

Chat threads and history

Gram Elements now supports chat threads and historical message tracking. This release introduces conversation threading capabilities, allowing users to maintain context across multiple interactions and access previous messages within a session. This enables more natural, continuous conversations with MCP-powered chat experiences.

Features

  • Chat threads and history - Introduces conversation threading and historical message support to the Elements library for persistent chat experiences.

Bug fixes

  • Charting improvements - Enhanced charting functionality with styling improvements and increased reliability. The plugin prompt expansion improves model output validity for Vega specifications.
Sagar Batchu
Sagar Batchu
View on GitHub

v1.19.0

Elements

// January 13, 2025

Bundled assistant-ui dependency

Gram Elements now bundles the assistant-ui dependency internally rather than externalizing it. This change simplifies the installation process and reduces potential version conflicts when integrating Gram Elements into existing projects. The library is now more self-contained, making it easier to get started.

Features

  • Bundled assistant-ui - The assistant-ui dependency is no longer externalized, simplifying installation and reducing peer dependency requirements.
  • Install script - Added an install script to the Elements package for easier setup.

Bug fixes

  • Changelog fixes - Resolved issues with the Elements changelog that prevented proper updates in previous releases.
Sagar Batchu
Sagar Batchu
View on GitHub

v1.18.0

Elements

// January 9, 2025

Improved chart plugin reliability

This release focuses on stability improvements for the charting functionality in Gram Elements. The chart plugin has been enhanced to handle streaming data more reliably, with fixes for JSON parsing synchronization issues that could occur during real-time data updates.

Bug fixes

  • Chart plugin streaming fix - Resolved synchronization issues with chart plugin JSON parsing during streaming operations, improving reliability when rendering dynamic visualizations.
  • Modal variant display fixes - Corrected minor display issues affecting the modal variant component.
Sagar Batchu
Sagar Batchu
View on GitHub

v1.17.0

Elements

// January 7, 2025

Client-side chat requests

Chat requests in Gram Elements now execute client-side, simplifying the architecture and improving responsiveness. The chat handler has been removed from the server package as chat requests now happen directly from the client. A new session handler has been introduced for backend implementations that need server-side session management.

Features

  • Client-side chat requests - Chat requests now execute directly from the client, reducing server-side complexity and improving response times.
  • Session handler - A new session handler has been added to the server package for consumers who need backend session management.

Bug fixes

  • TypeDoc improvements - Fixed TSDoc comments for multiple type definitions in the Elements library, improving developer documentation.
Sagar Batchu
Sagar Batchu
View on GitHub

v1.16.0

Elements

// January 5, 2025

Introducing Gram Elements

Gram Elements is a library of UI primitives for building chat-like experiences for MCP Servers. Gram Elements Chat Demo The first release of Gram Elements includes:
  • An all-in-one
    component that encapsulates the entire chat lifecycle, including built-in support for tool calling and streaming responses
  • A powerful configuration framework to refine the chat experience, including different layouts, theming, and much more

Getting started

Here's a preview of adding Elements to a chat application:
Check out the Gram Elements documentation to get started.
Sagar Batchu
Sagar Batchu
View on GitHub