Amazon Neptune introduces Neptune Graph Sessions, smaller graphs designed for agents that scale to zero and resume automatically
Amazon Neptune launches Neptune Graph Sessions, a compute mode for agents that scales memory and CPU automatically and pauses billing when idle.
Amazon Neptune has introduced Neptune Graph Sessions, a new compute mode tailored for agents that automatically adjusts memory and CPU resources based on workload demands. Unlike provisioned graphs, which require a minimum of 16 m-NCU, Graph Sessions allows users to assign a dedicated graph to each agent, user, or task without incurring this fixed cost. This feature is particularly useful for applications such as GraphRAG assistants, AI agents, and per-user analytics, where separate graphs are often needed for individual conversations or tasks.
Each Graph Sessions graph can be configured to start with either 4 s-NCU or 8 s-NCU of working memory, providing flexibility in resource allocation. The system includes built-in headroom, doubling the available memory to 8 s-NCU or 16 s-NCU respectively, ensuring that initial sizing does not need to account for peak usage. Billing is based on actual memory consumption, meaning graphs that operate within the smaller size are billed accordingly, avoiding over-provisioning costs.
A key advantage of Neptune Graph Sessions is its ability to scale to zero when idle, automatically pausing after 15 minutes of inactivity. The graph resumes within seconds upon the next query, with data retained to avoid reloading. This eliminates the need to pay for running costs during periods of inactivity while maintaining data persistence, reducing overall expenses for sporadic workloads.
Graph Sessions graphs can be created and managed through the AWS Management Console, AWS CLI, or AWS SDKs, and queried using openCypher, the same language supported by Neptune Analytics. This integration ensures compatibility with existing workflows and tools, enabling users to leverage the new compute mode without additional complexity or changes to their query methods.