From agent to application.
Agentdock
Building an AI agent is the easy part. Getting it into a product, with every step streaming, approvals before risky actions and saved conversations, is where most of the work goes. Agentdock handles that layer: it serves a LangGraph agent as one typed event stream, and Agentdock UI gives you a custom chat interface on top. You don't wire the front end to the back end by hand: ask your coding agent, and it reads the Agentdock guide, builds the chat and connects it. I designed it, built it and maintain it as open source under the MIT licence.

The problem
Why it exists
Frameworks like LangGraph are good at running an agent: the model, its tools, checkpoints and pauses. They stop at the edge of your app. To put that agent in front of real users, every team rebuilds the same layer: streaming each step to the screen, turning internal events into something a client understands, coping with slow connections and closed tabs, pausing for a person to approve an action, and drawing all of it in a chat interface.
That glue code is where agent projects stall. It is repetitive, easy to get subtly wrong, and none of it is the product the team actually wanted to build.
The approach
What I built
Agentdock is a small layer between the agent and the interface. The agent does the thinking. Agentdock turns its output into one shared set of events, such as run started, tool called, message streaming and approval needed, and carries them to the client with slow connections, cancellation and clean-up already handled.
It deliberately does not become another agent framework. Models, tools and checkpoints stay in LangGraph. Sign-in, requests, conversation IDs and hosting stay in your application. That keeps it to a few lines in a route you already have, instead of a new system to learn.
On the front end, Agentdock UI is a set of chat components that are copied into your app as code you own: messages, tool steps, approvals, saved conversations and file uploads. Connecting them to the agent is the part teams usually dread, so it is written down as a guide for coding agents. Tell your coding agent what you want, and it adds the chat, builds the connection to your backend and fits it to your app.
Features
What it does
One event stream
Every step of a run becomes the same typed event, whether it goes to a Node server, a standard Web Response or a React app.
Approvals and resume
When an agent wants to do something that needs a person, the run pauses. Approve or decline, and it picks up exactly where it stopped.
Custom chat UI
Agentdock UI adds a full chat interface with one command: streaming replies, Markdown, tool steps, approvals, saved conversations and file uploads. It is your code, so it can look exactly like your product.
Saved conversations
An optional package keeps conversation threads and transcripts, so people can come back to a chat and carry on.
Fits your stack
Built for TypeScript, Node.js and React, with Tailwind CSS and shadcn-style tokens for the interface. Keep the model and tools you already use.
Ask your agent, it builds it
No hand-wiring between front end and back end. Paste the Agentdock brief into your coding agent: it reads the guide, asks about your app, then builds the chat and connects it to your agent's backend.
A closer look
Screenshots





Engineering
Decisions that shaped it
Not another agent framework
The hardest decision was what to leave out. Agentdock never runs the model or owns the tools, so it works with the agent a team already has instead of asking them to rewrite it.
One contract for every client
The events live in their own small package, shared by the server, the React UI and anything else that wants to listen, so every client reads a run the same way.
Streaming that cleans up after itself
Slow readers, closed tabs and cancelled runs are handled in the core, so a dropped connection stops the work instead of leaving it running in the background.
UI you own, not a black box
The chat components are copied into your app as source rather than locked inside a dependency, so a team can restyle or change any part without waiting on a release.
Today
Where it is now
Open source, MIT licence
Agentdock is open source under the MIT licence and published on npm, with documentation, a starter app and the React UI alongside the core on GitHub.
I build and maintain it.