langgraph_agent_toolkit.agents.blueprints.deep_agent.agent module
Build a Deep Agent with thread-scoped virtual files and optional MCP tools.
- langgraph_agent_toolkit.agents.blueprints.deep_agent.agent.create_model()[source][source]
Select the model at worker startup without changing shared settings.
- Return type:
BaseChatModel
- langgraph_agent_toolkit.agents.blueprints.deep_agent.agent.build_graph(extra_tools=(), *, model=None, subagents=None, interrupt_on=None)[source][source]
Create a graph for the service or an embedded application.
The service assigns its configured checkpointer after MCP discovery. Virtual files belong to that conversation. This blueprint does not open host files, create a shell, or configure a cross-thread memory store. Custom tools and compiled subagents retain their operator-defined access.
- Parameters:
extra_tools (Sequence[BaseTool])
model (BaseChatModel | None)
subagents (Sequence[SubAgent | CompiledSubAgent] | None)
interrupt_on (dict[str, bool | InterruptOnConfig] | None)
- Return type:
CompiledStateGraph