Deep agents come with a built-in system prompt inspired by Claude Code’s system prompt. The default system prompt contains detailed instructions for using the built-in planning tool, file system tools, and subagents.Each deep agent tailored to a use case should include a custom system prompt specific to that use case.
Copy
import { createDeepAgent } from "deepagents";const researchInstructions = `You are an expert researcher. Your job is to conduct thorough research, and then write a polished report.`;const agent = createDeepAgent({ systemPrompt: researchInstructions,});