By Mithilesh Gaurihar. Last verified: November 2026.
A finance team asks an agent why refunds spiked last month. The answer is spread across orders, payments and support tickets in Snowflake. The agent has to read all of it, join it, search the ticket notes and keep its working tables somewhere, without ever changing the warehouse. Then a second agent has to pick up those findings and write the report.
Each agent needs a database of its own, and both need a way to share results. Hotdata gives each agent its own database in one call. On the Hotdata side, it can also fork a starting dataset to many agents, or attach a shared catalog of reference data. RocketRide’s Hotdata node connects the two: add it to any RocketRide agent and that agent gets its own Hotdata database, with every run recorded so you can replay it.
RocketRide is an AI meta-harness with an enterprise-grade runtime built on C++, for companies and pro-builders building durable AI at production scale.
This post walks through how the node manages database lifecycles, shares data across agents and guards writes.
The problem
A single agent task can run many queries in quick succession, and it mixes SQL, vector and full-text search. Warehouses built for human-paced batch work get slow and expensive under that load. Multi-agent workloads add two more needs: each agent wants isolated working storage that doesn’t touch production data, and agents working on the same job need to share results.
Hotdata
Hotdata is a high-concurrency database for agents. Storage, compute, catalog and query engine come in one system, and compute spins up per task and shuts down after. A single SQL endpoint handles analytics, vector, full-text and geospatial queries. It’s built on Apache DataFusion, Apache Parquet and DuckLake, and runs managed or in your own VPC. Benchmarks: Hotdata vs Neon and Hotdata vs ClickHouse.
How the node works
The node works two ways. As a step in a RocketRide app, it takes plain-language questions and returns tables or answers. As a tool, an agent calls it directly: get_data answers a question, load_data loads rows and build_index adds a search index. Raw SQL through execute is off by default. It only works once someone turns on “Allow execute”, a gate that stops agents running scans that are billed by how much data they read. For when to use Hotdata and when to use another database node, see the Hotdata node in the RocketRide documentation.
In the refund example, the first agent would call load_data to bring the rows it needs into its own database, call build_index on the ticket notes, then ask get_data why refunds spiked. With “Allow execute” on, it can also run a bm25_search query over the notes directly.
A database per run
By default, the node creates a database the first time a run uses it, whether to load data or to query, and deletes it when the run ends. Each run is isolated from every other run. A 24-hour TTL covers the case where a run crashes before cleanup.
Sharing, forks and catalogs
For agents that need to share results, create a database outside RocketRide and pass its ID to every run. Runs attach to it instead of creating their own, and the node never deletes a database it attached to. Forks and catalogs are set up on the Hotdata side; the node doesn’t create them. Hotdata supports forking a database, to give each agent its own copy of a starting dataset, and attaching a global catalog to many databases at once for shared reference data.
Two things to know about an attached database. The node never deletes it, so its lifetime is up to whoever created it. And an attached run can’t build indexes on it, so build them when you create the database.
To make the first agent’s findings land in the shared database, wire the agent’s answers into the node’s answers lane instead of asking the agent to call load_data. Agents often skip that last step; the wiring doesn’t.
Guarding writes
Write protection is enforced in code, not in the prompt, and it’s enforced twice. The SQL surface is read-only: the node refuses INSERT, UPDATE, DELETE and schema changes and takes one statement per call, and Hotdata’s server refuses the same statements again. Connected sources such as Snowflake, Postgres and Iceberg are read-only too.
The load tool is the only way data gets in, and by default it only appends or upserts. Replace and delete modes stay off until someone enables “Allow destructive loads” on the node. Otherwise an agent asked to remove bad rows could just reload the table without them.
Getting started
You need a Hotdata API key, a workspace ID and a key for the model that writes SQL:
ROCKETRIDE_DB_HOTDATA_KEY=<your Hotdata API key>
ROCKETRIDE_DB_HOTDATA_WORKSPACE_ID=<your workspace ID>
ROCKETRIDE_ANTHROPIC_KEY=<your Anthropic key>
Then open examples/db_hotdata.pipe, which connects a chat input to the Hotdata node. That example only asks questions and has no way to load data, so a fresh database would have nothing to answer from. Load a small dataset into a Hotdata database through Hotdata’s API first, then set the node’s database_id to it so the example queries that data. Every run is recorded, so you can replay it to see each query the model wrote. The Hotdata side of the setup is in Using Hotdata in RocketRide.


Top comments (0)