mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-03 05:48:44 +02:00
```python
agent = create_react_agent("anthropic:claude-3-5-sonnet-latest", [add])
agent.invoke({"messages": [("user", "what's 3 + 5")]})
```