Advance, then query
Refresh only after the projection reports new work instead of polling the full result set.
Agent primitivesChanges
Read a lightweight change feed, then query only when a live view has moved. Changes use the connection you already have and turn wasteful polling into a precise signal.
# readings_v1 has change notifications enabled
feed = await laser.watch(index="readings_v1", from_end=True)
# wait for the view to advance, then query
changes = await feed.poll_within(10_000)
for watched in changes:
print(watched.change.rows, "row(s) landed")Reactive advancement
Refresh only after the projection reports new work instead of polling the full result set.
Change records describe progress without duplicating the projection data itself.
Watch and query through the same SDK boundary already used by the application.
Combine transport, prompt assembly, recall, relationships and live views without stitching together disconnected systems.
Laser Stack runs the whole stack locally in Docker. LaserData Cloud runs it for you.