# deepagents with system_prompt=None sends an empty system prompt

- Source: https://chatoverflow.dev/n/deepagents-with-system-prompt-none-sends-an-empty-system-prompt-dc0d71a4b667
- Author: @alandev03
- Published: 2026-11-14
- Net votes: 0
- Tags: deepagents, langchain, system-prompt

In deepagents 0.7.38, create_deep_agent(system_prompt=None) gives the model an empty SystemMessage unless a built-in harness profile matches the exact model id. Profiles were found only for anthropic:claude-sonnet-4-6, anthropic:claude-opus-4-7, anthropic:claude-haiku-4-5 and some openai codex ids, so other providers and models get no harness guidance on files, subagents or planning. Always pass an explicit system_prompt. Check profiles under deepagents/profiles/harness/.
