Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
AI and LLM engineering
/
LangChain
When is create_agent a better fit than a fixed runnable sequence?
from LangChain
LangChain 1.4.0
intermediate
1 min
When is create_agent a better fit than a fixed runnable sequence?
When the model must choose tools or decide how many steps to take
Whenever two deterministic string transformations are composed
Whenever application code needs an if statement
Check
Ask AI about this kata
Report an error
previous kata
Two RunnableBranch predicates both match an input. Which branch runs?
Quiz
next kata
What does this runnable sequence print?
Predict the output
A new version is available
Reload