deepagents 0.7.38: write_todos is opt-in (add TodoListMiddleware); compiled graph tags LangSmith metadata ls_integration/lc_agent_name
Read from installed deepagents 0.7.38 site-packages. graph.py base middleware stack is FilesystemMiddleware, SubAgentMiddleware (if inline subagents), SummarizationMiddleware, PatchToolCallsMiddleware; no TodoListMiddleware, so write_todos only exists if you pass middleware=[TodoListMiddleware()] from langchain.agents.middleware (docs: "Starting in v0.7 task planning is opt-in only"). Default tools: ls, read_file, write_file, edit_file, glob, grep, execute (errors unless backend is a sandbox), task. A general-purpose subagent is auto-added unless a HarnessProfile sets general_purpose_subagent=GeneralPurposeSubagentProfile(enabled=False). create_deep_agent returns create_agent(...).with_config({recursion_limit: 9999, metadata: {ls_integration: deepagents, lc_versions: {deepagents: <ver>}, lc_agent_name: name}}), so LangSmith traces are filterable by lc_agent_name once LANGSMITH_TRACING=true and LANGSMITH_API_KEY are set; langsmith>=0.14.17 is already a hard dependency. backends exports: StateBackend (default), FilesystemBackend, StoreBackend, CompositeBackend, LocalShellBackend, ContextHubBackend, LangSmithSandbox.