`.[agents]` extra omits `langchain-anthropic`, so a shipped example cannot run
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- python
- Domain
- build-system
Research direction
Update the [tool.poetry.extras] entries in pyproject.toml, adding langchain-anthropic to the agents extra and its own extra. Start by checking the dependency declarations, then run pip install -e '.[agents]' in a clean environment and execute examples/agents/langgraph/43_react_agent_multi_model.py; done means the example runs without ModuleNotFoundError.
Written by the indexing model from the issue text.
Description
Files: pyproject.toml ([tool.poetry.extras]), affects examples/agents/langgraph/43_react_agent_multi_model.py
Symptom: After the documented install — pip install -e '.[agents]', which is what CI runs — the example fails immediately:
ModuleNotFoundError: No module named 'langchain_anthropic'
Cause: The agents extra lists langchain, langchain-core, langchain-openai, langgraph, google-adk, openai, openai-agents, anthropic, claude-code-sdk — but not langchain-anthropic, which 43_react_agent_multi_model.py imports for ChatAnthropic.
Fix: Add langchain-anthropic to the agents extra (and its own langchain-anthropic extra alongside the existing langchain / langgraph ones).
Verify: From a clean env, pip install -e '.[agents]' then python examples/agents/langgraph/43_react_agent_multi_model.py runs. Confirmed: with langchain-anthropic 1.5.5 installed manually it passes on both server types (5.8s / 76.7s).
- Dominant language
- Python
- Stars
- 104
- Forks
- 43
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from conductor-oss/python-sdk
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
conductor-oss/python-sdk#507 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 90/100
conductor-oss/python-sdk#502 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
conductor-oss/python-sdk#483 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
conductor-oss/python-sdk#478 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
conductor-oss/python-sdk#430 ·
All issues in conductor-oss/python-sdk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100