René's URL Explorer Experiment


Title: config | deepagents_code | LangChain Reference

Open Graph Title: config | deepagents_code

X Title: config | deepagents_code

Description: Python API reference for config in deepagents_code. Part of the LangChain ecosystem.

Open Graph Description: Python API reference for config in deepagents_code. Part of the LangChain ecosystem.

X Description: Python API reference for config in deepagents_code. Part of the LangChain ecosystem.

Opengraph URL: https://reference.langchain.com/python/deepagents-code/config

direct link

Domain: reference.langchain.com

og:imagehttps://reference.langchain.com/og/python/deepagents-code/config
og:image:width1200
og:image:height630
og:image:altconfig | deepagents_code
og:typearticle
twitter:cardsummary_large_image
twitter:imagehttps://reference.langchain.com/og/python/deepagents-code/config

Links:

LangChain Reference home pagehttps://reference.langchain.com/
GitHubhttps://github.com/langchain-ai
Main Docshttps://docs.langchain.com/oss/python/deepagents
Deep Agentshttps://reference.langchain.com/python/deepagents
LangChainhttps://reference.langchain.com/python/langchain/overview
LangGraphhttps://reference.langchain.com/python/langgraph/overview
Integrationshttps://reference.langchain.com/python/integrations/overview
LangSmithhttps://reference.langchain.com/python/langsmith
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
Deep Agents Codehttps://reference.langchain.com/python/deepagents-code
deepagents-codehttps://reference.langchain.com/python/deepagents-code
attributeDISABLED_PROJECT_MCP_SERVERS: strComma-separated project MCP server names to always reject by name. A user-level equivalent of [mcp].disabled_project_servers. Rejection wins over approval: a name listed here is dropped even when it also appears in ENABLED_PROJECT_MCP_SERVERS (or [mcp].enabled_project_servers) and even when the project config is otherwise trusted. Unlike the enabled list, this env var unions with (rather than replaces) [mcp].disabled_project_servers — denies accumulate across sources, so neither can silently empty a deny set in the other. This is process env the user controls, not a repo file, so it does not weaken the user-level-only trust boundary: a committed project .env is blocked from setting it (see config._PROJECT_DOTENV_DENIED_ENV_KEYS); only the user's shell, launch env, or global ~/.deepagents/.env can.https://reference.langchain.com/python/deepagents-code/_env_vars/DISABLED_PROJECT_MCP_SERVERS
attributeENABLED_PROJECT_MCP_SERVERS: strComma-separated project MCP server names to pre-approve by name. A user-level equivalent of [mcp].enabled_project_servers. Servers named here load from an otherwise-untrusted project .mcp.json without prompting (they are omitted from the interactive approval prompt), while non-listed servers stay dropped. Like DISABLED_PROJECT_MCP_SERVERS, this is user-controlled process env, not a repo file, so it does not weaken the user-level-only trust boundary (a committed project .env cannot set it; see config._PROJECT_DOTENV_DENIED_ENV_KEYS). This contract is name-based: a project command or URL change under the same server name still matches. When set, this replaces (takes precedence over) the [mcp].enabled_project_servers TOML list. (DISABLED_PROJECT_MCP_SERVERS instead unions with its TOML list, so a deny is never silently emptied.)https://reference.langchain.com/python/deepagents-code/_env_vars/ENABLED_PROJECT_MCP_SERVERS
attributeHIDE_SPLASH_VERSION: strHide version and local-install details in the splash screen when enabled.https://reference.langchain.com/python/deepagents-code/_env_vars/HIDE_SPLASH_VERSION
attributeINTERPRETER_ENABLE_DEFAULT: boolhttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_ENABLE_DEFAULT
attributeINTERPRETER_MAX_PTC_CALLS_DEFAULT: inthttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_MAX_PTC_CALLS_DEFAULT
attributeINTERPRETER_MAX_RESULT_CHARS_DEFAULT: inthttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_MAX_RESULT_CHARS_DEFAULT
attributeINTERPRETER_MEMORY_LIMIT_MB_DEFAULT: inthttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_MEMORY_LIMIT_MB_DEFAULT
attributeINTERPRETER_PTC_ACKNOWLEDGE_UNSAFE_DEFAULT: boolhttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_PTC_ACKNOWLEDGE_UNSAFE_DEFAULT
attributeINTERPRETER_PTC_DEFAULT: str | bool | list[str]https://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_PTC_DEFAULT
attributeINTERPRETER_TIMEOUT_SECONDS_DEFAULT: floathttps://reference.langchain.com/python/deepagents-code/config_manifest/INTERPRETER_TIMEOUT_SECONDS_DEFAULT
attributeloggerhttps://reference.langchain.com/python/deepagents-code/config/logger
attributeLANGSMITH_US_ENDPOINT: strCanonical LangSmith SaaS endpoint for the US region (the SDK default).https://reference.langchain.com/python/deepagents-code/config/LANGSMITH_US_ENDPOINT
attributeLANGSMITH_EU_ENDPOINT: strCanonical LangSmith SaaS endpoint for the EU region.https://reference.langchain.com/python/deepagents-code/config/LANGSMITH_EU_ENDPOINT
attributesettings: Settingshttps://reference.langchain.com/python/deepagents-code/config/settings
attributeconsole: Consolehttps://reference.langchain.com/python/deepagents-code/config/console
attributeMODE_PREFIXES: dict[str, str]Maps each non-normal mode to its trigger character.https://reference.langchain.com/python/deepagents-code/config/MODE_PREFIXES
attributeMODE_DISPLAY_GLYPHS: dict[str, str]Maps each non-normal mode to its display glyph shown in the prompt/UI.https://reference.langchain.com/python/deepagents-code/config/MODE_DISPLAY_GLYPHS
attributemsg: strhttps://reference.langchain.com/python/deepagents-code/config/msg
attributeUNICODE_GLYPHSGlyph set for terminals with full Unicode support.https://reference.langchain.com/python/deepagents-code/config/UNICODE_GLYPHS
attributeASCII_GLYPHSGlyph set for terminals limited to 7-bit ASCII.https://reference.langchain.com/python/deepagents-code/config/ASCII_GLYPHS
attributeMAX_ARG_LENGTH: intCharacter limit for tool argument values in the UI. Longer values are truncated with an ellipsis by truncate_value in tool_display.https://reference.langchain.com/python/deepagents-code/config/MAX_ARG_LENGTH
attributeconfig: RunnableConfigDefault LangGraph runnable config. Sets recursion_limit to 1000 to accommodate deeply nested agent graphs without hitting the default LangGraph ceiling.https://reference.langchain.com/python/deepagents-code/config/config
attributeCODING_AGENT_KIND: strFixed ls_agent_kind literal identifying the coding-agent trace class.https://reference.langchain.com/python/deepagents-code/config/CODING_AGENT_KIND
attributeCODING_AGENT_INTEGRATION: strStable ls_integration id for this plugin (unchanged for backward-compat).https://reference.langchain.com/python/deepagents-code/config/CODING_AGENT_INTEGRATION
attributeCODING_AGENT_RUNTIME: strUser-facing ls_agent_runtime name.https://reference.langchain.com/python/deepagents-code/config/CODING_AGENT_RUNTIME
attributeCODING_AGENT_TRACE_SCHEMA_VERSION: strVersion of the coding-agent trace-metadata contract this build emits.https://reference.langchain.com/python/deepagents-code/config/CODING_AGENT_TRACE_SCHEMA_VERSION
attributeSHELL_ALLOW_ALL: list[str]Sentinel value returned by parse_shell_allow_list for --shell-allow-list=all.https://reference.langchain.com/python/deepagents-code/config/SHELL_ALLOW_ALL
attributeINTERPRETER_PTC_SAFE_PRESET: frozenset[str]Strictly read-only PTC allowlist for interpreter_ptc="safe". Limited to tools that are not in _add_interrupt_on() to begin with, so exposing them through PTC does not introduce a new HITL bypass. Network tools (web_search, fetch_url), subagent dispatch (task), shell execution (execute), and file writes (write_file, edit_file, MCP write tools) are deliberately excluded — they are HITL-gated outside the REPL, and PTC bypasses interrupt_on, so including them would silently escalate privileges. Users who need network or subagent access from inside the REPL must list those tools explicitly (which signals intent at config time) or use interpreter_ptc="all" with the unsafe acknowledgement.https://reference.langchain.com/python/deepagents-code/config/INTERPRETER_PTC_SAFE_PRESET
attributeINTERPRETER_PTC_ALL_SENTINEL: strSentinel string for interpreter_ptc="all" — resolved at agent-build time from the live tool list. Requires interpreter_ptc_acknowledge_unsafe=True when auto_approve is False.https://reference.langchain.com/python/deepagents-code/config/INTERPRETER_PTC_ALL_SENTINEL
attributeINTERPRETER_PTC_SAFE_SENTINEL: strSentinel string for interpreter_ptc="safe" — expanded from INTERPRETER_PTC_SAFE_PRESET.https://reference.langchain.com/python/deepagents-code/config/INTERPRETER_PTC_SAFE_SENTINEL
attributeCLI_MAX_RETRIES_KEY: strInternal carrier key for the --max-retries CLI flag. cli_main stashes the flag value under this key in the model_params dict it forwards to the run, and create_model pops it before constructing the model. This lets the CLI value ride the existing model_params/extra_kwargs carrier to the one place that authoritatively resolves the provider, where it can be folded under the provider's resolved retry-param name (see _resolve_retry_param_name) rather than a hardcoded max_retries. The key is internal-only: it is popped before reaching any model constructor and is never serialized or surfaced to users. It is deliberately unlikely to collide with a real constructor kwarg name.https://reference.langchain.com/python/deepagents-code/config/CLI_MAX_RETRIES_KEY
attributeDANGEROUS_SHELL_PATTERNSLiteral substrings that indicate shell injection risk. Used by contains_dangerous_patterns to reject commands that embed arbitrary execution via redirects, substitution operators, or control characters — even when the base command is on the allow-list.https://reference.langchain.com/python/deepagents-code/config/DANGEROUS_SHELL_PATTERNS
attributeRECOMMENDED_SAFE_SHELL_COMMANDSRead-only commands auto-approved in non-interactive mode. Only includes readers and formatters — shells, editors, interpreters, package managers, network tools, archivers, and anything on GTFOBins/LOOBins is intentionally excluded. File-write and injection vectors are blocked separately by DANGEROUS_SHELL_PATTERNS.https://reference.langchain.com/python/deepagents-code/config/RECOMMENDED_SAFE_SHELL_COMMANDS
functionis_env_truthyReturn whether env var name is set to a recognizably truthy value. Unlike bool(os.environ.get(name)), this does not treat "0" or "false" as enabled. Use this for on/off flags where the user would reasonably expect VAR=0 to mean "disabled".https://reference.langchain.com/python/deepagents-code/_env_vars/is_env_truthy
functionresolve_git_branchResolve the current git branch with a filesystem-first strategy.https://reference.langchain.com/python/deepagents-code/_git/resolve_git_branch
functionnormalize_langsmith_endpointResolve a LangSmith endpoint shorthand to its canonical URL. Maps the case-insensitive region aliases us/eu to the LangSmith SaaS endpoints so the CLI --base-url flag and the TUI /auth prompt share one decode. Any other non-empty value is returned stripped and unchanged (a self-hosted or proxied URL); empty input returns an empty string.https://reference.langchain.com/python/deepagents-code/config/normalize_langsmith_endpoint
functionis_http_urlReturn whether value is a non-empty http/https URL with a host. Guards the LangSmith endpoint so a stored API key is never paired with a non-HTTP, malformed, or schemeless value that could route trace ingestion (and the key) somewhere unintended.https://reference.langchain.com/python/deepagents-code/config/is_http_url
functionconsume_orphaned_tracing_disabled_noticeReturn and clear the pending orphaned-tracing notice, if any.https://reference.langchain.com/python/deepagents-code/config/consume_orphaned_tracing_disabled_notice
functionrestore_user_tracing_envRestore caller tracing flags in an environment passed to user code.https://reference.langchain.com/python/deepagents-code/config/restore_user_tracing_env
functionrestore_user_tracing_api_keysRestore caller tracing API keys in an environment passed to user code. Reverts both bootstrap overwrites of the canonical LangSmith key — the DEEPAGENTS_CODE_-prefixed override and the /auth-stored key — so shell subprocesses receive the caller's own key rather than the agent's session key. See original_tracing_api_keys for the rationale; this mirrors restore_user_tracing_env, which does the same for tracing flags.https://reference.langchain.com/python/deepagents-code/config/restore_user_tracing_api_keys
functionapply_stored_langsmith_authApply a /auth-stored LangSmith key, tracing, and redaction now.https://reference.langchain.com/python/deepagents-code/config/apply_stored_langsmith_auth
functiondetect_mode_prefixReturn the longest mode prefix and mode for text, if any. Longer prefixes win so multi-character triggers like !! are matched before their single-character prefixes (!).https://reference.langchain.com/python/deepagents-code/config/detect_mode_prefix
functionget_glyphsGet the glyph set for the current charset mode.https://reference.langchain.com/python/deepagents-code/config/get_glyphs
functionreset_glyphs_cacheReset the glyphs and charset-mode caches (for testing).https://reference.langchain.com/python/deepagents-code/config/reset_glyphs_cache
functionis_ascii_modeCheck whether the terminal is in ASCII charset mode. Convenience wrapper so widgets can branch on charset without importing both _detect_charset_mode and CharsetMode.https://reference.langchain.com/python/deepagents-code/config/is_ascii_mode
functionnewline_shortcutReturn the terminal-appropriate label for the newline keyboard shortcut. Prefers Shift+Enter when the terminal is known to support the kitty keyboard protocol, either via conservative terminal-identity heuristics or the DEEPAGENTS_CODE_KITTY_KEYBOARD override. Falls back to Option+Enter on macOS and Ctrl+J elsewhere — both survive legacy terminals that strip the shift modifier from Enter.https://reference.langchain.com/python/deepagents-code/config/newline_shortcut
functionget_bannerGet the appropriate banner for the current charset mode.https://reference.langchain.com/python/deepagents-code/config/get_banner
functionbuild_coding_agent_metadataBuild the shared coding-agent-v1 trace-metadata block. Implements the coding-agent-v1 contract (LSEN-277) for Deep Agents Code: one helper that stamps the identity block, plugin/runtime versions, turn markers, and repo/git/cwd attribution. The seven identity/version keys and thread_id are always present; the optional keys whose value is unknown are omitted (per the contract), so callers can pass None for any of them. Because Deep Agents Code is itself the runtime — there is no separate CLI package — ls_integration_version and ls_agent_runtime_version both come from the deepagents-code package version (__version__). The underlying deepagents SDK version is surfaced separately as dcode_client_deepagents_version by build_stream_config. Scope-restricted contract keys are intentionally NOT produced here: approval_policy (root/interrupted only) and ls_subagent_id / ls_subagent_type (subagent only). This metadata propagates trace-wide through the LangGraph stream config (and, for subagents, the per-key config merge of langgraph#7926 / deepagents#3634), so any key placed here lands on every descendant run. Emitting a run-type-scoped key would therefore leak it onto run types outside its contract appliesTo set — a hard validator failure — and the LangGraph runtime exposes no clean per-run-type metadata seam to scope them. See build_stream_config for the full rationale.https://reference.langchain.com/python/deepagents-code/config/build_coding_agent_metadata
functionbuild_stream_configBuild the LangGraph stream config dict. Stamps the shared coding-agent-v1 trace-metadata contract (LSEN-277) via build_coding_agent_metadata — identity block, plugin/runtime versions, turn markers, and repo/git/cwd attribution — onto metadata. Metadata set here propagates trace-wide to every run in the graph (root, llm, tool, and subagent subgraphs), which is exactly what the contract's "always" and "where-known" keys require, so the helper output is stamped once here. Scope-restricted contract keys are deliberately not emitted. approval_policy (root/interrupted only) and ls_subagent_id / ls_subagent_type (subagent only) cannot live in this trace-wide metadata: LangGraph propagates each key to all descendant runs (per-key config merge, langgraph#7926 / deepagents#3634), so they would leak onto run types outside their contract appliesTo set and fail validation. This runtime exposes no clean per-run-type metadata seam to scope them, so they are omitted by design rather than leaked. (Subagent runs still inherit the parent/root thread_id and all required keys, satisfying the contract's grouping rule.) Also injects the dcode version into metadata["lc_versions"] so LangSmith traces can be correlated with specific releases. create_deep_agent supplies the SDK version through the compiled graph config, and LangChain merges nested metadata dictionaries so both versions survive at stream time. Also records dcode_client_deepagents_version as a dcode-client diagnostic. This describes the Deep Agents package installed alongside the TUI, which can differ from a remote graph's Deep Agents runtime version.https://reference.langchain.com/python/deepagents-code/config/build_stream_config
functionparse_shell_allow_listParse shell allow-list from string.https://reference.langchain.com/python/deepagents-code/config/parse_shell_allow_list
functioncontains_dangerous_patternsCheck if a command contains dangerous shell patterns. These patterns can be used to bypass allow-list validation by embedding arbitrary commands within seemingly safe commands. The check includes both literal substring patterns (redirects, substitution operators, etc.) and regex patterns for bare variable expansion ($VAR) and the background operator (&).https://reference.langchain.com/python/deepagents-code/config/contains_dangerous_patterns
functionis_shell_command_allowedCheck if a shell command is in the allow-list. The allow-list matches against the first token of the command (the executable name). This allows read-only commands like ls, cat, grep, etc. to be auto-approved. When allow_list is the SHELL_ALLOW_ALL sentinel, all non-empty commands are approved unconditionally — dangerous pattern checks are skipped. SECURITY: For regular allow-lists, this function rejects commands containing dangerous shell patterns (command substitution, redirects, process substitution, etc.) BEFORE parsing, to prevent injection attacks that could bypass the allow-list.https://reference.langchain.com/python/deepagents-code/config/is_shell_command_allowed
functionget_langsmith_project_nameResolve the LangSmith project name if tracing is configured. Checks for the required API key and tracing environment variables. When both are present, resolves the project name with priority: settings.deepagents_langchain_project (from DEEPAGENTS_CODE_LANGSMITH_PROJECT), then LANGSMITH_PROJECT from the environment (note: this may already have been overridden at bootstrap time to match DEEPAGENTS_CODE_LANGSMITH_PROJECT), then 'deepagents-code'.https://reference.langchain.com/python/deepagents-code/config/get_langsmith_project_name
functionis_langsmith_redaction_enabledReturn whether LangSmith secret redaction is enabled for agent traces.https://reference.langchain.com/python/deepagents-code/config/is_langsmith_redaction_enabled
functionconfigure_langsmith_secret_redactionInstall the LangSmith SDK secret anonymizer for active agent tracing. This is a fail-closed security control: when redaction is requested but the redacting client cannot be installed, tracing is disabled rather than risk uploading unredacted secrets to LangSmith.https://reference.langchain.com/python/deepagents-code/config/configure_langsmith_secret_redaction
functionget_langsmith_replica_projectsExtra LangSmith project names to dual-write agent traces to. Parses DEEPAGENTS_CODE_LANGSMITH_REPLICA_PROJECTS (comma-separated) into a de-duplicated, order-preserving list.https://reference.langchain.com/python/deepagents-code/config/get_langsmith_replica_projects
functionget_langsmith_replica_projectThe single extra LangSmith project to mirror agent runs to, if configured. dcode agent runs execute inside the LangGraph server subprocess, so the only way to mirror them to another project is the server's own replica path: the SDK forwards a langsmith_tracing project in the run-create request, and the server wraps the run in a tracing_context whose write replicas are that project plus the server's primary project. Client-side callbacks and tracing_context(replicas=...) cannot reach the run because it is created server-side, not in the app process. Implementation detail (subject to change): as of langgraph-api 0.10.0 this happens in langgraph_api.stream and langgraph_api.models.run. The server mirrors to exactly one extra project, so when DEEPAGENTS_CODE_LANGSMITH_REPLICA_PROJECTS lists several, only the first is used and the rest are dropped with a warning.https://reference.langchain.com/python/deepagents-code/config/get_langsmith_replica_project
functionget_tracing_statusSummarize LangSmith tracing configuration for diagnostics. Reads only the local environment and the active LangSmith profile; never contacts the network and never exposes secret values. All fields are resolved prefix-/profile-aware so the report matches what the runtime does after bootstrap, even though dcode doctor runs before it.https://reference.langchain.com/python/deepagents-code/config/get_tracing_status
functionfetch_langsmith_project_url_or_raiseFetch the LangSmith project URL, raising on any failure. Successful results are cached at module level so repeated calls do not make additional network requests. The network call runs in a daemon thread with a hard timeout of _LANGSMITH_URL_LOOKUP_TIMEOUT_SECONDS, so this function blocks the calling thread for at most that duration even if LangSmith is unreachable.https://reference.langchain.com/python/deepagents-code/config/fetch_langsmith_project_url_or_raise
functionfetch_langsmith_project_urlFetch the LangSmith project URL, returning None on any failure. Thin back-compat wrapper around fetch_langsmith_project_url_or_raise for passive callers (status banners, non-interactive output) that just want a URL-or-nothing answer. Interactive callers that need to tell the user why the lookup failed should use the raising variant directly.https://reference.langchain.com/python/deepagents-code/config/fetch_langsmith_project_url
functionbuild_langsmith_thread_urlBuild a full LangSmith thread URL if tracing is configured. Combines get_langsmith_project_name and fetch_langsmith_project_url into a single convenience helper.https://reference.langchain.com/python/deepagents-code/config/build_langsmith_thread_url
functionreset_langsmith_url_cacheReset the LangSmith URL cache (for testing).https://reference.langchain.com/python/deepagents-code/config/reset_langsmith_url_cache
functionget_default_coding_instructionsGet the default coding agent instructions. These are the immutable base instructions that cannot be modified by the agent. Long-term memory (AGENTS.md) is handled separately by the middleware.https://reference.langchain.com/python/deepagents-code/config/get_default_coding_instructions
functiondetect_providerAuto-detect provider from model name. Intentionally duplicates a subset of LangChain's _attempt_infer_model_provider because we need to resolve the provider before calling init_chat_model in order to: Build provider-specific kwargs (API base URLs, headers, etc.) that are passed into init_chat_model. Validate credentials early to surface user-friendly errors. https://reference.langchain.com/python/deepagents-code/config/detect_provider
functioncreate_modelCreate a chat model. Uses init_chat_model for standard providers, or imports a custom BaseChatModel subclass when the provider has a class_path in config. Supports provider:model format (e.g., 'openai:gpt-5.5') for explicit provider selection, or bare model names for auto-detection.https://reference.langchain.com/python/deepagents-code/config/create_model
functionvalidate_model_capabilitiesValidate that the model has required capabilities for deepagents. Checks the model's profile (if available) to ensure it supports tool calling, which is required for agent functionality. Issues warnings for models without profiles or with limited context windows.https://reference.langchain.com/python/deepagents-code/config/validate_model_capabilities
classRepositoryMetadataParsed origin remote attribution for coding-agent-v1 traces. A NamedTuple so callers can still unpack positionally or index, while the field names keep the slot order from being load-bearing at every call site.https://reference.langchain.com/python/deepagents-code/_git/RepositoryMetadata
classCharsetModeCharacter set mode for TUI display.https://reference.langchain.com/python/deepagents-code/config/CharsetMode
classGlyphsCharacter glyphs for TUI display.https://reference.langchain.com/python/deepagents-code/config/Glyphs
classSettingsGlobal settings and environment detection for deepagents-code. This class is initialized once at startup and provides access to: Available models and API keys Current project information Tool availability (e.g., Tavily) File system paths https://reference.langchain.com/python/deepagents-code/config/Settings
classTracingStatusOffline snapshot of LangSmith tracing configuration for diagnostics. Carries only presence/identity facts — never API keys or other secret values — so it is safe to render in dcode doctor output.https://reference.langchain.com/python/deepagents-code/config/TracingStatus
classLangSmithLookupErrorBase class for typed LangSmith project URL lookup failures. Concrete subclasses (LangSmithImportError, LangSmithLookupTimeoutError, LangSmithApiError) let interactive callers like /trace show the user the actual cause instead of collapsing every failure into a generic "could not reach LangSmith" message.https://reference.langchain.com/python/deepagents-code/config/LangSmithLookupError
classLangSmithImportErrorThe langsmith package is not installed.https://reference.langchain.com/python/deepagents-code/config/LangSmithImportError
classLangSmithLookupTimeoutErrorThe LangSmith project URL lookup exceeded its hard timeout.https://reference.langchain.com/python/deepagents-code/config/LangSmithLookupTimeoutError
classLangSmithApiErrorThe LangSmith SDK call raised — auth, 404, network, etc. Wraps the underlying SDK exception in __cause__.https://reference.langchain.com/python/deepagents-code/config/LangSmithApiError
classLangSmithProjectNotFoundErrorThe LangSmith project does not exist yet (lookup returned 404). Projects are created lazily on the first ingested trace, so this is expected before any run has flushed and should be surfaced as an informational message rather than an error.https://reference.langchain.com/python/deepagents-code/config/LangSmithProjectNotFoundError
classModelResultResult of creating a chat model, bundling the model with its metadata. This separates model creation from settings mutation so callers can decide when to commit the metadata to global settings.https://reference.langchain.com/python/deepagents-code/config/ModelResult
View source on GitHubhttps://github.com/langchain-ai/deepagents/blob/019900734024a7665fd65bd75235c6307d5da003/libs/code/deepagents_code/config.py

Viewport: width=device-width, initial-scale=1


URLs of crawlers that visited me.