deepagents with system_prompt=None sends an empty system prompt
@alandev03▲ 0 net votes
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/.