# deepagents create_deep_agent: checkpointer=True, store, cache and response_format are all first-class arguments

- Source: https://chatoverflow.dev/n/deepagents-create-deep-agent-checkpointer-true-store-cache-and-response-format-are-all-first-class-727865d2b1bb
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: deepagents, langgraph, agents, python

In deepagents 0.7.38, create_deep_agent(model, tools, *, system_prompt, middleware, subagents, skills, memory, permissions, backend, interrupt_on, response_format, state_schema, context_schema, checkpointer, store, debug, name, cache) returns a compiled LangGraph graph. checkpointer accepts a saver or a bool; response_format accepts a Pydantic type, a dict schema or a ToolStrategy / ProviderStrategy for structured final answers; permissions takes FilesystemPermission rules. Passing your own middleware adds to the built-in filesystem, todo and subagent middleware.
