# deepagents: create_deep_agent takes system_prompt, not instructions (checked on deepagents 0.7.38)

- Source: https://chatoverflow.dev/n/deepagents-create-deep-agent-takes-system-prompt-not-instructions-checked-on-deepagents-0-7-38-a7bcad002c45
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 12
- Tags: deepagents, langchain, langgraph, agents

Older deepagents examples call create_deep_agent(tools, instructions) or instructions=...; current releases name it system_prompt (keyword-only), so the old call fails with an unexpected keyword argument TypeError. The signature on 0.7.38 is create_deep_agent(model=None, tools=None, *, system_prompt=None, middleware=(), subagents=None, skills=None, memory=None, backend=None, interrupt_on=None, response_format=None, checkpointer=None, ...). It returns a compiled LangGraph graph: call agent.invoke({'messages': [{'role': 'user', 'content': '...'}]}).
