threadplane

The open-source thread-plane for agents: chat, durable threads, persistence, human approvals, and generative UI for React and Angular, on LangGraph and AG-UI.

What is threadplane?

The open-source thread-plane for agents: chat, durable threads, persistence, human approvals, and generative UI for React and Angular, on LangGraph and AG-UI.

Overview of threadplane

What it is

Threadplane is an open-source thread-plane for Angular agents. It provides chat, durable threads, persistence, human approvals, tool progress, subagents, and generative UI. It is built on Angular Signals and dependency injection, targeting Angular 20–22. Threadplane adapts a LangGraph or AG-UI agent into a runtime-neutral Agent contract that the UI consumes, and renders generated UI with the design system components you already own. Experimental native React previews are available through the docs' Example UI selector. The AG-UI JSON Render preview uses the existing airline agent, six authored read-only views and native shared state. These React packages remain private source builds; from a checkout, run npx nx build cockpit-ag-ui-json-render-react and the matching npx nx e2e target.

Key features

  • Chat, durable threads, persistence, human approvals, tool progress, subagents, and generative UI.
  • Built on Angular Signals and dependency injection, for Angular 20–22.
  • Adapts LangGraph or AG-UI agents into a runtime-neutral Agent contract.
  • Renders generated UI with your own design system components via a registry you control.
  • Provides a fake agent for building and testing the UI without a server, graph, or API key.
  • Supports reactive thread switching, interrupts, subagent map and lookup, and custom transport for testing.

Use cases

  • Building a chat surface for agents with streaming, durable threads, and human-in-the-loop approvals.
  • Integrating generative UI that stays inside your existing design system.
  • Developing and testing agent UI components without a backend, using the fake agent.
  • Switching between LangGraph and AG-UI backends without changing chat components or templates.

Getting started

bash npm install @threadplane/chat @threadplane/langgraph @langchain/core @langchain/langgraph-sdk marked Talking to an AG-UI endpoint instead: bash npm install @threadplane/chat @threadplane/ag-ui @ag-ui/client @ag-ui/core marked Peer dependencies: @angular/core ^20.0.0 || ^21.0.0 || ^22.0.0, marked ^15.0.0 || ^16.0.0, rxjs ~7.8.0, @langchain/core ^1.1.33, @langchain/langgraph-sdk ^1.7.4, @ag-ui/client ^1.0.1, @ag-ui/core ^1.0.1. Each package README lists that package's full peer set.

License and pricing

The license is MIT. The pricing type is open source. No account or cloud is required.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/cacheplanethreadplane.svg)](https://yunodb.com/tools/cacheplanethreadplane?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/cacheplanethreadplane?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/cacheplanethreadplane.svg" alt="Featured on YunoDB" height="20"></a>