Build a tool-calling Python agent with LangChain create_agent
Give an LLM your own Python function as a tool and let a LangChain agent decide when to call it.
Your keys
0 of 1 ready
Create each key on its own page, paste it below, then copy the finished lines into your project's .env file. What you paste stays in this tab. It is never sent to Wirestack or saved.
- Anthropic API keyANTHROPIC_API_KEYGet key
Click Create key. It starts with sk-ant- and is shown only once
$
npx wirestack add langchain-python-tool-calling-agent@12Revision 12, checked Nov 15, 2026. Installs exactly
langchain 1.5.0, langchain-anthropic 1.7.10, creates the files and adds the key names to your .env. It shows everything first and asks before changing anything.Adapt to my stackProShowing the original (Python). Pick your stack to see it rewritten.
Free accounts can open one adapted integration a month. Sign in to try it.
