Skip to content

RunnableConfig

RunnableConfig is the optional configuration dictionary passed beside a Runnable’s business input. Common keys include tags, metadata, callbacks, run_name, max_concurrency, recursion_limit, and configurable.

config = {
"run_name": "classify_support_ticket",
"tags": ["support", "production"],
"metadata": {"release": "2026.08.15"},
"max_concurrency": 4,
}
result = chain.invoke({"ticket": "INC-104"}, config=config)

Keep the two channels distinct:

Channel Example Meaning
Input {"ticket": "INC-104"} Data the Runnable processes
Config {"tags": ["support"]} How this run executes or is observed

Tags and metadata can be inherited by child Runnables and sent to tracing systems. Do not place API keys, raw personal data, or authorization decisions in tracing metadata. The configurable field only affects attributes explicitly exposed as configurable.

Runnables and LCEL · batch and abatch · Callbacks and tracing