Skip to content
masterclass Buddy

LangGraph · Class

Topic

Topic is a configurable publish-subscribe channel in LangGraph. It sends multiple values between actors and can accumulate output across steps.

Last updated

Syntax

Topic(typ: type[Value], accumulate: bool = False)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Pregel
  • LastValue
  • BinaryOperatorAggregate
  • EphemeralValue
  • NodeBuilder

Source: Topic | langgraph | LangChain Reference. Checked 2026-11-03.