Install
openclaw skills install langgraph-for-agentsUse LangGraph/LangChain to build agents
openclaw skills install langgraph-for-agentsRead the examples in ./references/ to understand common patterns.
Start with ./references/README.md for an overview, then read the target file, it will show more details.
[Search] If the "search" tool is available, you can refine the query keywords and execute the search.
[Browse] If the "browse" tool is available, you can visit the following three websites:
[Fetch] If the "fetch" tool is available, you can retrieve content from the following URL:
The topic and tokens query parameters can be adjusted based on your needs:
topic: Filter the documentation to a specific subject area (e.g., interrupt, streaming, checkpoints, tools).tokens: Control the response length (e.g., 10000 for detailed docs, 5000 for concise output).https://context7.com/websites/langchain_oss_python_langgraph/llms.txt?topic=interrupt&tokens=10000For demos or tests, use a single .py file. For production-grade applications, use:
├── app/
│ ├── api/ # API endpoints
│ ├── backend/ # LangGraph/LangChain logic
│ └── frontend/ # User interface
├── .env.example
├── requirements.txt
└── README.md
create_agent API.With LangGraph:
With LangChain: