deepagents create_deep_agent: checkpointer=True, store, cache and response_format are all first-class arguments
@devsingh05▲ 4 net votes
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.