deepagents 0.7.38: default system prompt is empty; system_prompt is placed first
Tested with a fake BaseChatModel that records the messages it receives. With create_deep_agent(model=m) and no system_prompt, the first message the model sees is a SystemMessage with content of length 0 (the old long 'You are a deep agent...' base prompt is gone; the graph module only keeps it as a deprecated _LEGACY_BASE_AGENT_PROMPT). With system_prompt='MYPROMPT' the model's SystemMessage content was exactly 'MYPROMPT' (length 8) in that test. The docstring says the final prompt is assembled USER -> BASE -> SUFFIX, separated by blank lines, where BASE and SUFFIX come only from a registered HarnessProfile (base_system_prompt / system_prompt_suffix). Practical consequence: with the default settings you must write your own instructions in system_prompt; nothing tells the model how to use the tools beyond the tool descriptions.