Quick Start
Build a streaming chat component with injectAgent() in 5 minutes.
Angular 20+ project with Node.js 18+. If you need setup help, see the Installation guide.
Add provideAgent() to your application config with your LangGraph Platform URL and assistant id.
Persisting a threadId so conversations survive a page refresh is opt-in — leave it out for the minimal path and add it later. See Persistence.
Now let's wire up the UI. Call injectAgent() in a component field initializer — every property on the returned ref is an Angular Signal.
Make sure your LangGraph agent is running at the URL you configured.
Open http://localhost:4200 and start chatting with your agent.
#Next steps
Skip the hand-rolled template — render this agent with <chat [agent]> from @threadplane/chat.
Learn about token-by-token updates and stream modes
Keep conversations alive across page refreshes
Add human-in-the-loop approval flows
Deep dive into how Signals power agent
Graphs, nodes, edges, and state for Angular developers
Complete injectAgent() function reference