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, assistant id, and thread persistence wiring.
Use 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
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