Skip to content

blog: data primitive for the agent loop post outline.#4055

Merged
thruflo merged 12 commits intomainfrom
thruflo/data-primitive-for-the-agent-loop-blog-post
Apr 8, 2026
Merged

blog: data primitive for the agent loop post outline.#4055
thruflo merged 12 commits intomainfrom
thruflo/data-primitive-for-the-agent-loop-blog-post

Conversation

@thruflo
Copy link
Copy Markdown
Contributor

@thruflo thruflo commented Mar 25, 2026

Blog post focusing on the new "data primitive for the agent loop" framing of Durable Streams:
https://deploy-preview-4055--electric-next.netlify.app/blog/2026/04/08/data-primitive-agent-loop

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 25, 2026

Deploy Preview for electric-next ready!

Name Link
🔨 Latest commit 5c1ed48
🔍 Latest deploy log https://app.netlify.com/projects/electric-next/deploys/69d6ab02a212ef0008a24250
😎 Deploy Preview https://deploy-preview-4055--electric-next.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@thruflo thruflo force-pushed the thruflo/data-primitive-for-the-agent-loop-blog-post branch from 9e2ee5b to 7972c02 Compare April 6, 2026 21:47
@thruflo thruflo force-pushed the thruflo/data-primitive-for-the-agent-loop-blog-post branch from 7972c02 to 2113586 Compare April 8, 2026 03:34
thruflo and others added 8 commits April 7, 2026 20:36
Drop the About link at 768-1360px and shift each link-padding,
social-icon and DocSearch-placeholder compression bucket up one step
on pages with a sidebar, so the nav fits without knocking the CTA off.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keeps the menu from knocking the CTA off the right of the screen
in that range on home/non-sidebar layouts.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
On sidebar pages the nav is tighter, so drop the durable-streams,
tanstack and pglite icons in that range to leave room for X, Discord
and GitHub alongside the menu and CTA.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Drop the JS-based pipe geometry, ResizeObserver, and log translate
dance in favour of a CSS container-query layout. Positions for the
pipe and log are now expressed in cqw units derived directly from the
spawn path's viewBox coordinates, so the pipe stays flush to the
spawn slice and the log's first entry bar without runtime measurement.

Also wraps the animation in a Card for visual framing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use an IntersectionObserver to drive start/stop so the animation only
runs while it's on screen. The composable now uses a supervisor loop
that reconciles a wantRun intent flag — scrolling out then back in
picks up the new intent after the prior cycle unwinds and kicks off a
fresh cycle, so the animation reliably restarts each time it returns
to view.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@thruflo thruflo marked this pull request as ready for review April 8, 2026 18:37
Copy link
Copy Markdown
Contributor

@samwillis samwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. One small thing on offsets, and a note that forking isn't out yet.

Neither a blocker though

Durable Streams are:

- **persistent** so agent sessions are durable and survive disconnects and restarts
- **addressable** so people, agents and systems can find them (every stream has a URL, every position an opaque monotonic offset)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

offsets are not monotonic at the moment, they are opaque.

- **addressable** so people, agents and systems can find them (every stream has a URL, every position an opaque monotonic offset)
- **reactive** so humans and agents can collaborate on the same session in real time
- **replayable** so you can join, audit or restart from any point
- **forkable** so users and agents can branch sessions to explore alternatives
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forking is planed to land tomorrow

@thruflo thruflo merged commit c4cd510 into main Apr 8, 2026
4 of 5 checks passed
@thruflo thruflo deleted the thruflo/data-primitive-for-the-agent-loop-blog-post branch April 8, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants